Type conversion

bug/bundler_fix
sinn3r 2013-08-26 13:56:11 -05:00
parent 50e7d8015a
commit 6b8feaff8c
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class Metasploit3 < Msf::Auxiliary
loot = ""
uri = "/"
uri << (datastore['YEAR']) if datastore['YEAR'] != ""
uri << (datastore['YEAR']).to_s if datastore['YEAR'].to_s != ""
uri << ("/companies/" + datastore['CW_ID'])
res = send_request_cgi({

View File

@ -56,7 +56,7 @@ class Metasploit3 < Msf::Auxiliary
datastore['RPORT'] = 80
uri = "/"
uri << (datastore['YEAR'] + "/") if datastore['YEAR'] != ""
uri << (datastore['YEAR'].to_s + "/") if datastore['YEAR'].to_s != ""
uri << "companies.xml"
res = send_request_cgi(