Autodetect current domain just as SharpHound does
muelli opened this issue · 2 comments
With SharpHound, I just need to run the executable and it determines the domain of the current user automatically.
If RustHound did the same, I would need to think less and probably make fewer mistakes.
I haven't found a discussion about auto-detecting the domain, so I thought it is appropriate to ask for it here.
I'm seeing auto_args
guarded by a feature flag:
Line 217 in a1794e2
So this is compile time only?
Sounds like one could implement --auto
to achieve this behaviour at run time.
Hi @muelli,
Indeed RustHound can determines the domain of the current user automatically.
You need to compile it with the following command:
make windows_noargs
Or directly with cargo and the feature: --features noargs
like:
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --target x86_64-pc-windows-gnu --features noargs
I'll look into potentially adding the --auto
option at runtime rather than having to go through a compile-time option.