import urllib import httplib url="http://192.168.2.253" username = raw_input("username: ") pwd=raw_input("password: ") data={"username":username,"pwd":pwd} data = urllib.urlencode(data) conn = httplib.HTTPConnection("192.168.2.253",80) conn.request("POST", "/webAuth/", data) conn.close() print "OK~~"
by: 发表于:2017-09-30 10:39:40 顶(1) | 踩(1) 回复
??
回复评论