![]() |
|
[Tut] EzpzShell: An Easy-Peasy Python Script That Simplifies Revshell Creation - Printable Version +- Sick Gaming (https://sickgaming.net) +-- Forum: Programming (https://sickgaming.net/forum-76.html) +--- Forum: Python (https://sickgaming.net/forum-83.html) +--- Thread: [Tut] EzpzShell: An Easy-Peasy Python Script That Simplifies Revshell Creation (/thread-100733.html) |
[Tut] EzpzShell: An Easy-Peasy Python Script That Simplifies Revshell Creation - xSicKxBot - 02-11-2023 EzpzShell: An Easy-Peasy Python Script That Simplifies Revshell Creation 5/5 – (1 vote) Code: EzpzShell = "Easy Peasy Shell" EzpzShell GitHub: https://github.com/H0j3n/EzpzShellWHAT IS EzpzShell? ![]() EzpzShell is a Python script that helps to streamline the revshell payload and listener creation process for ethical hackers, pentesters, and CTF gamers. ![]() There are many file types available, and it outputs several different payload options to choose from, letting you pick the most efficient option for your specific use case. Today I’ll guide you through the installation and setup of Code: EzpzShell.py Recommended: How I Set Up My Virtual Hacking Laboratory for Safe and Legal Penetration TestingINSTALLATION ![]() We’ll need to temporarily switch the internet setting on our attack machine (Kali) to “bridged adapter”. This will create an IP for our virtual machine as if it was a physical machine on our own network. After switching the setting, we boot up Kali and grab the Git repo for Code: EzpzShell.py![]() ![]() Now that we have installed Code: EzpzShell.pyThis will switch the internet off again and put the attack box back into the hacking lab network. CREATE A BASH ALIAS To simplify the command ( Code: python3 ~/EzpzShell.pyCode: .bash_aliases![]() Next, let’s run the following command to make the bash alias permanent. Code: source ~/.bashrcNow we can easily run Code: EzPzShell.pyCode: ezpz![]() We’ll run the command “ Code: ezpz 192.168.60.4 8888 pyThis is quicker than poking around the web for the right kind of shell, and it is also super handy that the listener is automatically started up and set to receive the revshell. Let’s use the first payload, the python script: ![]() After copying and pasting this into a new Code: shell.pyCode: python shell.pyAnd we catch it with EzPzShell immediately on our Kali attack machine! ![]() FINAL THOUGHTS ![]() As you can see, EzPzShell is a versatile Python script for reverse shell payload creation and listener spawning. It seamlessly sets up our listener to catch the revshell using the file type of our choice from a long list of options. I’ll be adding EzPzShell to my regular pen-testing toolkit and am confident that it will save me lots of time down the road in various CTF challenges and pentesting scenarios. Lookout for EzpzShell in future hacking tutorial videos. Recommended: [TryHackMe] Skynet Walkthrough Using Remote File Inclusion
|