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

Compile error on .NET 4.5 #59

Closed dirkjanm closed 3 years ago

dirkjanm commented 3 years ago

MSBuild complains when I try to compile latest version from git in .net 4.5:

  Commands\Misc\LOLBAS.cs(130,27): error CS8618: Non-nullable property 'Path' is uninitialized. Consider declaring the property as nullable. [D:\a\1\s\Seatbelt\Seatbelt.csproj]

Without the LOLBAS module it compiles fine. Probably not that hard to fix but I don't have a VS env and git setup nearby to test and create a PR. Thx for the work on this!

Flangvik commented 3 years ago

Can confirm, having the same issue

leechristensen commented 3 years ago

Fixed in #58 , just waiting for a merge

HarmJ0y commented 3 years ago

Should be landed to master now, closing.

dirkjanm commented 3 years ago

Can confirm it compiles fine now, thanks for the quick fix!