byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.41k stars 1.64k forks source link

CMEDB: Export Signing #758

Closed ILightThings closed 1 year ago

ILightThings commented 1 year ago

Per a discord request by ad0nis: Added a cmedb export feature for "signing".

export signing simple <filename> will export a list of IPs with SMB signing off. export signing detailed <filename> will export the exact same thing as export hosts detailed <filename> because I can't think of what else to do with.

This feature will be useful for when you forget to add --gen-relay <filename> in your initial scan.

ILightThings commented 1 year ago

Lol. Considering that CME overhaul PR, maybe delay this if needed

Marshall-Hallenbeck commented 1 year ago

Great minds think alike :) My changes have a way to get just the signing (and smbv1), but I didn't make any changes to the export or import functionality, so there arent enough columns for the new fields I added.

I'm not sure what the best way would be to merge our changes together would be, if you can pull down mine and then fix it and merge into mine, or if you just want me to copy them over to my branch.

ILightThings commented 1 year ago

@Marshall-Hallenbeck, No worries. I can wait for your pull request to be approved, then I can make changes as needed for smb signing and whatnot.

Marshall-Hallenbeck commented 1 year ago

@mpgn this can be marked fixed-for-sponsors

ILightThings commented 1 year ago

Closing this as there has been some DB changes that require this to be rewritten.