SNIPPETS
stringlengths
2
1.64k
INTENTS
stringlengths
4
1.66k
shr ecx, 2
divide ecx by 4 using right shift
shr edx, 1
divide edx by 2 using right shift
shr edx, 16
right shift the contents of the edx register by 16
shr edx, 16 \n inc edx
do the logical shift to the right of the edx bits for 16 times the increase them of 1
shr edx, 2
divide edx by 4 using right shift
shr edx, byte 16
right shift the contents of the edx register by the byte 16
shr edx, byte 24
right shift the contents of the edx register by the byte 24
size: equ 1024
define size to be 1024 bytes large
size: equ 50000
declare a constant size and set equal to 50000
stage:
declare _stage label
stage:
define _ stage label
stage:
declare the stage label
stage:
define stage label
stage: \n call decoder
define stage and call decoder function
stageaddress:
define _stageaddress label
stageaddress:
declare the stageaddress label
start:
declare the start label
stc
set carry flag
stos byte ptr es:[edi],al
stores al register content to location at edi
str db 'hello',0
declare 6 bytes starting at the address str initialized to the ascii character values for hello and the null byte
str db 'hey',0
declare 4 bytes starting at the address str initialized to the ascii character values for the string 'hey' and 0 respectively
string db 'test.txt'
define string as the byte string 'test.txt'
string: db '/bin/sh'
define string as the byte string '/bin/sh'
string: db '/etc/passwd'
define string as the byte string '/etc/passwd'
string: db 'file.txt'
define string as the byte string 'file.txt'
string: db 'file1.txt'
define string as the byte string 'file1.txt'
string: db 'prova.txt'
define string as the byte string 'prova.txt'
string: db 'tmp.txt'
define string as the byte string 'tmp.txt'
sub [var], esi
subtract the contents of esi from the 32-bit integer stored at memory location var
sub [var2], esi
subtract the contents of esi from the 32-bit integer stored at memory location var2
sub al, 0x13
subtract 0x13 from the al register
sub al, 0x41
subtract 0x41 from the al register
sub al, 1 \n jns l1
subtract the value 1 from the contents of the al register and jump to the l1 label if the result is not negative
sub al, 1 \n jnz l1
subtract the value 1 from the contents of the al register and jump to the l1 label if the result is not zero
sub al, 88
subtract 88 from the contents of al register and save the result in al
sub al, 88
subtract 88 from the contents of the al register
sub al, ah
subtract ah from al
sub al,0x54
subtract hexadecimal value 0x54 to al register
sub ax, 13
substract 13 from encoded_shellcode, one word at a time
sub ax, 13
subtract 13 from ax and save the result into ax
sub ax, 13
subtract 13 from the ax register
sub ax, 1564
subtract 1564 from ax and save the result into ax
sub ax, 1564
subtract 1564 from the contents of ax register and save the result in ax
sub ax, 1564
subtract 1564 from the contents of the ax register
sub ax, 1662
subtract 1662 from ax and save the result into ax
sub ax, 1662
subtract 1662 from the contents of ax register and save the result in ax
sub ax, 1662
subtract the contents of the ax register by 1662
sub ax, ax
subtract the contents of ax from the contents of ax
sub bl, 0x7
subtract 0x7 to bl
sub bl, 0x7
subtract 0x7 from bl and save the result into bl
sub bl, 0x7
subtract 0x7 from the contents in bl and save the result in bl
sub bl, 3
subtract 3 from the contents of the bl register
sub bl, 3 \n jnz stage
subtract the value 3 from the contents of the bl register and jump to the stage label if the result is not zero
sub bl, 4 \n jns l2
subtract the value 4 from the contents of the bl register and jump to the l2 label if the result is not negative
sub bl, 48
subtract the decimal value 48 from the nl register
sub bl, al
subtract the contents of al register from the contents of bl register and save the result in bl
sub bl, al
subtract the contents of al from the bl register
sub bl, byte [esi]
subtract 0x7 from the byte in esi register
sub bl, byte [esi]
subtract the current byte of the shellcode from bl
sub bl, cl \n jnz l2
subtract the contents of the cl register from the contents of the al register and jump to the l2 label if the result is not zero
sub bl,3 \n jnz stage
subtract 3 from bl register and go to _stage label if flag zero is not set
sub bl,byte [esi]
subtract the byte in esi from the bl register
sub bx, 1634
subtract 1634 from bx and save the result into bx
sub bx, 1634
subtract 1634 from the contents of bx register and save the result in bx
sub bx, 1634
subtract 1634 from the contents of the bx register
sub bx, 1663
subtract 1663 from bx and save the result into bx
sub bx, 1663
subtract 1663 from the contents of the bx register
sub bx, 1663
subtract the contents of bx register by 1663 and save the result in bx
sub bx, bx
subtract the contents of bx from the contents of bx
sub bx, dx
subtract dx = 13 to bx = 256
sub bx, dx
subtract the contents of the dx register from the contents of the bx register
sub byte [buff],20h
subtract 20h from the 8-bit at memory location buff
sub byte [ebp+ecx],20h
subtract 20h from the 8-bit at memory location ebp+ecx
sub byte [edi], 0x4 \n not byte [edi]
subtract 0x4 from the byte at the address edi and negate the result
sub byte [edi], 7 \n not byte [edi]
negate the byte at the address edi after subtracting the value 7
sub byte [edi], 8 \n not byte [edi]
subtract the value 8 from the byte in edi and negate it
sub byte [esi], 0x1 \n not byte [esi]
subtract 0x1 from the current byte of the shellcode and negate the result
sub byte [esi], 0x1 \n not byte [esi]
subtract 0x1 from the byte at the address esi and negate the result
sub byte [esi], 0x9 \n not byte [esi]
subtract the value 0x9 from the current byte of the shellcode and then negate the result
sub byte [esi], 0xd
subtract 13 to esi content
sub byte [esi], 0xd
subtract 0xd from the byte at the address esi
sub byte [esi], 13
undo rot13
sub byte [esi], 13
subtract 13 from the byte at the address esi
sub byte [esi], 13
subtract 13 from the byte in esi and save the result in esi
sub byte [esi], 2 \n not byte [esi]
negate the byte at the address esi after subtracting the value 2
sub byte [esi], 3 \n not byte [esi]
subtract the value 3 from the byte in esi and negate it
sub byte [esi], 8
subtract the decimal value 8 from the byte esi in memory
sub byte [esi], 8 \n not byte [esi]
subtract 8 from the byte in esi and then negate the result
sub cl, 1
dec count by 1
sub cl, 1
subtract 1 from the contents of the cl register
sub cl, 1 \n jnz decode
subtract the value 1 from the contents of the cl register and jump to the decode label if the result is not zero
sub cl, bl \n jns l3
subtract the contents of the bl register from the contents of the cl register and jump to the l3 label if the result is not negative
sub cl, dl
subtract the contents of dl register from the contents of cl register and save the result in cl
sub cl, dl
subtract the contents of dl from the cl register
sub cx, 0x7ff
subtract 0x7ff from the contents in cx and save the result in cx
sub cx, 0x7ff
subtract 0x7ff from the contents of cx register value and save the result in cx
sub cx, cx
subtract the contents of cx from the contents of cx
sub dl, 5 \n jns l4
subtract the value 5 from the contents of the dl register and jump to the l4 label if the result is not negative
sub dl, al
subtract the contents of al register from the contents of dl register and save the result in dl
sub dl, al \n jns decode_pr
subtract the contents of the al register from the contents of the dl register and jump to the decode_pr label if the result is not negative