SNIPPETS
stringlengths
2
1.64k
INTENTS
stringlengths
4
1.66k
check_even_odd:
define check_even_odd
check_even_odd:
define check_even_odd function
child:
define the child function
child:
define the child label
chmod_call equ 15
define chmod_call =15
chmod_call equ 15
define chmod_call equal to 15
choice db 'y'
define variable choice of 1 byte and initialize to y
cld
clear the direction flag
cld
clear direction flag increasing si and di index registers.
cld
set the direction flag to zero
cld
direction flag equal to zero
cli
clear interrupt flag
close_syscall equ 6
define close_syscall=6
close_syscall equ 6
define close_syscall equal to 6
close:
define close_label
closefile:
define _closefile label
closefile:
define the closefile function
closefile:
define the closefile label
cmd:
define _cmd label
cmd:
define the cmd label
cmd: db 'cat /etc/passwd'
declare cmd string and initialize it to 'cat /etc/passwd'
cmd: db 'cat /etc/passwd'
define cmd as the byte string 'cat /etc/passwd'
cmp [ebp+arg_0], 1
compare the contents stored at ebp+arg_0 with 1
cmp [ebp+var_a], 0
compare if the contents at memory location ebp+var_a is 0
cmp [ebp+var_a], 0
compare the contents at memory location ebp+var_a with 0
cmp [ebp+var_a], 0 \n jnz short loc_4010E5
jump short to the memory location loc_4010E5 if the contents of the memory address ebp+var_a is not equal to zero
cmp [ebp+var_a], 0 \n jnz short loc_4010E5
if the contents of the memory address ebp+var_a is not equal to zero then jump short to the memory location loc_4010E5
cmp [esi], edx
compare the contents at memory location esi and the contents of the edx register
cmp [esi], edx
compare the contents at memory location esi with edx
cmp al, 0x38 \n je 0x40 \n push byte 0x1
jump to the memory address 0x40 if the contents of the al register is equal to the value 0x38 else push the byte representation of the value 0x1 onto the stack
cmp al, 0x38 \n je 0x40 \n push byte 0x1
if the contents of the al register is equal to the value 0x38 then jump to the memory address 0x40 else push the byte representation of the value 0x1 onto the stack
cmp al, 0xaa \n je decode_insertion \n xor al, bl
jump to the decode_insertion label if the contents of the al register is equal to the vale 0xaa else perform a logical xor operation between the al register and the bl register and store the result in the al register
cmp al, 0xaa \n je decode_insertion \n xor al, bl
if the contents of the al register is equal to the vale 0xaa then jump to the decode_insertion label else perform a logical xor operation between the al register and the bl register and store the result in the al register
cmp al, 0xf2
if it return efault, bad address
cmp al, 0xf2
compare if the contents of al with 0xf2
cmp al, 0xf2
compare the contents of the al register and 0xf2
cmp al, 0xf2
compare the contents of the al register with the value 0xf2
cmp al, 0xf2 \n je _start
jump to the _start label if the contents of the al register is equal to the value 0xf2
cmp al, 0xf2 \n je _start
if the contents of the al register is equal to the value 0xf2 then jump to the _start label
cmp al, 0xf2 \n je _start \n mov eax, 0x50905090
jump to the _start label if the contents of the al register is equal to the value 0xf2 else move the value 0x50905090 into the eax register
cmp al, 0xf2 \n je _start \n mov eax, 0x50905090
if the contents of the al register is equal to the value 0xf2 then jump to the _start label else move the value 0x50905090 into the eax register
cmp al, 0xf2 \n je fillOnes
jump to the fillOnes label if the contents of the al register is equal to the value 0xf2
cmp al, 0xf2 \n je fillOnes
if the contents of the al register is equal to the value 0xf2 then jump to the fillOnes label
cmp al, 0xf2 \n je fillOnes \n mov eax, 0x59935193
jump to the fillOnes label if the contents of the al register is equal to 0xf2 else move the value 0x59935193 into the eax register
cmp al, 0xf2 \n je fillOnes \n mov eax, 0x59935193
if the contents of the al register is equal to 0xf2 then jump to the fillOnes label else move the value 0x59935193 into the eax register
cmp al, 0xf2 \n je next_page
jump to the label next_page if the contents of the al register is equal to the value 0xf2
cmp al, 0xf2 \n je next_page
if the contents of the al register is equal to the value 0xf2 then jump to the label next_page
cmp al, 0xf2 \n jz _start
jump to the _start label if the contents of the al register is equal to the value 0xf2
cmp al, 0xf2 \n jz _start
if the contents of the al register is equal to the value 0xf2 then jump to the _start label
cmp al, 0xf2 \n jz incpage
if the contents of the al register is equal to the value 0xf2 then jump to the incpage label
cmp al, 0xf2 \n jz incpage
jump to the incpage label if the contents of the al register is equal to the value 0xf2
cmp al, 0xf2 \n jz next_page
verify if sys_access returned an efault, and if it matchs jump to next_page label
cmp al, 9 \n jg l1
jump to the label l1 if the contents of the al register is greater than the decimal value 9
cmp al, 9 \n jg l1
if the contents of the al register is greater than the decimal value 9 then jump to the label l1
cmp al, 9 \n jge l1
jump to the label l1 if the contents of the al register is greater than or equal to the decimal value 9
cmp al, 9 \n jge l1
if the contents of the al register is greater than or equal to the decimal value 9 then jump to the label l1
cmp al, bl \n ja l2 \n add eax, 3
jump to the l2 label if the unsigned contents of the al register is greater than the unsigned contents of the bl register else add the value 3 to the eax register
cmp al, bl \n ja l2 \n add eax, 3
if the unsigned contents of the al register is greater than the unsigned contents of the bl register then jump to the l2 label else add the value 3 to the eax register
cmp al, bl \n jb l2
jump to the label l2 if the unsigned contents of the al register is lower than the unsigned contents of the bl register
cmp al, bl \n jb l2
if the unsigned contents of the al register is lower than the unsigned contents of the bl register then jump to the label l2
cmp al, cl
compare the contents of al with the cl register
cmp al, cl
compare the contents of the al register and the contents of the cl register
cmp al, cl \n jne short decode \n jmp shellcode
if the contents of the al register is not equal to the contents of the cl register then jump short to the decode label else jump to the shellcode label
cmp al, cl \n jne short decode \n jmp shellcode
jump short to the decode label if the contents of the al register is not equal to the contents of the cl register else jump to the shellcode label
cmp al, cl \n jnz short decode \n jmp shellcode
check if reached the end of shellcode comparing cl with al register. if not return to _decode label else go to _shellcode label
cmp al, cl \n jnz short decode \n jmp shellcode
jump short to decode if al is not equal to cl else jump to shellcode
cmp al,0xaa \n je decode_insertion
if al regsiter content is equal to the hexadecimal value 0xaa jump to decode_insertion label
cmp al,0xf2 \n jz _start
if efault page alignment
cmp ax, bx \n jne l3
jump to the l3 label if the contents of the ax register is not equal to the contents of the bx register
cmp ax, bx \n jne l3
if the contents of the ax register is not equal to the contents of the bx register then jump to the l3 label
cmp ax, bx \n jne l3 \n jmp while
if the contents of the ax register is not equal to the contents of the bx register then jump to the l3 label else jump to the while label
cmp ax, bx \n jne l3 \n jmp while
jump to the l3 label if the contents of the ax register is not equal to the contents of the bx register else jump to the while label
cmp bh, al
compare the contents of bh and the contents of al
cmp bl, 0x1f
compare the contents of bl and 0x1f
cmp bl, 0x1f \n jb 0xf3 \n add al, 0x40
jump to the memory address 0xf3 if the unsigned contents of the bl register is lower than the unsigned value 0x1f else add the 0x40 value to the al register
cmp bl, 0x1f \n jb 0xf3 \n add al, 0x40
if the unsigned contents of the bl register is lower than the unsigned value 0x1f then jump to the memory address 0xf3 else add the 0x40 value to the al register
cmp bl, 0xaa \n je shellcode
if the contents of the bl register is equal to the value 0xaa then jump to the shellcode label
cmp bl, 0xaa \n je shellcode
jump to the shellcode label if the contents of the bl register is equal to the value 0xaa
cmp bl, 0xaa \n jz shellcode
jump to shellcode if bl is equal to 0xaa
cmp bl, 0xaa \n jz shellcode \n cmp bl, 0xbb \n jz xordecode jmp notdecode
compare the content of bl register with the end character, 0xaa. if they arer equal go to shellcodelable, else compare the content of bl register with the character 0xbb that is the placeholder for xor. if they are equal go to _xordecode label. else go to _notdecode label.
cmp bl, 0xbb \n je xordecode \n jmp notdecode
if the contents of the bl register is equal to the value 0xbb then jump to the xordecode label else jump to the notdecode label
cmp bl, 0xbb \n je xordecode \n jmp notdecode
jump to the xordecode label if the contents of the bl register is equal to the value 0xbb else jump to the notdecode label
cmp bl, 0xbb \n jz xordecode \n jmp notdecode
jump to xordecode if bl is equal to 0xbb else jump to notdecode
cmp bl, 48
compare ebx register's lower half value against ascii value 48
cmp bl, 57
compare ebx register's lower half value against ascii value 57
cmp bl, 78h \n jg short loc_402B1D
jump to the memory location loc_402B1D if the contents of the bl register is greater than the value 78h
cmp bl, 78h \n jg short loc_402B1D
if the contents of the bl register is greater than the value 78h then jump to the memory location loc_402B1D
cmp bl, 78h \n jge short loc_402B1D
jump to the memory location loc_402B1D if the contents of the bl register is greater than or equal to the value 78h
cmp bl, 78h \n jge short loc_402B1D
if the contents of the bl register is greater than or equal to the value 78h then jump to the memory location loc_402B1D
cmp bl, 78h \n jl short loc_402B1D
jump to the memory location loc_402B1D if the contents of the bl register is less than the value 78h
cmp bl, 78h \n jl short loc_402B1D
if the contents of the bl register is less than the value 78h then jump to the memory location loc_402B1D
cmp bl, 78h \n jle short loc_402B1D
jump to the memory location loc_402B1D if the contents of the bl register is less than or equal to the value 78h
cmp bl, 78h \n jle short loc_402B1D
if the contents of the bl register is less than or equal to the value 78h then jump to the memory location loc_402B1D
cmp bl, al \n je loop_2
jump to the loop_2 label if the contents of the bl register is equal to the contents of the al register
cmp bl, al \n je loop_2
if the contents of the bl register is equal to the contents of the al register then jump to the loop_2 label
cmp bl, al \n je loop_2 \n jmp short not_found
jump to the loop_2 label if the contents of the bl register is equal to the contents of the al register else jump short to the not_found label
cmp bl, al \n je loop_2 \n jmp short not_found
if the contents of the bl register is equal to the contents of the al register then jump to the loop_2 label else jump short to the not_found label
cmp byte [buff], 61h
compare the byte at the memory location buff with 61h
cmp byte [buff], 7ah
compare the byte at the memory location buff with 7ah
cmp byte [eax], 0
compare the byte pointed to by eax at this address against zero