Fix sqlmap accidental codepoint

See http://www.ruby-doc.org/core-1.9.3/String.html#method-i-3C-3C

Apparently, String#<< uses Integer#chr, not Integer#to_s. News to me.

Fixed originally by @TsCl in PR #2435, but fixing seperately in order to
avoid screwing up his downstream tracking. Note, this isn't a merge, so
using Closes tag on the commit message.

[Closes #2435]
bug/bundler_fix
Tod Beardsley 2013-09-30 11:23:17 -05:00
parent bce2f12375
commit 9ada96ac51
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Metasploit3 < Msf::Auxiliary
sqlmap_url << "://"
sqlmap_url << wmap_target_host
sqlmap_url << ":"
sqlmap_url << wmap_target_port
sqlmap_url << wmap_target_port.to_s
sqlmap_url << "/"
sqlmap_url << datastore['PATH']