1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-27 16:49:01 +00:00
Files
nmap/nselib/stdnse.lua
dmiller 8f939279ca Let charset arg to stdnse.generate_random_string be a string
The charset argument was intended to be a table, since Lua doesn't allow
indexing strings with []. Unfortunately, irc-brute and tftp-enum passed
a string instead, which meant that the output was always the empty
string. This change allows both formats, and fixes those scripts.

irc-brute and tftp-enum had been broken since r33632 (no released
version of Nmap)
2015-02-25 05:06:03 +00:00

45 KiB