intent
stringlengths 4
313
| snippet
stringlengths 2
271
|
---|---|
jump to the label close if the contents of the eax register is negative
|
test eax, eax \n js close
|
define the _continue label
|
_continue:
|
add 10 to the single byte stored at memory address var
|
add byte [var], 10
|
move 66729180 into edx
|
mov edx, 66729180
|
decrement ecx and jumps to the decode label if the contens of ecx is not zero and the zero flag is set to zero
|
loopnz decode
|
move 0x1 into lower byte of the eax register
|
mov al, 0x01
|
move esi into edi
|
mov edi, esi
|
decrement the contents of the ecx register and jump to the dup2 label if the result is not negative
|
dec ecx \n jns dup2
|
swap the contents of eax and esi
|
xchg eax, esi
|
right shift the contents of dl register by 1 bit positions
|
shr dl,1
|
move 0x10 into dl
|
mov dl, 0x10
|
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, 0xaa \n je decode_insertion \n xor al, bl
|
push the byte 3 onto the stack and point ebx to the stack register
|
push byte 3 \n mov ebx, esp
|
jump to the _start label if the contents of the al register is equal to the value 0xf2
|
cmp al, 0xf2 \n jz _start
|
multiply eax by edx
|
mul edx
|
move 7 into the byte at address cl
|
mov byte cl, 7
|
load the effective address of the result of the operation [ebx+17h] into the eax register
|
lea eax, [ebx+17h]
|
push the word 10 to the stack
|
push word 10
|
push dx onto the stack
|
push dx
|
load the effective address of esi into the ebx register
|
lea ebx, [esi]
|
move 0x8b90909d into eax
|
mov eax, 0x8b90909d
|
push the byte 0x4 onto the stack
|
push byte 0x4
|
load the effective address of the result of the operation [esi+8] into the ecx register
|
lea ecx, [esi+8]
|
if the contents of the eax register is not zero then jump to the label exit_on_error
|
test eax, eax \n jnz exit_on_error
|
define the byte string 'cp /bin/sh /tmp/sh'
|
db 'cp /bin/sh /tmp/sh'
|
move eax into sock_reg
|
mov sock_reg, eax
|
define the loop label
|
loop:
|
if the contents of the cl register is greater than or equal to the decimal value 12 then jump to the label l2
|
cmp cl, 12 \n jge l2
|
declare the duploop label
|
duploop:
|
move 0x2 into cl
|
mov cl, 0x2
|
jump to the loop label if the contents of the cl register is not equal to the value 0x3
|
cmp cl, 0x3 \n jne loop
|
push the word 21 onto the stack and point ebx to the stack register
|
push word 21 \n mov ebx, esp
|
add 0x12345678 to the contents in eax and save the result in eax
|
add eax, 0x12345678
|
move ecx to edx
|
mov edx, ecx
|
push zero onto the stack
|
xor edx, edx \n push edx
|
jump to the label loop
|
jmp loop
|
pop the next argument off the stack into eax
|
pop eax
|
pop the top element of the stack into edi
|
pop edi
|
reserve the array arr1 of 400 uninitialized bytes
|
arr1 resb 400
|
system call socketcall
|
mov al, 0x66
|
move the word at the address ax into [ebp+22]
|
mov [ebp+22], word ax
|
move 0x33 into al
|
mov al, 0x33
|
push the contents of the esi register onto the stack and point eax to the stack register
|
push esi \n mov eax, esp
|
move buff to edx
|
mov edx, buff
|
if the contents of the ax register is not zero then jump to the label exeunt else jump to the label carryon
|
test ax, ax \n jnz exeunt \n jmp carryon
|
define formatting label
|
formatting:
|
perform xor operation between eax register and ebx register and store the result in eax
|
xor eax, ebx
|
define the variable neg_number of words and initialize it to -12345
|
neg_number dw -12345
|
if the contents of the eax register is zero then jump to the label check_html
|
test eax, eax \n jz check_html
|
declare message string msg1 containing 'hello brave new world!'
|
msg1 db 'hello, brave new world!', 0ah
|
move 37 into al
|
mov al, 37
|
invoke subroutine bind
|
mov ebx, 2
|
add the contents of the edi register to the contents of edi register
|
add edi, edi
|
move the number of bytes of var3 into ebx
|
mov ebx, type var3
|
put /bin/sh into the edx register
|
push long 0x68732f2f \n push long 0x6e69622f \n mov edx, esp
|
left rotate the byte in esi 1 time
|
rol byte [esi], 0x1
|
clear the eax register
|
xor eax, eax
|
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, 0x1f \n jb 0xf3 \n add al, 0x40
|
push the 0x10 onto the stack
|
push 0x10
|
call the one function
|
call one
|
push the 0x7665642f onto the stack
|
push 0x7665642f
|
push 0x32322e32 to the stack
|
push 0x32322e32
|
move 0x2 into bl
|
mov bl, 0x2
|
perform a logical xor between the byte at the address specified by [esi] and the cl register and save the result in [esi]
|
xor byte [esi], cl
|
swap the contents of the eax register with the contents of the edx register
|
xchg eax, edx
|
jump to the label read
|
jmp read
|
jump to the label check_html if the contents of the eax register is zero else jump to the while label
|
test eax, eax \n jz check_html \n jmp while
|
define the _parent label
|
_parent:
|
move the byte 3h into al
|
mov al, byte 3h
|
define the byte string '0',10
|
db '0',10
|
perform the xor operation between the byte starting at the addess in esi and the value 0x2c
|
xor byte [esi], 0x2c
|
add the byte value 2 to the esi register
|
add byte [esi], 2
|
move the byte at address digits+ebx into bl
|
mov bl, byte [digits+ebx]
|
get the parent process ID
|
mov eax, 64
|
push /bin/sh onto the stack and point the ecx register to the stack register
|
push 0x68732f2f \n push 0x6e69622f \n mov ecx, esp
|
move 0x46 into al
|
mov al, 0x46
|
push 6 onto the stack
|
push 6
|
push the contents of the edi register onto the stack and point ebx to the stack register
|
push edi \n mov ebx, esp
|
subtract 1663 from the contents of the bx register
|
sub bx, 1663
|
make the system call to get the process group
|
mov eax, 65
|
push the value 0x64687373 onto the stack and point the edx register to the stack register
|
push 0x64687373 \n mov edx, esp
|
move the byte at the address [esi] into al
|
mov al, byte [esi]
|
push the value 0x7461632f and the value 0x6e69622f onto the stack and point the edx register to the stack register
|
push 0x7461632f \n push 0x6e69622f \n mov edx, esp
|
jump short to cycle label
|
jmp short cycle
|
push the value 0x6873732f and the value 0x6374652f onto the stack and point the esi register to the stack register
|
push 0x6873732f \n push 0x6374652f \n mov esi, esp
|
move 6 into al
|
mov al, 6
|
add ebx to eax and store the result in eax
|
add eax, ebx
|
add 3 to the contents of the esp register
|
add esp, 3
|
clear ecx
|
xor ecx, ecx
|
push the dword 0x7264632f onto the stack
|
push dword 0x7264632f
|
perform a logical xor between the al register and 0e9h and save the result in al
|
xor al, 0e9h
|
push 0x69622f65 onto the stack
|
push 0x69622f65
|
jump short to the label l1 if the contents of the ebx register is negative
|
test ebx, ebx \n js short l1
|
move address of stack pointer into edx
|
mov edx, esp
|
transfer ebx to eax
|
mov eax, ebx
|
jump to the label ready_to_proxy if the contents of the dl register is not zero
|
test dl, 0x1 \n jnz ready_to_proxy
|
initialize ebx with 0
|
xor ebx, ebx
|
move 0x6374652f into the dword at the memory location [esp-12]
|
mov dword [esp-12], 0x6374652f
|
subtract the value 4 from the esp register and save the result in esp
|
sub esp, 4
|
move address of response variable into edx
|
mov edx, response
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.