-
-
Notifications
You must be signed in to change notification settings - Fork 1
Usage Instructions
-
YOU MUST HAVE METASPLOIT FRAMEWORK INSTALLED TO USE THIS SCRIPT!!!
- Metasploit is preinstalled in kali linux by default, but, if you do not have it for some reason, run:
sudo apt update && sudo apt install -y metasploit-framework
- For distros other than Kali Linux, see https://github.com/rapid7/metasploit-framework for install instructions
- Metasploit is preinstalled in kali linux by default, but, if you do not have it for some reason, run:
-
If you don't know if you have metasploit installed, run:
msfconsole --version
You should get a result indicating which msf version is installed: if not, see step 1.
- Set executable permission on the script (before first run only)
chmod +x ksploit.sh
- (Optional) Add K-Sploit directory to PATH
echo 'export PATH="$PATH:/path/to/K-Sploit"' >> ~/.bashrc
source ~/.bashrc
Replace
/path/to/K-Sploit
with the actual path to ksploit.sh (i.e.,/home/user/git/K-Sploit
)if you use a different shell, modify
'.bashrc'
in the commands above accordingly. For example, if you use zsh,'.bashrc'
should be replaced by'.zshrc'
in the echo and source commands above.
- Run the script
./ksploit.sh
- Press
enter
to continue
-
Press
1
to load the listeners menu to craft and quickly deploy metasploit listeners. Choose from Windows x86/x64, Linux x86/x64, Mac/OSX, and Android listeners. -
Press
enter
to continue.
- Choose an option from the Listeners Menu
-
Press
2
to load the Payloads Menu to quickly and easily craft metasploit payloads for a wide variety of targets (options for windows x86/x64, linux x86/x64, mac/osx, android, and python). -
Press
enter
to continue.
- Choose an option from the Payloads Menu
- Press
3
to load the Windows executable injection menu to inject Metasploit payloads into Windows executables.
######################################################
Please note:
The Shell generation functionality has been removed.
Instead, please use Payload Forge
#######################################################
The KSploit script is a tool intended for legitimate penetration testing and security research purposes only. It should only be used with explicit permission and in accordance with all applicable laws and regulations. The ability to generate malicious payloads and shell scripts raises significant ethical and legal concerns. Users of this tool are solely responsible for ensuring their actions are authorized and lawful.
Under no circumstances should this script be used to gain unauthorized access to systems, disrupt operations, or conduct any other malicious activities. The author and distributors of this tool will not be held liable for any misuse or damages resulting from its use.
It is the user's responsibility to only utilize KSploit within the scope of their authorized testing activities, to respect the privacy and security of all parties involved, and to discontinue use if concerns arise about the legality or ethics of their actions. Improper or illegal use of this tool may result in severe civil and criminal penalties.
📄 Table of Contents |
---|
Home |
Installation Instructions |
Usage Instructions |
- Listeners Usage |
- Payloads Usage |
- Persistence Scripts Usage |
- Windows exe Payload Injection Usage |