-1

Basically last night i was successfully trying out some exploits on my local network, unfortunately msfconsole wont even start today.I'd appreciate if someone who knows his stuff about this answers my question. Error I'm getting is this:

/usr/bin/msfconsole 12: require: not found
/usr/bin/msfconsole 18: Syntax error: "(" expected (expecting "then").
Alex Adic
  • 33
  • 3

1 Answers1

0

Try this

# service postgresql start
# msfdb init
# msfconsole
madmanali93
  • 273
  • 2
  • 12
  • Thanks for Your help.Tried it.service postgresql started, after entering msfdb init i've got: "database already initialized" and then i get the same errors after entering "msfconsole". – Alex Adic Oct 26 '15 at 20:27
  • Is everything upto date on your system? – madmanali93 Oct 26 '15 at 20:31
  • Yes, i've installed Kali Linux via Mini Iso then downloaded the kali-linux-full package via apt-get two days ago.Everything seemed to be working fine untill I've got this error.I've tried to remove metasploit framework via apt-get remove but then I get dkpg errors. – Alex Adic Oct 26 '15 at 20:34