Squash a rogue space

bug/bundler_fix
Jon Hart 2015-11-17 14:17:59 -08:00
parent 3396fb144f
commit e21bf80ae4
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class Metasploit3 < Msf::Exploit::Remote
print_status('Uploading payload...') print_status('Uploading payload...')
script_name = Rex::Text.rand_text_alpha_lower(5) script_name = Rex::Text.rand_text_alpha_lower(5)
create_script_res = create_script(script_name, cmd) create_script_res = create_script(script_name, cmd)
unless create_script_res && create_script_res.code == 200 unless create_script_res && create_script_res.code == 200
print_error("Upload script failed") print_error("Upload script failed")
return false return false