-

   rss_rss_hh_full

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 1

:


apt2

, 22 2017 . 13:37 +
antgorka 13:37

apt2

  • Tutorial


20 Kali Linux 2017.2. . apt2 Automated Penetration Testing Toolkit.


2017.2 .
, Kali Linux

apt-get update
apt-get upgrade
apt-get dist-upgrade



apt-get install apt2

.

github , Metasploit Framework.

Metasploit RPC .


msfconsole
load msgrpc

. .


/usr/share/apt2



default.cfg

[metasploit]

[metasploit]
msfhost=127.0.0.1
msfport=55552
msfuser=msf
msfpass=kqVbTlmr
msfexploitdelay=20

nmap . SYN (-sS) (-A), Nmap , , NSE traceroute. -Pn, apt2 nmap.

[nmap]
scan_target=192.168.1.0/24
scan_type=S
scan_port_range=1-1024
scan_flags=-A

20 . .

[threading]
max_modulethreads=20

Reponder. , [responder] [default_tool_paths]. responder_timeout=30, .

[searching]

[searching]
file_search_patterns=*.bat,*.sh,*passwd*,*password*,*Pass*,*.conf,*.cnf,*.cfg,*.config

, , , , NFS . - .

API Shodan. . , . , API . API Shodan .

[apikeys]
#apt2_shodan_apikey=CHANGEME
#apt2_linkedin_apikey=CHANGEME


-h





SAFE_LEVEL 1 5 apt2 . 5. 4.

EXCLUDE_TYPES .

--target , -f, apt2 XML nmap. , nmap XML -oX.

--listmodules .

apt2 --listmodules

, ( EXCLUDE_TYPES), Safety Level . Safety Level , -s , apt2 .



apt2 192.168.1.4, Ubuntu.

apt2 -v -v -s 1 -b --target 192.168.1.4

, , API







, apt2 /root/.apt2/proofs



. .

Windows 192.168.1.7 nmap apt2, XML .

nmap -n -Pn -A -oX scan1 192.168.1.7
apt2 -s 1 -b -v -v -f scan1

, ms08-067.



,

[!] VULN [ms08-067] Found on [192.168.1.7]

Metasploit RPC



.







firefox /root/.apt2/reports/reportGenHTML_flcgfsqhji.html



apt2, /usr/share/apt2/modules . python , , .
Original source: habrahabr.ru (comments, light).

https://habrahabr.ru/post/338460/

:  

: [1] []
 

:
: 

: ( )

:

  URL