Jump to content
Sign in to follow this  

I wanna block some port

Recommended Posts

Func pb()

$port = GUICtrlRead($Input1)


Case $port =0


Case $port <>0

$pb = Run(@ComSpec & " /c ipseccmd -w REG -p 'port' -r 'port' -f *+0:") & $port & ":tcp -n BLOCK -x";the port is a var



is that all right?

Edited by Chinasmoker

One is never too old to learn

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...