flat assembler
Message board for the users of flat assembler.

Index > Windows > shared resources

Author
Thread Post new topic Reply to topic
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle 16 Aug 2004, 08:35
Hi asmWizards!
Is there any quick technik to list all shared folders in the same subnet?

network conditions:

It is my LAN network with IP MASK 255.255.200.0
Only MS-Windows are installed
No ping answer will be aviable
every netbios connection should be off but some of naughty users transfer the files by WINS.

*****************
I want to do auto-e-mail reminder which send post to a user who do not obey this restriction. Only local FTP server should be the tool to exchange the files through the network because the antivirus software installed into it with every new worm's library and current upgrades.



best regards,


P.S. I have a long break with programming so every ideas, even those little, will be welcome

_________________
Microsoft: brings power of yesterday to computers of today.
Post 16 Aug 2004, 08:35
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 16 Aug 2004, 21:17
Not sure I'm of any bigger help, I just got some ideas poping up - dunno if they can be of use, but anyway here it is:
maybe you could dig/goolgle up the ports WINS use (primarly connection/session opening ports), and then either somehow block it (if you can, might not work unluess you got some switch/routerswitch which can do packet filtering (checking their destination/source port) filtering - or use some windows equivalence of nmap to port scan the subnet on the WINS port(s), and then based on the result from the mapping, make a list of IPs/machines which allows connections to the WINS port. And then you look up an e-mail for the IP (maybe via some look up table or so), and then send it using MAPI (or what ever Mail API there is - if there is any).
Post 16 Aug 2004, 21:17
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 16 Aug 2004, 21:42
...and how will we connect it to FASM? Make a program for that...or what?Smile
Post 16 Aug 2004, 21:42
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle 18 Aug 2004, 06:28
I only programm with fasm Smile so I took my question here.

I thought about scanning open Wins port but this solution doesn't give me any details to send e-mail. I can't block the protocol into router because there is no routers, hub and switch only. Users are administrators their own commputers but as you know services like WINS are vulnerable and not safe for such kind of network. We have DSL line and state full firewall between Lan and WAN (Internet) but many programs are from another sources than internet. I would like make this situation less uncertain- every files I'm going to put onto Local FTP server even the file that users want to exchange betwee each other. Second advantage of this method is that such operation like queuing files transfer does't decrease the network capacity so dramatically like chaotic WINS transfering in the same time in the same colision domain.

I'll try to find the solution and use it in demo programm.

regards,

_________________
Microsoft: brings power of yesterday to computers of today.
Post 18 Aug 2004, 06:28
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.