Web Shells
There are lot of good web shells online such as phpbashand p0wny-shell.
SecLists also have Web-shells in the /opt/useful/SecLists/Web-Shells
directory.
Custom Web Shell
e.g PHP
web shell
We can execute commands by:
e.g .NET
web shell
Reverse Shell
Pentestmonkey’s PHP reverse shell is well known.
When using, we have to change the following lines:
Our netcat listener will intercept the incoming reverse shell connection request:
Custom Reverse Shell
Sometimes system
function is not allowed.
This is why we custom reverse shell sometimes.
We can use tools like msfvenom
to create a reverse shell: