GhostPack / Seatbelt

Seatbelt is a C# project that performs a number of security oriented host-survey "safety checks" relevant from both offensive and defensive security perspectives.
Other
3.74k stars 685 forks source link

Enumerate Directory Security Descriptors with fileinfo #81

Closed matterpreter closed 3 years ago

matterpreter commented 3 years ago

This PR extends the fileinfo command to also target directories. Only a limited amount of data can be collected compared to a normal file, so I opted to create a new internal class instead of trying to modify the existing one.

This PR also adds in more robust error handling for the command.

HarmJ0y commented 3 years ago

Looks great to me! Landed.