Guest User

Untitled

a guest
Dec 20th, 2017
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. development:
  2. adapter: "postgresql"
  3. database: "msf3"
  4. username: "msf3"
  5. password: "testtest"
  6. port: 7337
  7. host: "localhost"
  8. pool: 256
  9. timeout: 5
  10.  
  11. production:
  12. adapter: "postgresql"
  13. database: "msf3"
  14. username: "msf3"
  15. password: "testtest"
  16. port: 7337
  17. host: "localhost"
  18. pool: 256
  19. timeout: 5
  20.  
  21. service postgresql restart
  22. service metasploit restart
  23.  
  24. msf> db_connect msf3:testtest@127.0.0.1/msf3
  25. msf> db_stats
  26. [*] postgresql selected, no connection
  27.  
  28. [-] Failed to connect to the database: FATAL: password authentication failed for user "msf3"
  29.  
  30. msfdb delete
  31. msfdb init
  32. msfconsole
  33.  
  34. sudo /opt/metasploit/postgresql/scripts/ctl.sh start postgresql
Add Comment
Please, Sign In to add comment