client端:#!/usr/bin/env python import socket,time,os import rlcompleter h,p="192.168.220.130",12346 sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM) sock.connect((h,p)) def runcmd():
Python 2.7 (r27:82500, Jul 7 2013, 21:26:01) [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2Type "help", "copyright", "credits" or "license" for more in
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号