Kali Linux



Based on this repo Tib3rius/AutoRecon

Install requirements:

apt-get install -y curl enum4linux gobuster nbtscan nikto nmap onesixtyone oscanner smbclient smbmap smtp-user-enum sslscan tnscmd10g whatweb snmpcheck wkhtmltopdf sipvicious seclists git

Clone the repo to desired directory:

git clone https://github.com/Tib3rius/AutoRecon.git
cd AutoAutoRecon
pip3 install -r requirements.txt

Bettercap 1.6.2 on Any Linux Based System Using Ruby Gem


Install Ruby Gem

apt-get install ruby-full
apt-get install libpcap-dev
gem update --system
gem install bettercap

find where gems are installed:

Run and look for "- GEM PATHS:"

gem environment

follow the path and append gem. for example:


Create a environmental symlink to Bettercap to root directory

ln -s /var/lib/gems/2.5.0/gems/bettercap-1.6.2/bin/bettercap /root/bettercap-1.6.2

run from root directory


SSL Strip Commands

Change the IP according to you usage

Basic SSL Strip

bettercap-1.6.2 -X -T --proxy

SSL Strip With XSS

bettercap-1.6.2 -X -T --proxy --proxy-module injectjs --js-data "<script>alert('SSL STRIP, Script Injection')</script>"

Installing Docker in Kali Linux


Add Docker PGP key, Configure Docker APT repository

curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' > /etc/apt/sources.list.d/docker.list
apt-get update

Install Docker

apt-get install -y docker-ce

Start Docker

systemctl start docker

Enable on Boot

systemctl enable docker

MobSF - Mobile-Security-Framework-MobSFMobile-Security-Framework-MobSF Docker

Based on MobSF/Mobile-Security-Framework-MobSF

docker run \
-d \
-it \
-h mobsf \
--name mobsf \
--restart always \
-e TZ=Asia/Jerusalem \
-p 50000:8000 \

Allow Secure SSH to Kali linux


Uncomment PermitRootLogin and change it to yes should look like this: PermitRootLogin yes

Start and enable SHH service on boot

systemctl start ssh
systemctl enable ssh

Try to connect via ssh with user root and its password.

Start SSH service at boot

sudo systemctl enable ssh.service

Reboot, check everything is working.

Follow SSH_Login_With_RSA_Keys Guide for securing your ssh login.

Install OpenVM Tools - VMware Tools

apt-get install open-vm-tools

Install rtl88xxua-dkms Driver for Wireless Wifi Card

apt-get install realtek-rtl88xxau-dkms

Auto login ROOT user when VM starts

nano /etc/gdm3/daemon.conf


  AutomaticLoginEnable = true
  AutomaticLogin = root

save and exit.

Disable Update Notifications

nano /etc/apt/apt.conf.d/99kali-menu

Comment the like this:

#DPkg::Post-Invoke { "[ ! -x /usr/share/kali-menu/update-kali-menu ] || /usr/share/kali-menu/update-kali-menu wait_dpkg"; }

Installing ADB and Fastboot For Android

apt-get install lib32z1
apt-get update && apt-get install android-tools-adb android-tools-fastboot

Fix SSH Broken Pipe in Kali

nano ~/.ssh/config

add this:

Host *

Installing Metasploit Framework

apt-get install metasploit-framewor
systemctl enable postgresql
systemctl start postgresql
msfdb init