searchsploit display path code example
Example 1: how to install searchsploit in kali linux
Method 2021 Kali Linux Live:
how to install searchsploit in kali linux
Install
kali@kali:~$ sudo apt update && sudo apt -y install exploitdb
Update
kali@kali:~$ searchsploit -u
kali@kali:~$ sudo apt update && sudo apt -y full-upgrade
Search exploit
searchsploit -t pastehereexploittitle
Searc exploit path:
searchsploit -p nameexploit
Run Exploit
python 48506.py http://10.10.10.198:8080/
For Help
searchsploit -h
Source
https://www.exploit-db.com/searchsploit
Example 2: download and run exploits from exploit-db
Method 2021 Kali Linux Live:
download and run exploits from exploit-db
1- Download the file and copy it
2- Open folder> file system> /usr/share/metasploit-framework/modules/exploits
3- Then, paste it using this command
4- sudo cp /home/kali/Downloads/nameexploit.rb /usr/share/metasploit-framework/modules/exploits
5- finally, open in metasploit
6- $use exploitname.rb
Happy hacking