Skip to content

Commit d76081b

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

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
@@ -279,7 +279,7 @@ def generate
279279
call internetconnect
280280

281281
server_host:
282-
db "#{Rex::Text.hexify(uri.host, 99999).chomp}", 0x00
282+
db "#{Rex::Text.hexify(uri.host, 99999).strip", 0x00
283283

284284
EOS
285285
self.module_info['Stager']['Assembly'] = payload_data.to_s

0 commit comments

Comments
 (0)