安裝
-
輸入以下指令
1 2 3 4 5 6 7 8 9 10 11 12
sudo apt install git -y sudo apt install python3 -y sudo apt install python3-pip -y snap install feroxbuster cd ~ wget -c https://github.com/danielmiessler/SecLists/archive/master.zip -O SecList.zip unzip SecList.zip rm -f SecList.zip sudo mv ./SecLists-master/ /usr/share/seclists/ cd /usr/share/ sudo git clone https://github.com/CiscoCXSecurity/enum4linux.git sudo nano /usr/bin/enum4linux
-
當
/usr/bin/enum4linux
被開啟後貼上以下並存檔1 2 3
#!/bin/bash cd /usr/share/enum4linux/ && ./enum4linux.pl "$@"
-
繼續輸入已下指令
1 2 3 4 5
sudo chmod +x /usr/bin/enum4linux sudo apt install python3-impacket -y cd /usr/share/ sudo git clone https://gitlab.com/kalilinux/packages/oscanner.git sudo nano /usr/bin/oscanner
-
當
/usr/bin/oscanner
被開啟後貼上以下並存檔1 2
#!/bin/bash cd /usr/share/oscanner/ && ./oscanner.sh "$@"
-
繼續輸入已下指令
1 2 3 4 5 6 7 8 9 10 11
sudo chmod +x /usr/bin/oscanner sudo apt-get install default-jre -y sudo wget http://www.red-database-security.com/scripts/tnscmd10g.pl.txt -O /usr/bin/tnscmd10g sudo chmod +x /usr/bin/tnscmd10g sudo apt install curl dnsrecon gobuster nbtscan nikto nmap onesixtyone redis-tools smbclient smbmap snmp sslscan sipvicious whatweb wkhtmltopdf -y sudo apt install python3-venv python3 -m pip install --user pipx python3 -m pipx ensurepath cd ~ source .bashrc pipx install git+https://github.com/Tib3rius/AutoRecon.git
-
完成
後記 : sudo用法
以下方法二擇一即可
方法一
|
|
方法二
|
|