Fix wrapping errors on long domains.

bug/bundler_fix
scriptjunkie 2014-02-13 03:38:29 -06:00
parent b0d2949f9a
commit c0983138a0
1 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ get_server_uri:
call httpopenrequest
server_uri:
db "#{Rex::Text.hexify(uri.request_uri).chomp}?/12345", 0x00
db "#{Rex::Text.hexify(uri.request_uri, 99999).chomp}?/12345", 0x00
failure:
push 0x56A2B5F0 ; hardcoded to exitprocess for size
@ -279,7 +279,7 @@ get_server_host:
call internetconnect
server_host:
db "#{Rex::Text.hexify(uri.host).chomp}", 0x00
db "#{Rex::Text.hexify(uri.host, 99999).chomp}", 0x00
EOS
self.module_info['Stager']['Assembly'] = payload_data.to_s