Jump to content

I wanna block some port


Recommended Posts

Func pb()

$port = GUICtrlRead($Input1)

Select

Case $port =0

MsgBox(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

EndSelect

EndFunc

is that all right?

Edited by Chinasmoker

One is never too old to learn

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...