@1kbfree
2018-09-26T16:44:58.000000Z
字数 220
阅读 932
python
from socket import *
def main():
pass
def scan( target, port=12332 ):
client = socket( AF_INET, SOCK_STREAM )
client.connect( ( target, port ) )
print( target, prot )
client.close()
if __name__ == '__main__':
target = '127.0.0.1'
scan( target )