SNIPPETS
stringlengths
2
1.64k
INTENTS
stringlengths
4
1.66k
read:
define read_label
read:
define _read label
read:
declare the read label
reading:
define _reading label
reading:
declare the reading label
real_number1 dd 1234
define the doubleword variable real_number1 and initialize to 1234
real_number2 dd 123456
define the doubleword variable real_number2 and initialize 123456
realarray resq 10
reserve an array of ten reals for realarray
realarray resq 10
reserve array realarray of 10 real numbers
reseting the register
pushing null terminator
ret
transfer control to the previous instruction address saved on stack
ret
return
ret
return the address off the stack and returns control to that location
ret
return to our program
ret
return to the address on the top of the stack
ret
return to where the function was called
ret
return to caller
ret 0x8585
transfer control to the instruction at the adress 0x8585
ret 0xc885
transfer control to the instruction at the adress 0x8585
retry:
define _retry label
retry:
declare retry label
returnlabel:
returnlabel label
rol byte [esi], 0x1
rol decode with 1 offset
rol byte [esi], 0x1
left rotate the byte in esi 1 time
rol byte [esi], 0x1
left rotate the shellcode by one
rol byte [esi], 0x2
left shift all bits of esi 2 times
rol byte [esi], 0x2
left rotate the byte at the address esi by 0x2 bits
rol byte [esi], 0x2
left rotate the byte in esi 2 times
rol byte [esi], 4
execute a rotation to the left of the first character pointed from esi for 4 times
rol byte [esi], 4
rotate 4 bits left the byte starting at the address esi
rol edi, 1
left rotate the contents of the edi register by 1 bit
rol edi, 1
left rotate the edi register 1 time
rol edx, 0x4
left shift all bits of edx 4 times
rol edx, 0x4
left rotate the contents of the edx register by 0x4 bits
rol edx, 0x4
left rotate the edx register 4 times
ror bl, cl
right rotate bl by the contents of cl
ror byte [esi], 0x1
ror decode with 1 offset
ror byte [esi], 0x1
right rotate the byte in esi 1 time
ror byte [esi], 0x1
right rotate the shellcode in esi by one
ror esi, 1
right rotate esi 1 time
ror esi, 1
right rotate the contents of the esi register by 1 bit
rot_decode:
define rot_decode_label
rotate:
declare _rotate label
rotate:
declare the rotate label
S1: db 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73, 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80
S1 is an array of bytes 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73
S2: db 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80
define S2 as the array of bytes 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80
S3: dw 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73, 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80
S3 is an array of words 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73
S4: db 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80
define S4 as the array of words 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80
sar eax, 23
right shift the contents of eax by 23 bits
sar eax, 31
right shift the contents of eax by 31 bits
sar ebx, 31
right shift the contents of ebx by 31 bits
sar ecx, 2
right shift the value of register ecx by 2 bits
sar edx, 4
right shift the value of register edx by 4 bits
scas eax,dword ptr es:[edi]
compare value at location edi with eax register
scasd
check if [edi] == eax then increment edi while
scasd
compare eax with doubleword at edi and set status flags
scasd
compare the contents of the eax register with doubleword at edi and set status flags
scasd
compare the value in eax to the doubleword addressed by edi
scasd
compare the value in the eax register to the doubleword addressed by the edi register
scasd \ jnz _end \n jmp edi
jump to the _end label if the value in the eax register is not equal to the doubleword addressed by edi else jump to the edi register
scasd \n jnz _end
jump to the _end label if the value in the eax register is not equal to the doubleword addressed by edi
scasd \n jnz _end \n jmp edi
jump to the _end label if the value in the eax register is not equal to the doubleword addressed by edi else jump to the edi register
scasd \n jnz _start
jump to the _start label if the value in the eax register is not equal to the doubleword addressed by edi
scasd \n jnz _start \n jmp edi
jump to the _start label if the value in the eax register is not equal to the doubleword addressed by edi else jump to the edi register
scasd \n jnz _start \n scasd \n jnz _start
checking current address with egg two times
scasd \n jnz IncAddr
jump to the IncAddr label if the value in the eax register is not equal to the doubleword addressed by edi
scasd \n jnz IncAddr \n jmp edi
jump to the IncAddr label if the value in the eax register is not equal to the doubleword addressed by edi else jump to the edi register
scasd \n jnz next_addr \n scasd \n jnz next_addr
check if [edi] == eax then increment edi while if no match go to next_addr label. repeat two times
scasd \n l1 IncAddr
jump to the l1 label if the value in the eax register is not equal to the doubleword addressed by edi
scasd \n l1 IncAddr \n jmp edi
jump to the l1 label if the value in the eax register is not equal to the doubleword addressed by edi else jump to the edi register
search_the_egg:
define search_the_egg label
section .bss
declare section containing uninitialized data
section .bss
declare the bss section
section .bss
section bss
section .bss
declare section bss
section .bss
declare bss section
section .bss
declare code section .bss
section .data
declare section .data
section .data
delcare section .data
section .data
define section .data
section .data
declare section containing initialized data
section .data
declare the data section
section .data
section data
section .data
section for initialized data
section .data
declare data section
section .data \n section .bss \n section .text \n global _start \n _start:
declare section.data, section .bss, section.text, global _start, _start label
section .text
declare text section
section .text
declare section containing code
section .text
declare section text
section .text
declare the text section
section .text
section .text
section .text
declare .text section
section .text
declare code section
section .text
section text
section .text \n _start:
declare section .data and _start label
section .text \n global _start \n _start:
declare section .text, global _start, _start:
section .text \n global _start \n _start:
declare section. text, global _start, _start label
section .text \n global _start \n _start:
declare section.text, global _start and _start label
section .text \n global _start \n _start:
delcare section .text, global _start and _start label
set_argv:
declare set_argv label