metasploit

Edit Exploit in Metasploit


How can I change Metasploit module source, I want to change some URL in an exploit.

I have tried the edit command and successfully edited this line to what I want, but changes are not reflected, the exploit has the same behavior as before, it looks like I haven't changed anything, but when I to try edit it again, I see my changes!

Does Metasploit save this anywhere else?


Solution

  • Do u want to edit the Metasploit framework or just one of the exploits? If u just want to edit an exploit,find the location, edit it ,and reload all the modules by the command "reload_all".