File tree Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ postexploit_files:
2828# password: haveityourway
2929 - name: pam_unix.so
3030 path: linux-pam-backdoor/pam_unix.so
31+ - name: nmap
32+ path: Nmap/nmap-7.94_amd64
3133
3234postexploit_destpath: "/var/www/html"
3335postexploit_apache: True
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ postexploit_files:
1010# password: haveityourway
1111 - name : pam_unix.so
1212 path : linux-pam-backdoor/pam_unix.so
13+ - name : nmap
14+ path : Nmap/nmap-7.94_amd64
1315
1416postexploit_destpath : " /var/www/html"
1517postexploit_apache : True
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ WORKDIR=" ~/tmp"
4+
5+
6+ cd $WORKDIR
7+
8+ sudo apt install build-essential wget
9+
10+ wget https://nmap.org/dist/nmap-7.94.tar.bz2
11+
12+ tar xvfj nmap-7.94.tar.bz2
13+
14+ cd nmap-7.94
15+
16+ export CFLAGS=" -march=core2 -O2 -fomit-frame-pointer -pipe -fPIC"
17+ export CXXFLAGS=" -march=core2 -O2 -fomit-frame-pointer -pipe -fPIC"
18+ ./configure --without-subversion --without-liblua --without-zenmap --with-pcre=/usr --with-libpcap=included --with-libdnet=included --without-ndiff --without-nmap-update --without-ncat --without-liblua --without-nping --without-openssl
19+ make static
You can’t perform that action at this time.
0 commit comments