punk-security / smbeagle

SMBeagle - Fileshare auditing tool.
Apache License 2.0
698 stars 82 forks source link

Test rig #47

Closed imnotbrandon closed 2 years ago

imnotbrandon commented 2 years ago

It'd be good to get some kind of test rig. Perhaps use docker-compose or something to set up a known test environment.

It'd help to improve collaboration and make CI testing easier.

SimonGurney commented 2 years ago

Created a basic test harness using python impacket SMB Lib in pr #78

Would prefer to use the C# SMBLib but the SMBServer implementation is a little difficult. Started a branch for it as "automatic-tests-v2" which we should look to migrate to.

Current tests are fairly comprehensive on the linux side though, it just fails to eval windows permissions are accurate and windows native auth is working.

SimonGurney commented 2 years ago

Closing. We need a much bigger testing rig but this will need a lot of thought