WeaponizeKali.sh is a Bash script aimed at automating the process of downloading and installing extra tools for internal penetration tests with Kali Linux.
Basic principles behind this project are:
- Use bleeding-edge versions of offensive toolkits to possess their latest features and fixes.
- When installing 3rd party software, use isolated environments to minimize potential dependency hell.
- Keep Windows exploitation scripts and binaries on hand in case you find yourself in an "offline situation".
The script will create two directories within CWD: tools
and www
. The first one contains all the tools that will be installed on Kali. The second one contains all the scripts and binaries that will be downloaded and may be transferred onto the victim host later.
WeaponizeKali.sh heavily relies on Python virtual environments and uses pipx and poetry to orchestra venvs.
In order to launch the bleeding-edge version of a tool installed with pipx and not the version that is already shipped with Kali, you should modify the PATH
variables:
- Modify
PATH
for a normal user with any method you want (.bashrc
/.profile
/.zshrc
/ etc.):export PATH="$HOME/.local/bin:$PATH"
. - Modify
PATH
for the superuser by modifyingsecure_path
within sudoers (sudo visudo
):
Now you can download WeaponizeKali.sh and run it from your home directory (pip may prompt for unlocking the keyring during the process). When it's done, you can check the results in ~/tools
and ~/www
:
~$ cd
~$ curl -sL https://github.com/penetrarnya-tm/WeaponizeKali.sh/raw/main/WeaponizeKali.sh | bash -s -- -idtw
~$ ls -la ~/tools ~/www
-i
switch, existing ./tools
and ./www
directories will be deleted.
It's recommended to run WeaponizeKali.sh once on a clean installation of Kali Linux.
To execute WeaponizeKali.sh with full set of arguments again after it has already been ran once, remove the existent virtual environments first and then run the script:
~$ cd
~$ rm -rf ~/.local/pipx
~$ ./WeaponizeKali.sh -idtw
~$ ./WeaponizeKali.sh -h
)
( ( ( /( ( )
)\))( ' ( ) ( ( )\()) ) )\ ( ( /(
((_)()\ ) ))\ ( /( ` ) ( ( )\ ( ))\ ((_)\ ( /( ((_))\ ( )\())
_(())\_)() /((_))(_)) /(/( )\ )\ )((_) )\ /((_) _ ((_))(_)) _ ((_) )\ ((_)\
\ \((_)/ /(_)) ((_)_ ((_)_\ ((_) _(_/( (_)((_)(_)) | |/ /((_)_ | | (_) ((_)| |(_
\ \/\/ / / -_)/ _` || '_ \)/ _ \| ' \))| ||_ // -_) | ' < / _` || | | | _ (_-<| ' \
\_/\_/ \___|\__,_|| .__/ \___/|_||_| |_|/__|\___| |_|\_\\__,_||_| |_|(_)/__/|_||_|
|_|
"the more tools you install, the more you are able to PWN"
{ https://github.com/penetrarnya-tm/WeaponizeKali.sh } { vX.Y.Z }
usage: WeaponizeKali.sh [-h] [-i] [-d] [-t] [w]
optional arguments:
-h show this help message and exit
-i initialize filesystem (re-create ./tools and ./www directories)
-d resolve dependencies
-t download and install tools on Kali Linux
-w download scripts and binaries for transferring onto the victim host
- BloodHound.py
- BloodHound
- CVE-2019-1040-scanner
- CVE-2020-1472-checker
- CrackMapExec
- Ebowla
- Empire
- LDAPPER
- MS17-010
- Nim · choosenim
- Nim-Scripts
- PCredz
- PrivExchange
- Responder
- RustScan
- ShellPop
- TrustVisualizer
- Windows-Exploit-Suggester
- ack3
- aclpwn.py
- adidnsdump
- aquatone
- bettercap
- bloodhound-quickwin
- chisel
- crowbar
- dementor.py
- dsniff
- enum4linux-ng
- evil-winrm
- ffuf
- gateway-finder-imp
- gitjacker
- gobuster
- htbenum
- impacket
- kerbrute
- krbrelayx
- ldapdomaindump
- masscan
- mitm6
- naabu
- nishang
- ntlm-scanner
- nullinux
- odat
- pypykatz
- pywerview
- rbcd-attack
- rbcd_permissions
- rdp-tunnel
- spraykatz
- updog
- xc
- ADRecon.ps1
- AccessChk (Sysinternals) · AccessChk (accepteula)
- Bypass-AMSI.ps1
- Bypass-UAC.ps1
- Discover-PSMSExchangeServers
- Discover-PSMSSQLServers
- DomainPasswordSpray.ps1
- Intercept-NG
- Inveigh.ps1
- InveighZero · Pre-Compiled · PowerSharpPack.ps1
- Invoke-ACLPwn.ps1
- Invoke-Kerberoast.ps1 (Empire)
- Invoke-Mimikatz.ps1 (Empire)
- Invoke-Portscan.ps1 (PowerSploit)
- Invoke-RunasCs.ps1
- Invoke-SMBClient.ps1
- Invoke-SMBEnum.ps1
- Invoke-SMBExec.ps1
- Invoke-WMIExec.ps1
- JAWS
- Out-EncryptedScript.ps1 (PowerSploit)
- PEASS · linPEAS.sh · winPEAS.exe
- PowerUp.ps1 (PowerSploit)
- PowerUpSQL.ps1
- PowerView2.ps1 (PowerSploit)
- PowerView3.ps1 (PowerSploit) (New-GPOImmediateTask)
- PowerView3.ps1 (PowerSploit)
- PowerView4.ps1 (ZeroDayLab)
- Powermad.ps1
- PrivescCheck.ps1
- PrintSpoofer · Invoke-BadPotato.ps1 (PowerSharpPack)
- ProcDump (Sysinternals)
- RoguePotato
- Rubeus · Pre-Compiled · Invoke-Rubeus.ps1 (Empire) · Invoke-Rubeus.ps1 (PowerSharpPack)
- Seatbelt · Pre-Compiled · Invoke-Seatbelt.ps1 (PowerSharpPack)
- SessionGopher.ps1
- Set-GpoStatus.ps1
- SharpDPAPI · Pre-Compiled · Invoke-SharpDPAPI.ps1 (PowerSharpPack)
- SharpGPOAbuse · Pre-Compiled · Invoke-SharpGPOAbuse.ps1 (PowerSharpPack)
- SharpHound.exe
- SharpHound.ps1
- Sherlock.ps1
- SpoolSample · Pre-Compiled · Invoke-Spoolsample.ps1 (PowerSharpPack)
- Watson · Pre-Compiled · Invoke-SharpWatson.ps1 (PowerSharpPack)
- WinPwn
- chisel
- htbenum.sh
- les.sh
- mimikatz
- netcat for Windows
- plink
- powercat.ps1
- pspy
- rdp2tcp.exe
- revshells.com