Skip to content

Shell script

Compare
Choose a tag to compare
@suchsoak suchsoak released this 22 Nov 20:18
· 35 commits to main since this release
80edeaf
 ___  ___   ___  _  __ ___   ___  ___  ___  ___  _____ 
| _ \/   \ / __|| |/ // __| / __|| _ \|_ _|| _ \|_   _|
|  _/| - || (__ |   < \__ \| (__ |   / | | |  _/  | |  
|_|  |_|_| \___||_|\_\|___/ \___||_|_\|___||_|    |_|  

[1] Normal Packages
[2] With Hacking tools (nmap, aicrack-ng...)
[3] Only Hacking tools
[4] Update

Github: github.com/suchsoak
BY: suchsoak
V:1.0.1

What's new

The provided shell script is a versatile installation tool with a clear and organized structure. It begins by displaying a banner with ASCII art and relevant information, such as version and source details. The user is prompted to select an option from a menu (options 1 to 4), with input validation to ensure a valid choice.

The script utilizes a case statement to execute specific code blocks based on the chosen option. Notably, option 1 is designed to install packages based on the user's operating system. The script checks for Debian, Ubuntu, Linux Mint, Kali (Debian-based), Arch Linux, Fedora, and Android. For each supported OS, it contains corresponding code to install essential packages and tools.

The script also includes a sub-option (1.1) under option 1, focusing on the installation of Nethunter on Termux for Android devices. The script displays an ASCII art banner for Nethunter and provides the necessary steps for installation.

[1] Normal Packages

I fixed some parckgaes that I didn't have in their standard libraries.

For example, sudo dnf install iw.

And I also added more packages, like .

sudo dnf install snapd -y
sudo apt instal snap -y
sudo apt install htop -y
sudo pacman -S gcc --noconfirm

[2] With Hacking tools

Script 2 will download both normal packages and cyber security tools.

Warning

It's important to note that the usage of hacking tools should comply with ethical standards and legal regulations. Unauthorized use of such tools is illegal and can lead to serious consequences. This script should only be used in ethical hacking and security testing scenarios with proper authorization.

In this part of the script

clear
sudo apt update
clear
Hackingtools=$(cat << "tools"
 _  _  ___   ___  _  __ ___  _  _   ___ 
| || |/   \ / __|| |/ /|_ _|| \| | / __|
| __ || - || (__ |   <  | | | .  || (_ |
|_||_||_|_| \___||_|\_\|___||_|\_| \___| 
Github: github.com/suchsoak
BY: suchsoak
V:1.0.1
tools
)
echo "$Hackingtools"
sleep 3 > /dev/null
clear
sudo apt install nmap -y
sudo apt install aircrack-ng -y
sudo apt install wifite -y
sudo apt install hydra -y
sudo apt install tcpdump -y
sudo apt install sqlmap -y
sudo apt install john -y
sudo apt install hashcat -y
sudo apt install mcrypt -y
sudo apt install proxychains4 -y
sudo apt install tor -y
sudo apt install host -y
sudo apt install dnsrecon -y
sudo apt install netcat -y

Several famous tools will be downloaded, for people who are curious or study hacking. Tools and also tor browsers.

                     . ..                        
                 ... . .......~. ..               
            ..... ... ...+==+=+:~.. ..            
          .  ..  . . .  .~::++=o==+:~ . .         
         . ..  .  .   .       ..~+=o=+.  .        
       .  .   . .. .. ...~:~~..  ..~+o=+.  .      
        .   .           .+===o+:..  .:=o=~  .     
         .      .  .      ..~:=oo+. . ~=o=~       
   .   .       .    .    .    .~=o=~   .=o=.  .   
   .                    .+++~   .+oo~   ~oo:      
         .               +ooo~   .oo+   .=o=.     
                        .+ooo+    =o=    =o=      
                        .+oo=:   .=o+   .=o+      
                         ++:.   .+o=.   ~oo:      
                               ~=o=~   .=o=.      
                          ..~:=o=:.   .=o=.       
                         :====+:.    ~=o=.        
                         ~~..     .~+o=:          
                               .~+===+.           
                         ~~::+=o==+~              
                         :=+++:~.    

As it is in the script, tools such as wireshark and tcpdump will also be installed, regardless of the operating system that the script supports.

[3] Only Hacking tools

Option 3 will install only the cyber security tools, such as nmap, sqlmap...

)
echo "$wpscan"
sleep 2 > /dev/null
sudo pacman -S wpscan --noconfirm
clear
wireshark=$(cat << "shark"
+------------------------------+
|oooooooooooooooooooo++++++++++|
|oooooooooooooooo+++::+::::.::+|
|oooooooooooo+++++:::::.:.::.+o|
|oooooooooo++:++::..::.....:+oo|
|ooooooooo+:++:............+ooo|
|ooooooo++++::.:...........+ooo|
|ooooo++++::............ . oooo|
|oooo++++:::....... . .  . oooo|
|ooo+::+:........ .   .  ..+ooo|
|ooo+++:....... ..  .     .+ooo|
|oo+++::........ .         +ooo|
|o+:+:....... .            :ooo|
|++:+++++++++::::::.....:.::+oo|
|++++++++++++++++++++++:++:+:+o|
|+++++++++++++++++++++++++++++o|
+------------------------------+
shark
)

echo "$wireshark"
sleep 2 > /dev/null
sudo pacman -S wireshark-qt --noconfirm
sudo pacman -S wireshark-cli --noconfirm
sudo pacman -S nmap --noconfirm
sudo pacman -S aircrack-ng --noconfirm
sudo pacman -S hydra --noconfirm
sudo pacman -S wifite --noconfirm
sudo pacman -S proxychains --noconfirm
sudo pacman -S hashcat --noconfirm
sudo pacman -S john --noconfirm
sudo pacman -S tor --noconfirm

Termux

      ...           
   ...~:+o+        
    ......++::::    
         ~o    :+   
          +:::::.   
              ~:~  
                 .  
 _ __ ____  __    ___                             
| |/ //   \| |   |_ _|       
|   < | - || |__ |   |       
|_|\_\|_|_||____||___|  

    [1] Nethunter Install
    [2] No Install 

This is a very large script and I'm struggling to have time for my tools, so for termux it's still going to take a while to have more tools. However, I'm going to improve the whole script and more content will come in.

For now we have

    pkg install nmap -y
    pkg install aircrack-ng -y
    pkg install sqlmap -y
    pkg install tcpdump -y
    pkg install nmap-ncat -y
    pkg install tor -y
    pkg install libcap-ng -y
    pkg install lvm2 -y
    pkg install mailutils -y
    pkg install nmh -y 
    pkg install tsduck-tools -y

[4] Update

In this part, the script will be updated. If have any updates on github.

4)

git pull
Hacking Tools Link
Nmap https://nmap.org/
Aircrack-ng https://www.aircrack-ng.org/
Hydra https://www.kali.org/tools/hydra/
Wifite https://github.com/derv82/wifite2
Proxychains https://github.com/haad/proxychains or https://www.kali.org/tools/proxychains-ng/
john https://en.wikipedia.org/wiki/John_the_Ripper
Tor https://www.torproject.org/
Wireshark https://www.wireshark.org/
Metasploit https://www.metasploit.com/
Hashcat https://hashcat.net/hashcat/ or https://github.com/hashcat/hashcat
Wpscan https://wpscan.com/ or https://github.com/wpscanteam/wpscan
dnsrecon https://www.kali.org/tools/dnsrecon/
Sqlmap https://sqlmap.org/ or https://github.com/sqlmapproject/sqlmap
Netcat https://nmap.org/ncat/ or https://en.wikipedia.org/wiki/Netcat