Trawler
Trawler copied to clipboard
Break the large script into multiple smaller scripts to make maintenance easier.
Here I have dissected the 17,613 line trawler.ps1
script into a myriad of smaller more manageable scripts. The original trawler.ps1
script can be created by running the build.ps1
script.
Here are some of the advantages to this update.
- Developers can easily change something without having to seek through the large script
- There is potential to use the broken up scripts as a proper PSModule. (Allowing for easier portability and distribution)
- Having grouped all the
Search-*
functions into their respective MITRE technique, means that we can also add an option on the script to run against specific techniques as well.