1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 23:49:03 +00:00
Commit Graph

9911 Commits

Author SHA1 Message Date
henri
34e825f26e Use the new API that nsock provides for proxychain parsing/handling. 2013-04-22 19:29:50 +00:00
henri
91af533ca2 Added missing initializer. 2013-04-22 19:29:43 +00:00
henri
641d63efb4 Reduced scope of the top level proxy event handler.
There is no need anymore for exporting this function to the rest of the library.
It's called by the proxy hooks when registering new events.
2013-04-22 19:29:35 +00:00
henri
9084805bbf Added destructor for proxy_chain_context. 2013-04-22 19:29:26 +00:00
henri
28604b63e3 Design improvements.
Externally:
  The calling application can build a proxychain object and assign it to one (or
  more) NSP. Once a NSP get assigned a proxychain it's not possible to remove
  it so that consistency is (should be...) ensured.

Internally:
  An IOD comes with a proxychain context structure storing the whole tunnel
  state. Also each proxy type now has a table of associated functions to use
  as hooks for TCP connects(), read() and write() requests. As a result, adding
  support of new proxy type should be easier. Code also gains readability in
  comparison to large switch/cases that redirect the execution flow according to
  the given proxy type.
2013-04-22 19:29:18 +00:00
henri
a6bcd9cb7e Added proxy support to service_scan. 2013-04-22 19:29:08 +00:00
henri
c631af1c09 Added a --proxies <chain> option to nmap to let users specify proxies to use
from command line.

<chain> is expected (by nsock) to be a comma-separated list of proxies.
e.g.:
  http://relay1.local:8080,http://relay2.local:3128

This option has currently no effect.
2013-04-22 19:29:01 +00:00
henri
06219414a6 Initial version with a _very_ raw support for HTTP proxy chains (using the
CONNECT method). This is mostly intended to validate the concepts, data models
and programming approach.
2013-04-22 19:28:53 +00:00
david
e0896d4617 Add IE lines to two OS fingerprint missing them.
http://seclists.org/nmap-dev/2013/q2/88
2013-04-20 04:16:41 +00:00
henri
6d9a68ecb9 Code cleanup.
Removed unused nse.time_created field.
Use bitfields instead of integers for nse.eof and nse.event_done
Indentation fixes.
2013-04-19 23:21:40 +00:00
david
13abd4df8a Restore empty rpc_info field to gnmap port output from r29619.
Patch by Daniel Miller.
2013-04-17 22:48:31 +00:00
fyodor
2a61d7229d Add an infrastructure task (ipv6 for secwiki website) to todo 2013-04-16 19:51:45 +00:00
david
3f3bb4a546 Regen po files.
Recommitted after recovery from backup.
2013-04-12 17:29:35 +00:00
david
87bbbfa0e4 Regen zenmap.pot.
Recommitted after recovery from backup.
2013-04-12 17:29:33 +00:00
david
24f378acdb Regen it translation mo.
Recommitted after recovery from backup.
2013-04-12 17:29:31 +00:00
david
fac98776b7 Update Zenmap it.po translation.
By Giacomo.
http://seclists.org/nmap-dev/2013/q2/0

Recommitted after recovery from backup.
2013-04-12 17:29:29 +00:00
david
67db6f0829 Fix another outError → nping_warning.
Apparently missed in r30691. Reported by Gisle Vanem.
http://seclists.org/nmap-dev/2013/q2/32

Recommitted after recovery from backup.
2013-04-12 17:29:28 +00:00
david
a58e6d0f33 -Adds digest support to basic login method.
-Adds detection entry for Digital Sprite 2 ( Digital recorder )

Originally committed by paulino but recommitted by david after recovery
from backup.
2013-04-12 17:29:26 +00:00
david
f43f163ec2 Remove http-robtex-reverse-ip script because it pretty much does the same thing as our newer hostmap-robtex
Originally committed by fyodor but recommitted by david after recovery
from backup.
2013-04-12 17:29:24 +00:00
david
08849111be Change Arturo name in Robtex scripts to match how it is in the other scripts he has authored
Originally committed by fyodor but recommitted by david after recovery
from backup.
2013-04-12 17:29:23 +00:00
david
b9bf5ec5cc Update documentation and example usage and output to be (I hope) more clear.
Originally committed by fyodor but recommitted by david after recovery
from backup.
2013-04-12 17:29:21 +00:00
david
4df392f1a2 Applied Dan Miller's fix to use new Robtex API (http://seclists.org/nmap-dev/2013/q2/1). I had to modify it slightly to allow [a-z]+.robtex.com in the pattern rather than just dns.robtex.com because many entries used host.robtex.com, top.robtex.com, etc. More improvements to follow.
Originally committed by fyodor but recommitted by david after recovery
from backup.
2013-04-12 17:29:20 +00:00
david
b7c49e4276 Update nmap-protocols from IANA (5 additions)
Originally committed by dmiller but recommitted by david after recovery
from backup.
2013-04-12 17:29:18 +00:00
david
3b728a40df Update banner.nse to use script-args
Added 2 args:

banner.timeout is a timespec for how long to wait for output. Default is
still 5s.

banner.ports is a ports list for limiting which ports to connect to. The
default is still all ports, but using banner.ports=common will limit to
some common ports that always return a banner.

Originally committed by dmiller but recommitted by david after recovery
from backup.
2013-04-12 17:29:17 +00:00
david
201a5130a2 Fix nsedoc issues (missing ---, mostly)
Originally committed by dmiller but recommitted by david after recovery
from backup.
2013-04-12 17:29:16 +00:00
david
797689c920 Regenerate it.po with new msgmerge.
Recommitted after recovery from backup.
2013-04-12 17:29:13 +00:00
david
e85fceacce Update zenmap.pot.
Recommitted after recovery from backup.
2013-04-12 17:29:11 +00:00
david
ebea23e398 Merge r30177 from nmap-npingchanges: Add function to generate random 64-bit unsigned integers
Originally committed by luis but recommitted by david after recovery
from backup.
2013-04-12 17:29:09 +00:00
dmiller
c4c197b213 Fix @arg nsedoc parsing in Zenmap
Zenmap was only showing the first line of @arg nsedoc entries, since it
was capturing the contents with a regular expression, which ends at the
first newline. Fixed by simply returning the entire contents with the
first word (the name of the arg) stripped off.
2013-03-29 20:44:33 +00:00
luis
49e06da86f Merge r30175-176 from nmap-npingchanges: Add support for Node Information queries in print(). Also, add the ability to pass u64 to setNonce() 2013-03-29 18:19:09 +00:00
luis
d8017b1a95 Merge r30080 from nmap-npingchanges: 2013-03-29 18:05:57 +00:00
luis
67a211e298 Merge r30072 from nmap-npingchanges: Print ICMPv6 destination unreachable, time exceeded and parameter problem 2013-03-29 18:02:36 +00:00
luis
7a221508bf Merge r30071 from nmap-npingchanges: Add the const specified to all relevant methods 2013-03-29 18:01:08 +00:00
luis
b70a358447 Merge r30025 from nmap-npingchanges: Add two helper functions to handle sockaddr_storage structures. 2013-03-29 17:53:02 +00:00
luis
1c011669bc Merge r28095 from nmap-npingchanges: Add more ideas suggested by Dan Farmer 2013-03-29 17:09:12 +00:00
luis
31959c7219 Merge r28056 from nmap-npingchanges: Add a suggestion from Dan Farmer. 2013-03-29 17:07:00 +00:00
luis
a55a038bc6 Merge r28024 from nmap-npingchanges: Make the test script executable 2013-03-29 16:52:12 +00:00
luis
347badd7f3 Merge r28016 from nmap-npingchanges: Add method to set IP options from a binary buffer than can be inserted right away into the IP header. 2013-03-29 16:48:53 +00:00
luis
a3f84c2c87 Merge r27963 from nmap-npingchanges: Remove some unimplemented command-line flags 2013-03-29 16:39:36 +00:00
luis
8a023e0c06 Merge r27958 from nmap-npingchanges: Simplify print() in RawData:: 2013-03-29 16:34:53 +00:00
luis
30d25e7e1e Merge r27956 from nmap-npingchanges: Improve code description. 2013-03-29 16:32:44 +00:00
luis
642c62e833 Merge r27995 from nmap-npingchanges: Add two missing codes. Also, re-write description so it says the same thing as Wireshark. 2013-03-29 16:30:32 +00:00
luis
afc00e36f2 Merge r27953 from nmap-npingchanges: Add support for ARP Request/Reply packet matching 2013-03-29 16:27:01 +00:00
luis
d5fe922084 Merged r27646 from nmap-npingchages: Add function to determine the tranport layer protocol in a chain of PacketElements 2013-03-29 13:46:14 +00:00
luis
62199a4666 Merged r27540 from nmap-npingchages: Fix bug: convert to u32 after fixing the endianness. 2013-03-29 13:42:41 +00:00
luis
b534fd83a1 Merged r27539 from nmap-npingchages: Implement print() in ICMPv6Header 2013-03-29 13:41:28 +00:00
luis
9fd48a1ea4 Merged r27297 from nmap-npingchages: Implement the print() method for IPv6 headers 2013-03-29 13:32:02 +00:00
luis
2fa6124a79 Merged r27296 from nmap-npingchages: Add some missing code to support ICMP domain name requests 2013-03-29 13:31:04 +00:00
luis
ac64c953ab Merge r27177-180 from nmap-npingchanges: Minor typo and style fixes in -h output 2013-03-29 13:14:18 +00:00
luis
686322d1bd Merged r27162 from nmap-npingchanges: Remove some unused code 2013-03-29 13:01:29 +00:00