SNIPPETS
stringlengths
2
1.64k
INTENTS
stringlengths
4
1.66k
find_address:
define find_address label
find_egg:
define find_egg label
find_egg:
declare the find_egg label
find_egg:
define find_egg function
fldpi
push pi onto the fpu stack
fldz \n fstenv [esp-0xc] \n pop edi
obtain the address of the first instruction of the shellcode
format:
define format label
format:
define format routine
format:
declare the format label
formatting:
define formatting label
formatting:
formatting label
formatting:
declare the formatting label
four:
define _four label
four:
declare the four label
fstenv [esp-0xc] \n pop esi
obtain the address of the first instruction of the shellcode alias the entry mem addr of this code (_start) and then pop it in esi
function_1: \n call [esp]
define function_1 and execute it
function_2: \n call [esp]
declare function_2 and execute it
function_3: \n call [esp]
declare function_3 and call it
function_4: \n call [esp]
define function_4 and call it
function_5: \n call [esp]
define function_5 and execute it
fupdisasm:
define fupdisasm function
fupdisasm:
define fupdisasm label
fwait
put cpu into a wait state until the coprocessor signals it has finished itÕs operation
get_key:
define _get_key label
get_shellcode_addr:
get_shellcode_addr function
get:
declare get_label
get:
declare the get label
global _shell
declare _shell as global label
global _start
declare global start
global _start
define global _start
global _start
declare global _start, section .text, _start label
global _start
declare of the global _start
global _start
global _start
global _start
define the program entry point
global _start
declare _start as global label
global _start
declare global _start
global _start \n _start:
declare global start and _start label
global _start \n _start:
declare global _start and _start label
global _start \n _start:
declare global _start, section .text, _start label
global _start \n section .text \n _start:
declare global start, section .text and _start label
global _start \n section .text \n _start:
declare global start, text section and _start label
global _start \n section .text \n _start:
declare global _start, setion .text, _start
global _start \n section .text \n _start:
declare global _start, section .text, _start label
global _start \n section .text \n _start:
declare global _start, section .text and_start label
global _start \n section .text \n \n _start:
declare global _start, section .text, _start label
global _start \n section .text \n egg_sig equ 0x4f904790 \n _start:
declare global _start, section .text, egg_sign = 0x4f904790 and_start label
global _start \n section .text \n sys_execve equ 0x0b \n _start:
declare global _start, section .text, sys_execve = 0x0b and_start label
global _start:
declare the global _start label
global _start:
global _start
google db '127.1.1.1 google.com'
define google as the byte string '127.1.1.1 google.com'
google: db '127.1.1.1 google.com'
define the byte string google and initialize it to '127.1.1.1 google.com'
gotocall:
define _gotocall label
gotocall:
declare the gotocall label
hello: db 'hello world!',10
create a string 'hello world!' plus a linefeed character
hellolen: equ $-hello
define hellolen equal to the length of the hello string
here:
declare the here label
here:
define here label
hlt
halt cpu until reset line is activated
in al,0x10
read the hexadecimal value 0x10 and place it in al register
inc [count]
increment the count variable
inc al
increment the contents of the al register
inc al \n inc al
increment al register of 2
inc ax
add 1 to ax
inc ax
increment ax
inc ax
increment the contents of the ax register
inc bl
increment bl by 1
inc bl
increment bl register by 1
inc bl
increment the contents of the bl register
inc bl \n inc bl
increase bl by 2 so ebx=2
inc bx
increment bx
inc bx
increment the contents of the bx register
inc byte [esp+ecx]
increment the byte at the address [esp+ecx] by one
inc cl
increase cl of 1
inc cl
increase cl by 1 so ecx = 1
inc cl
increment the contents of the cl register
inc cl \n cmp cx \n jle dupcount
increase cl of 1 until the contents of cx is less than or equal to 2 with sign
inc count
increment the memory variable count
inc cx
increment cx by 1
inc dl
save 0x0a into dl to have bad line feed char
inc dl
increment dl
inc dl
increment dl register
inc dl
increment the contents of the dl register
inc dword [tmp]
add one to the doubleword integer stored at memory location tmp
inc dword [value]
add one to the doubleword integer stored at memory location value
inc dword [var]
add one to the doubleword integer stored at location var
inc dx
increment the contents of the dx register
inc dx
increment dx by one
inc eax
increase eax by 1
inc eax
increment eax by 1
inc eax
incement eax register by 1
inc eax
increase eax content by 1
inc eax
increment eax content by 1
inc eax
increment eax
inc eax
increment the address in eax by one byte
inc eax
point to the next byte in eax
inc eax
point to the next byte in the eax register
inc eax
increment the contents of the eax register
inc eax \n cmp dword [eax], ebx \n jne next_addr \n jmp eax
go to next memory address increasing eax, then check if the egg is at that memory address. if yes set zf = 1 and go to eax. else zf = 0 and go to next_addr label
inc eax \n inc eax
point to the next word in the eax register
inc eax \n inc eax
move to the next word in eax