This commit is contained in:
condor
2026-07-24 18:54:53 +08:00
parent 43c2a411b9
commit 679e0b4184
128 changed files with 13855 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env python
# Author: yeho <lj2007331 AT gmail.com>
# Blog: http://linuxeye.com
import socket,sys
sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sk.settimeout(1)
try:
sk.connect((sys.argv[1],int(sys.argv[2])))
print ('ok')
except Exception:
print ('no')
sk.close()