add more
This commit is contained in:
24
reversing/intercept/rev_intercept/intercept.asm
Normal file
24
reversing/intercept/rev_intercept/intercept.asm
Normal file
@@ -0,0 +1,24 @@
|
||||
.text
|
||||
.globl state
|
||||
.bss
|
||||
.type state, @object
|
||||
.size state, 1
|
||||
state:
|
||||
.zero 1
|
||||
.text
|
||||
.globl do_encrypt
|
||||
.type do_encrypt, @function
|
||||
do_encrypt:
|
||||
push rbp
|
||||
mov rbp, rsp
|
||||
mov eax, edi
|
||||
mov BYTE PTR [rbp-4], al
|
||||
movzx eax, BYTE PTR state[rip]
|
||||
add eax, 19
|
||||
xor BYTE PTR [rbp-4], al
|
||||
movzx eax, BYTE PTR state[rip]
|
||||
add eax, 55
|
||||
mov BYTE PTR state[rip], al
|
||||
movzx eax, BYTE PTR [rbp-4]
|
||||
pop rbp
|
||||
ret
|
||||
BIN
reversing/intercept/rev_intercept/intercept.pcap
Normal file
BIN
reversing/intercept/rev_intercept/intercept.pcap
Normal file
Binary file not shown.
Reference in New Issue
Block a user