trimstray / sandmap

Nmap on steroids. Simple CLI with the ability to run pure Nmap engine, 31 modules with 459 scan profiles.
GNU General Public License v3.0
1.57k stars 217 forks source link

TOR Support - analysis and correction of errors #57

Open trimstray opened 6 years ago

trimstray commented 6 years ago

Status: In Progress

The current mechanism is not the best solution (proxychains 3 or proxychains (ng)).

trimstray commented 6 years ago
proxychains nmap google.com
ProxyChains-3.1 (http://proxychains.sf.net)
Starting Nmap 7.70 ( https://nmap.org ) at 2018-05-21 13:17 CEST
|DNS-request| google.com 
|R-chain|-<>-127.0.0.1:9001-<><>-9.9.9.9:53-<><>-OK
|DNS-response| google.com is 216.58.194.174
google.com looks like an IPv6 target specification -- you have to use the -6 option.
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.59 seconds
trimstray commented 6 years ago
proxychains4 -f /etc/proxychains.conf nmap 8.8.8.8                 
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.12-git-15-gbb30d86
Starting Nmap 7.70 ( https://nmap.org ) at 2018-05-21 13:18 CEST
nmap: netutil.cc:1379: int collect_dnet_interfaces(const intf_entry*, void*): Assertion `rc == 0' failed.
[1]    30756 abort      proxychains4 -f /etc/proxychains.conf nmap 8.8.8.8
trimstray commented 6 years ago
proxychains4 -f /etc/proxychains.conf nmap -Pn -sT 8.8.8.8 -p 53   
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.12-git-15-gbb30d86
Starting Nmap 7.70 ( https://nmap.org ) at 2018-05-21 13:35 CEST
[proxychains] Random chain  ...  127.0.0.1:9003  ...  8.8.8.8:53  ...  OK
Nmap scan report for google-public-dns-a.google.com (8.8.8.8)
Host is up (0.14s latency).

PORT   STATE SERVICE
53/tcp open  domain

Nmap done: 1 IP address (1 host up) scanned in 0.18 seconds