vb6 code to open xp firewall port?

Everything else that doesn't fall into one of the other PB categories.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

vb6 code to open xp firewall port?

Post by PB »

What exactly is this VB app claiming to do:

http://www.vbcode.com/Asp/showsn.asp?theID=12488

:?:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

Good question. :?:
Dare2 cut down to size
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

The command it launches is:

Code: Select all

Shell ("netsh firewall set portopening TCP " & Text1.Text)
So what I can gather is that Text1 holds the name of an exe and the command
is telling XP to allow that exe to bypass the Windows Firewall? Sound plausible?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

I looked at the link and it offered not much (just about the line you show above) so I googled for the text: netsh firewall set portopening TCP and got a few links which may throw some light on the subject:

http://support.microsoft.com/kb/839980/
http://www.windowsnetworking.com/articl ... ewall.html

Hope they're useful.
Dare2 cut down to size
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Nice bit of heavy reading.
Post Reply