Skip to content

A simple webshell for performing arbitrary queries to a MySQL database. Perfect for when you can upload a webshell, but can't (or don't want to) form a tunnel.

License

Notifications You must be signed in to change notification settings

4wayhandshake/PHP-MySQL-webshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP-MySQL-webshell

A simple webshell for performing arbitrary queries to a MySQL database. Perfect for when you can upload a webshell, but can't (or don't want to) form a tunnel.


screenshot

USAGE

You must already have credentials for MySQL. There is no exploit here; it's basically just a webshell.

Clone this repo and substitute in your database credentials:

// ...
$databaseServer = 'localhost';
$databaseUsername = 'root';
$databasePassword = 'root';
$databaseName = 'mywebapp';
// ...

💡 Alternatively, use an existing connection that was formed in other code via an include.

Find a way to upload your webshell.

Visit the page and enter any queries into the input bar 😎


I hope you find this useful. Please give this repo a ⭐ if you enjoy it.

🤝🤝🤝🤝

4wayhandshake

About

A simple webshell for performing arbitrary queries to a MySQL database. Perfect for when you can upload a webshell, but can't (or don't want to) form a tunnel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages