> For the complete documentation index, see [llms.txt](https://notes.m4lwhere.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.m4lwhere.org/offensive/metasploit/writing-modules.md).

# Writing Modules

Modules can be written much easier that you think.

### References

[Metasploit Class List and Methods](https://www.rubydoc.info/github/rapid7/metasploit-framework/master/Msf/Module/UI/Message)

[Example webapp module](https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/example_webapp.rb)

[Walkthru on creating and submitting a module](https://github.com/rapid7/metasploit-framework/wiki/Get-Started-Writing-an-Exploit)
