Skip to content

RandomRobbieBF/Rogue-MySql-Server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rogue-MySql-Server

Edit script and change file to read and server port if you want. Run script and connect to your server for read file from client side. Read mysql.log for readed file content.

docker build -t Rogue-MySql-Server:latest .
docker run -it -p 3306:3306 -v $(pwd):/log/ Rogue-MySql-Server:latest

You can cat mysql.log to see what has been captured.

Currently attempts to grab the following:

filelist = (
    '/etc/passwd',
    '/etc/hosts',
    '/var/www/html/index.php',
    '/var/www/html/wp-config.php',
    '/var/www/index.php',
    '/var/www/wp-config.php'
)

Just add more paths for files you want and every time you query the mysql server it will attempt to grab a new file.

About

MySQL fake server for read files of connected clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Dockerfile 2.5%