fyodor
61b976a45c
o Nmap now saves the target name (if any) specified on the command
...
line, since this can differ from the reverse DNS results. It can be
particularly important when doing HTTP tests against virtual hosts.
The data can be accessed from target->HostName() from Nmap proper
and host.targetname from NSE scripts. The NSE HTTP library now uses
this for the Host header. Thanks to Sven Klemm for adding this
useful feature.
2008-02-04 22:10:29 +00:00
kris
1dd2fa821d
adding nmap.fetchfile() function so scripts can find the nmap-* data files
2007-12-22 06:56:22 +00:00
diman
6229774103
fixed a problem which caused a segfault when using set_port_version with a version table which does not have all of its values set
2007-12-04 10:30:54 +00:00
david
53752ad8de
Change l_exc_finalize to recognize both nil and false as exception indicators.
...
Previously only nil did this but most of NSE's internal functions return nil. A
value of true means there was no exception and anything else is a fatal error.
2007-11-22 08:31:13 +00:00
david
3782d2c020
Add an nmap.have_ssl NSE function and use it in the script showHTMLTitle.nse to
...
avoid doing an SSL probe if SSL is not available.
2007-11-22 06:38:23 +00:00
kris
7f1654e3ac
Adding a couple free()s when having an early return in l_port_accessor() in nse_nmaplib.cc. Coverity (CID 32) found function_name, I added target_ip.
2007-11-16 02:20:09 +00:00
fyodor
acdaac1464
Update port state reason to script-set when an NSE script changes the --reason of a port state. Also make reason element available in port-table. Patch by Matthew Boyle
2007-11-15 21:03:00 +00:00
kris
c3b2e9af3f
Adding nmap.verbosity() and nmap.debugging() for scripts so they can get the o.verbose and o.debugging values
2007-09-15 01:04:53 +00:00
fyodor
c124e918b7
merge soc07 r5360:5367 - Merge Majek's raw packet NSE patch
2007-08-11 06:13:25 +00:00
fyodor
d7f207450c
merge soc07 r5279 - nse fixes
2007-08-11 06:03:25 +00:00
fyodor
5528726e5b
merge soc07 r5124:5142 - build/install system updates; changelog updates; umit install code; compilation fixes; integrate umit
2007-08-11 05:41:41 +00:00
fyodor
e988f4878d
merge soc07 r4989 - applied mathew boyle's patch for print_debug
2007-08-11 04:39:17 +00:00
fyodor
1e2f0bea4f
merge soc07 r4921:4925 - Fixed a bug in NSE that caused incorrect state summaries (and an assertion failure); added udp iax2 test script
2007-08-11 04:23:17 +00:00
fyodor
cafec3593d
merge soc07 r4891 - nse improvements
2007-08-11 04:12:45 +00:00
fyodor
58522c59f6
merge soc07 r4822 - Reduce the number of build dependencies.
2007-08-11 03:35:46 +00:00
fyodor
cb8101dbcc
merge soc07 r4821 - fix nse build system issues
2007-08-11 03:35:12 +00:00
fyodor
f5e32d305f
merge soc07 r4780 - Moved OSScan warning message (may not be reliable because could not find 1 open and 1 closed port) so it is printed along with the OSScan results instead of above it
2007-08-11 03:24:04 +00:00
fyodor
b361685be8
NSE committed
2006-12-11 00:34:26 +00:00