nbaertsch / AutoAppDomainHijack

Automated .NET AppDomain hijack payload generation
GNU General Public License v3.0
112 stars 18 forks source link

Added embedding of mustache template files at compile-time #2

Closed pr0b3r7 closed 3 months ago

pr0b3r7 commented 3 months ago

Embedding the mustache template files to the resulting compiled nim binary eliminates the executable's need to exist in the directory where the user pulled the repository.

Added comments throughout the code explaining step by step what's happening on AutoDomainHijack.nim

Improved README file with usage example where the shellcode is served from a URL

Pending future updates:

  1. Validation of .NET and csc.exe binary existing in machine running the tool
  2. Suggestion of which .NET version to download and from where if condition # 1 is not met
nbaertsch commented 3 months ago

Alright, I got this re-merged and cleaned up your comments - thanks for the PR!