N
nemainthium
Есть такая тулза - DanMcInerney/smb-autopwn , автоматизирующая MS08-067 .
Пробую ее запустить, через некоторое время выскакивает с ошибкой:
я так понимаю, что не находит nmap, но он есть:
может кто сталкивался с таким и/или знает как решить проблему?
Пробую ее запустить, через некоторое время выскакивает с ошибкой:
root@kali:~/Desktop/autopwn# ./smb-autopwn.py -l all_445.txt
[*] Nmap running: 0.0 min
[*] Nmap running: 0.5 min
[*] Nmap running: 1.0 min
[*] Nmap running: 1.5 min
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/libnmap/process.py", line 267, in run
raise EnvironmentError(1, "nmap is not installed or could "
EnvironmentError: [Errno 1] nmap is not installed or could not be found in system path
Traceback (most recent call last):
File "./smb-autopwn.py", line 247, in <module>
report = parse_nmap(args)
File "./smb-autopwn.py", line 55, in parse_nmap
report = nmap_scan(hosts)
File "./smb-autopwn.py", line 107, in nmap_scan
report = NmapParser.parse_fromfile(os.getcwd()+'/smb-scan.xml')
File "/usr/local/lib/python2.7/dist-packages/libnmap/parser.py", line 191, in parse_fromfile
with open(nmap_report_path, 'r') as fileobj:
IOError: [Errno 2] No such file or directory: '/root/Desktop/autopwn/smb-scan.xml'
root@kali:~/Desktop/autopwn#
[*] Nmap running: 0.0 min
[*] Nmap running: 0.5 min
[*] Nmap running: 1.0 min
[*] Nmap running: 1.5 min
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/libnmap/process.py", line 267, in run
raise EnvironmentError(1, "nmap is not installed or could "
EnvironmentError: [Errno 1] nmap is not installed or could not be found in system path
Traceback (most recent call last):
File "./smb-autopwn.py", line 247, in <module>
report = parse_nmap(args)
File "./smb-autopwn.py", line 55, in parse_nmap
report = nmap_scan(hosts)
File "./smb-autopwn.py", line 107, in nmap_scan
report = NmapParser.parse_fromfile(os.getcwd()+'/smb-scan.xml')
File "/usr/local/lib/python2.7/dist-packages/libnmap/parser.py", line 191, in parse_fromfile
with open(nmap_report_path, 'r') as fileobj:
IOError: [Errno 2] No such file or directory: '/root/Desktop/autopwn/smb-scan.xml'
root@kali:~/Desktop/autopwn#
я так понимаю, что не находит nmap, но он есть:
root@kali:~/Desktop/autopwn# nmap -version
Nmap version 7.70SVN (
Platform: x86_64-unknown-linux-gnu
Compiled with: nmap-liblua-5.3.3 nmap-libz-1.2.8 nmap-libpcre-7.6 nmap-libpcap-1.7.3 nmap-libdnet-1.12 ipv6
Compiled without: openssl libssh2
Available nsock engines: epoll poll select
root@kali:~/Desktop/autopwn#
Nmap version 7.70SVN (
Ссылка скрыта от гостей
)Platform: x86_64-unknown-linux-gnu
Compiled with: nmap-liblua-5.3.3 nmap-libz-1.2.8 nmap-libpcre-7.6 nmap-libpcap-1.7.3 nmap-libdnet-1.12 ipv6
Compiled without: openssl libssh2
Available nsock engines: epoll poll select
root@kali:~/Desktop/autopwn#
может кто сталкивался с таким и/или знает как решить проблему?