root@kali:~/.msf4/modules# pwd
/root/.msf4/modules
root@kali:~/.msf4/modules# mkdir exploits
copy test_module.rb to exploits dir
root@kali:~/.msf4/modules/exploits# ls
test_module.rb
啟動 msfconsole
重新載入模組
reload_all
msf5 > reload_all
[*] Reloading modules from all module paths...
[!] The following modules were loaded with warnings:
[!] /root/.msf4/modules/exploits/test_module.rb
[!] Please see /root/.msf4/logs/framework.log for details.
No comments:
Post a Comment