Skip to content

Bash code for installing essential programming && penetration tools, as well as some utils. 2023.

Notifications You must be signed in to change notification settings

a13xe/Kali-initial-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

Kali-initial-setup

🔴 Programming Tools
Selective Installation

Selective Installation

  • Update the Package Lists First, update the package lists to ensure you have the latest information:
sudo apt-get update
  • Install C and C++ You can install the GCC compiler for C and C++ using the following command:
sudo apt-get install build-essential
  • Install C# For C#, you can install Mono, which is an open-source implementation of Microsoft's .NET Framework.
sudo apt install mono-devel
  • Install Java You can install Java's OpenJDK with:
sudo apt-get install default-jdk
  • Install Python Python is likely already installed on Kali Linux, but you can ensure you have it with:
sudo apt install -y python3 python3-pip
  • Install glib
sudo apt-get install libglib2.0-dev
sudo apt-get install libgtk2.0-dev
  • Install QT Creator
sudo apt-get -y install build-essential openssl libssl-dev libssl1.0 libgl1-mesa-dev libqt5x11extras5
sudo apt install qtbase5-dev qt5-qmake qtbase5-dev-tools
sudo apt-get install qtcreator

Install C, C++, C#, Java, Python, glib, QT-Creator:

sudo apt-get update
sudo apt-get -y install build-essential openssl libssl-dev libssl1.0 libgl1-mesa-dev libqt5x11extras5
sudo apt-get -y install libglib2.0-dev
sudo apt-get -y install libgtk2.0-dev
sudo apt -y install qtbase5-dev qt5-qmake qtbase5-dev-tools
sudo apt-get -y install qtcreator
sudo apt -y install mono-devel
sudo apt-get -y install default-jdk
sudo apt -y install -y python3 python3-pip

🔴 Penetration Tools
Selective Installation

Selective Installation

Nmap (Network Mapper):

sudo apt install nmap

Wireshark (Network Protocol Analyzer):

sudo apt install wireshark

Metasploit Framework (Penetration Testing Framework):

sudo apt install metasploit-framework

Aircrack-ng (Wireless Network Security Assessment Tool):

sudo apt install aircrack-ng

Nikto (Web Server Scanner):

sudo apt install nikto

Hashcat (Password Recovery and Cracking Tool):

sudo apt install hashcat

Hydra (Password Cracking Tool):

sudo apt install hydra

SQLMap (SQL Injection and Database Penetration Testing Tool):

sudo apt install sqlmap

Gobuster (Directory/File Brute-Force Tool):

sudo apt install gobuster

Sublist3r (Subdomain Enumeration Tool):

sudo apt install sublist3r

Dirb (Directory Brute-Forcing Tool):

sudo apt install dirb

Burp Suite CE (Web Vulnerability Scanner and Proxy):

sudo apt install burpsuite

Install all penetration tools that've been listed:

sudo apt-get update
sudo apt -y install nmap wireshark metasploit-framework aircrack-ng nikto hashcat hydra sqlmap gobuster sublist3r dirb burpsuite

🔴 Hardware Stuff
  • Install Bluetooth services and add em to autostart for XFCE (and propably GNOME) Desktop Env:
# Install dependencies
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install bluetooth bluez bluez-tools rfkill
sudo systemctl enable bluetooth
sudo systemctl start bluetooth
sudo rfkill unblock bluetooth
sudo service bluetooth start
sudo apt-get -y install blueman
# Create autostart directory if it doesn't exist
mkdir -p ~/.config/autostart
# Make sure autostart directory has appropriate permissions
chmod -R 755 ~/.config/autostart
# Add bluetooth to autostart
echo -e '[Desktop Entry]
Type=Application
Exec=bluetooth-applet
Hidden=false
NoDisplay=false
Name=Bluetooth
Comment=Enable Bluetooth at startup' | tee ~/.config/autostart/bluetooth.desktop
  • Install Pavucontrol (audio device manager) and add it to autostart for XFCE (and propably GNOME) Desktop Env:

This one is very optional! In case you're using multiple audio devices!

sudo apt-get install pasystray
mkdir -p ~/.config/autostart
chmod -R 755 ~/.config/autostart

# Add Pavucontrol to autostart
echo "[Desktop Entry]
Name=Pavucontrol
Exec=pavucontrol --start-hidden
Comment=Audio Volume Control
Terminal=false
Type=Application" > ~/.config/autostart/pavucontrol.desktop

# Add Pasystray to autostart
echo "[Desktop Entry]
Name=Pasystray
Exec=pasystray
Comment=PulseAudio System Tray
Terminal=false
Type=Application" > ~/.config/autostart/pasystray.desktop

🔴 Useful Utilities
Selective Installation

Selective Installation

Guake (Drop-down terminal with quick access):

sudo apt install guake
xfce4-session-settings
  • In the Session and Startup window, go to the Application Autostart tab.
  • Click on the Add button to add a new startup application.
  • In the Add Application dialog, provide the necessary information:
    • Name: Guake
    • Description: Terminal dropdown
    • Command: guake
  • Click "OK" to save the changes.

Flameshot (A Powerful Screenshot Tool):

sudo apt install flameshot
xfce4-session-settings
  • In the Session and Startup window, go to the Application Autostart tab.
  • Click on the Add button to add a new startup application.
  • In the Add Application dialog, provide the necessary information:python --version
    • Name: Flameshot
    • Description: Screenshot util
    • Command: flameshothttps://github.com/lpereira/hardinfo
  • Click "OK" to save the changes.

Hardinfo (System info and benchmarking util):

sudo apt install hardinfo
hardinfo

Bleachbit (System Cleaner):

sudo apt install bleachbit

Gufw (Uncomplicated Linux Firewall):

sudo apt install gufw

Install all the packages that were listed:

  • Install all packages:
sudo apt-get update
sudo apt -y install guake flameshot hardinfo bleachbit gufw
  • Include in the autorun for XFCE (and propably GNOME) Desktop Env:
# Create autostart directory if it doesn't exist
mkdir -p ~/.config/autostart
# Make sure autostart directory has appropriate permissions
chmod -R 755 ~/.config/autostart
# Add guake to autostart
echo -e '[Desktop Entry]
Type=Application
Name=Guake
Comment=terminal emulator
Exec=sleep 5 && guake
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false' > ~/.config/autostart/guake.desktop
# Add Flameshot to autostart
echo -e '[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Flameshot
Exec=flameshot
Comment=Screenshot util' > ~/.config/autostart/flameshot.desktop

About

Bash code for installing essential programming && penetration tools, as well as some utils. 2023.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published