Irongeek:
Check out SHED by Robin Keir...and it's FREE.
You can scan as many subnets at a time too! Great tool.
http://www.keir.net/shed.html
Printable View
Irongeek:
Check out SHED by Robin Keir...and it's FREE.
You can scan as many subnets at a time too! Great tool.
http://www.keir.net/shed.html
I just gave Shed a try and it does not seem to give any information about permissions. It also seems a bit flaky when I scanned a know host with shares and it came up with nothing. Thanks for pointing it out though.
Oh, you know what? I think that it requires Null session to be open, allowing anonymous connections to the IPC$ share. If you set turn this off, using RestrictAnonymous key set to 1 or 2, it wont work. XP may have this turned off by default.Quote:
Originally posted here by Irongeek
I just gave Shed a try and it does not seem to give any information about permissions. It also seems a bit flaky when I scanned a know host with shares and it came up with nothing. Thanks for pointing it out though.
I just looked into this and had forgotten about this. Sorry about that.
If you're stuck with your script you could use the resource kit utility SHOWACLS and grep through it. If I had to solve your problem using a script I would use Perl.
If I run across anything I'll let you know. Good luck.
This is my second post about a utility from Sysinternals, you guys are going to start to think I work for them :D
This tool might be what your looking for Irongeek.Quote:
An aspect of Windows NT/2000/XP network security that's often overlooked is file shares. A common security flaw occurs when users define file shares with lax security, allowing unauthorized users to see sensitive files. There are no built-in tools to list shares viewable on a network and their security settings, but ShareEnum fills the void and allows you to lock down file shares in your network.
Cheers:
there are free p2p sharing programs on CNET that autodetects the Windows shares and compiles them from a given range of ip'sthat you specify...Sort of a combo scanner/p2p browser.....
DjM: ShareEnum looks like just want I want, but I'll have to find a way to make it work with IP ranges instead of Domains/Workgroups.
Icefyre24: Can you give me a name?
Thanks guys.
Well the source is available at the same link, you might be able to code it yourself, or maybe someone else on AO can give you a hand (my programming sucks :rolleyes: )Quote:
Originally posted here by Irongeek
DjM: ShareEnum looks like just want I want, but I'll have to find a way to make it work with IP ranges instead of Domains/Workgroups.
Cheers:
My C++ is rusty, but I'll see what I can do.
I took a look at the code and I have to admit that it's a little beyond me.
I know there are some pretty good code pounders here at AO, I am sure one of them would be up to the challenge......so who's it going to be gang? :pQuote:
Originally posted here by Irongeek
I took a look at the code and I have to admit that it's a little beyond me.
Cheers: