Closed VbScrub closed 2 years ago
It looks like a bunch of these commits aren't related to the PR. Also you can't change Rubeus' OutputType from Exe to WinExe (commit 6475e7e).
Sorry I'm still relatively new to github and I guess I've done something weird earlier today whilst trying to fork Rubeus for the GUI I'm working on. No idea how that ended up affecting this PR I made a week ago but yeah there was only meant to be one file changed in this PR. EDIT: I've created a new PR now that is in a separate branch, so I think that should stop this happening again?
Fixes #76 and fixes #63
Tested with
asktgt
and the following paths as the/outfile
argument and all works as it should:C:\test\ticket.txt
\ticket.txt
C:\invalid/chars*.txt
- file gets written toC:\invalid_chars_.txt
invalid/chars*.txt
- file gets written toinvalid_chars_.txt
in working directoryFor the record I still think we should ditch the whole file name sanitization thing, especially as it is not used universally throughout the program (kerberoasting for example does not sanitize file names, so that already let you use full paths for
/outfile
).