资源简介
重庆大学链接校园网,py入口,用python执行,登陆自己的账号密码即可联网!
代码片段和文件信息
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#history:
# 1.Please edit this file in editors which supports UNIX files if you are using Windows OS
# 2.tests passed on v0.8 u62R0
# 3.edit basic configuration first.
# 4.Code adapted for ChongQing University Dr.com Client && Server
# --By GY
#Date: 2015.07.01
#Author: cquhsk
#Chongqing University
#test passed in win7/RHEL6
‘‘‘
Add notes
Increase hide login password
Modify socket reuse mode
Repair:closed socket when process ended
Increase the logging can be configured
‘‘‘
#Version: v2b
# 2015.11.11
import socket struct time
from hashlib import md5
import sys
import urllib2
import re
import gc
import pdb
#Hide input password
import getpass
class ChallengeException (Exception):
def __init__(self):
pass
评论
共有 条评论