Playing around with Metasploit Unleashed Tutorial – Metasploit Database

Categories Hacker Shit, Random Musings, Security Stuff, Stuff To Learn

So, I’m going through the Offensive Security Metasploit course, and I just ran into my first issue: the database. Each time I would try it I kept getting the issue that it was not connected, and I could not get it to connect. After a bit of searching, I found the solution below.

root@MyPhuckingLaptop:~# msfdb delete
root@MyPhuckingLaptop:~# msfdb init
Creating database user 'msf'
Enter password for new role: 
Enter it again: 
Creating databases 'msf' and 'msf_test'
Creating configuration file in /usr/share/metasploit-framework/config/database.yml
Creating initial database schema

root@MyPhuckingLaptop:~# cp /usr/share/metasploit-framework/config/database.yml /root/.msf4/
root@MyPhuckingLaptop:~# sudo service postgresql restart
root@MyPhuckingLaptop:~# sudo msfconsole
                                                  
     ,           ,
    /             \
   ((__---,,,---__))
      (_) O O (_)_________
         \ _ /            |\
          o_o \   M S F   | \
               \   _____  |  *
                |||   WW|||
                |||     |||


       =[ metasploit v4.16.40-dev                         ]
+ -- --=[ 1741 exploits - 996 auxiliary - 301 post        ]
+ -- --=[ 526 payloads - 40 encoders - 10 nops            ]
+ -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]

msf > db_status
[*] postgresql connected to msf
msf > 

Today’s New Feed

Categories Hacker Shit, News Feed Stuff, Random Musings, Security Stuff, Stuff To Learn

Well, this is nothing new…
#Hackers spread #Android #spyware through #Facebook using #Fake profiles

Hackers spread Android spyware through Facebook using Fake profiles


#hackerstuff


Over 50,000 #baby #monitors can be #hacked but its #vendor is #AWOL

Over 50,000 baby monitors can be hacked but its vendor is AWOL


#hackerstuff #HackThePlanet


#Metasploit Unleashed – Free #Ethical #Hacking #Course
https://www.offensive-security.com/metasploit-unleashed


#Hackers for #Charity #HFC
https://www.hackersforcharity.org/

Today’s News Feed

Categories Hacker Shit, News Feed Stuff, Random Musings, Security Stuff, Stuff To Learn

WORDS OF WISDOM OF THE FUCKING DAY:
“You cannot be lonely if you like the person you are alone with.”


#Kali #Linux in the #Windows App Store
https://www.kali.org/news/kali-linux-in-the-windows-app-store/
#hackerstuff


Life-saving #Pacemakers, #Defibrillators Can Be #Hacked and Turned Off

Life-saving Pacemakers, Defibrillators Can Be Hacked and Turned Off


#hackerstuff


Check if your #Internet-connected #devices are #public on #Shodan.
http://iotscanner.bullguard.com
#hackerstuff #HackThePlanet


I’ve Just Launched “#Pwned #Passwords” V2 With Half a Billion Passwords for Download
https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/
#hackerstuff


#NoMacine Un-Initialised Variable #Privilege #Escalation – A Fuzz-Less #Exploit #Tutorial – #CVE20186947

NoMachine – The Road To Code Execution Without Fuzzing – CVE-2018-6947


#hackerstuff #HackThePlanet


Today’s News Feed

Categories Hacker Shit, News Feed Stuff, Random Musings, Security Stuff, Stuff To Learn

#Hackers made $3M on #Jenkins #server in one of biggest #mining #ops ever

Hackers made $3M on Jenkins server in one of biggest mining ops ever


#hackerstuff #HackThePlanet


All-girl #engineer team invents #solar-powered #tent for the #homeless
https://mashable.com/2017/06/15/diy-girls-solar-powered-tent-homeless
#awesome


#Critical #macOS #Sierra disk image #flaw leads to #data #loss

Critical macOS Sierra disk image flaw leads to data loss


#hackerstuff


#iFrame and #HTML #Injection
https://secapps.com/tutorials/html-injection
#hackerstuff #HackThePlanet


#Malicious Entity #Injection (#MEI) to do a Laughing Man style #attack on X Reality
https://medium.com/@aoighost/malicious-entity-injection-mei-to-do-a-laughing-man-style-attack-on-x-reality-61e93672a81a
#hackerstuff #HackThePlanet


#Anchor #CMS publicly #exposes #database #passwords
https://www.bleepingcomputer.com/news/security/anchor-cms-sites-may-be-spewing-their-database-passwords/
#hackerstuff #feedly


#Code #Injection
http://www.berkdusunur.net/2018/02/remote-code-execution-web-for-pentester.html
#hackerstuff #HackThePlanet


#Snapchat #Hack Affects 55,000 #Users, in Latest Sting for Social Media Firm

Snapchat Hack Affects 55,000 Users, in Latest Sting for Social Media Firm


#hackerstuff


#Hackers #Exploit Tegra Chipset #Flaw to Run #Linux OS on #Nintendo #Switch

Hackers Exploite Tegra Chipset Flaw to Run Linux OS on Nintendo Switch


#hackerstuff #HackThePlanet