What is Metasploit ?
The Metasploit Project is a computer security project that provides information about security vulnerabilities and aids in penetration testing and IDS signature development.
Its best-known sub-project is the Metasploit Framework, a tool for developing and executing exploit code against a remote target machine
- Android 5.0+ (no root needed)
- Termux app
- About 500 mb free space (For proper installation of Metasploit)
Metasploit Installation in termux
Type below commands to install metasploit in termux app:
$ pkg install unstable-repo
$ pkg install metasploit
These commands will install Metasploit. Enjoy hacking…😄
Alternative old Method
If you have problems with above method you can also try an old method for installation of metasploit.
$ apt install curl
$ curl -LO https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh
$ chmod +x metasploit.sh
Some errors on installation
Error 1 : Nokogiri not found
This is due to broken installation of dependency Nokogiri. To resolve this type following commands in termux :
Error 2 : Database error
This means postgresql is not connected with msf_database.
To resolve this issue type following in termux:
$ mkdir -p $PREFIX/var/lib/postgresql
$ initdb $PREFIX/var/lib/postgresql
$ pg_ctl -D $PREFIX/var/lib/postgresql start
And restart metasploit. The error will be resolved.
Thanks for reading the thread. If you have any doubts or suggestions shoot it out on comments 😊.