1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
dmiller
a606766d88 Allow dns-brute.hostlist to be a relative path 2013-04-26 12:14:40 +00:00
patrik
448bb5a71b fixed a bug in a loop where the script would wait for a condition that was
supposed to be signalled by other threads which were no longer running.
2012-08-29 05:37:56 +00:00
perdo
5ac6c7d64a Fixed errors found by nse_check_globals. 2012-06-06 22:23:02 +00:00
batrick
000f6dc4d9 Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
2012-05-27 08:53:32 +00:00
djalal
8a175d127d o [NSE] added a debug message in the prerule to show that some arguments are missing. 2011-11-09 12:39:01 +00:00
david
aceb760703 Change CRLF line endings back to LF in dns-brute.nse. 2011-11-02 16:50:37 +00:00
paulino
ea31c702ad Minor modification to add the entry "direct" to the default host list. This is a common dns entry found in hosts protected by Cloudflare (www.cloudflare.com) It is Cloudflare's default dns name for the entry pointing to the real host ip. 2011-11-02 10:16:30 +00:00
paulino
26dc09ad43 Gets arguments with stdnse.get_script_args instead of reading them from nmap.registry 2011-07-27 03:28:13 +00:00
fyodor
536e00ea42 Went through all the new (since 5.51) scripts and improved (I hope) the nsedoc descriptions a bit and made some other very minor cleanups 2011-06-29 01:29:14 +00:00
david
4fc1ea786b Remove redundant "Result:" label from dns-brute.nse output. Use the
"name" feature of format_output instead of inserting putative data rows
for labels.
2011-03-15 17:12:45 +00:00
fyodor
0b7b41d05f Trivial reword to fix a little grammar/typo problem 2011-03-06 09:34:57 +00:00
david
eacb827eee Don't require the dns-brute.domain argument to be given to add new
targets.
2011-03-05 21:16:18 +00:00
david
66a7e95105 Simple portrule: trust whatever the user gives us. 2011-03-05 21:16:16 +00:00
david
da79e0aaa2 Use a rewritten guess_domain function and bail out if the domain isn't
known.

Previously it would solider on even if given only an IP address, trying
names like ftp.168.0.1 and www.168.0.1.
2011-03-05 21:16:13 +00:00
david
cc4019aedd Make domainname local rather than global. I expect this would cause
problems more tha one instance of this script were run at once.
2011-03-05 21:16:12 +00:00
david
4e43fff90a Signal the condvars when threads are finished. 2011-03-05 21:16:11 +00:00
david
6399fe23c3 Look up IPv6 records unconditionally. 2011-03-05 21:16:08 +00:00
david
10ae05791c Localize functions. 2011-03-05 21:16:07 +00:00
david
c2ca0ded54 Pass an interator instead of separate arguments to thread functions. 2011-03-05 21:16:06 +00:00
david
4225147e6c Use stdnse.print_debug. 2011-03-05 21:16:04 +00:00
david
bdbf332562 Use a unified resolve function. 2011-03-05 21:16:03 +00:00
david
3626dacbca Put the lists of host names and srv names at the file level. 2011-03-05 21:16:01 +00:00
david
3f7649b4ec Remove the dns-brute.cclass reverse name resolution. It's probably
better to use Nmap's existing fast reverse resolver.
2011-03-05 21:16:00 +00:00
david
3fe40dd995 Add dns-brute.nse. 2011-03-05 21:15:58 +00:00