Trawler icon indicating copy to clipboard operation
Trawler copied to clipboard

Break the large script into multiple smaller scripts to make maintenance easier.

Open baileydauterman opened this issue 7 months ago • 2 comments

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.

  1. Developers can easily change something without having to seek through the large script
  2. There is potential to use the broken up scripts as a proper PSModule. (Allowing for easier portability and distribution)
  3. 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.

baileydauterman avatar Jul 21 '24 12:07 baileydauterman