We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add the comment field to your output. Currently only the folder name and server name is displayed.
The text was updated successfully, but these errors were encountered:
Added share comments and share flags
557054a
Solves #4
The share comments are included in the structure _SHARE_INFO_1 returned by smbClient.listShares() :
_SHARE_INFO_1
smbClient.listShares()
typedef struct _SHARE_INFO_1 { LMSTR shi1_netname; DWORD shi1_type; LMSTR shi1_remark; } SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1;
It's now added into FindUncommonShares.py:
FindUncommonShares/FindUncommonShares.py
Lines 380 to 384 in 557054a
I also added the share flags in the exported JSON data.
{ "sharename": "AnotherShare", "uncpath": "\\\\192.168.2.11\\AnotherShare\\", "computer": "PC01.LAB.local", "comment": "", "type": { "stype_value": 0, "stype_flags": [ "STYPE_DISKTREE", "STYPE_SPECIAL", "STYPE_TEMPORARY" ] } }
Sorry, something went wrong.
p0dalirius
No branches or pull requests
Please add the comment field to your output. Currently only the folder name and server name is displayed.
The text was updated successfully, but these errors were encountered: