Last active
August 28, 2017 17:26
-
-
Save ihciah/3fd1afd7f6cd1a610c1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
#!/usr/bin/env python | |
# | |
#__author__= '[email protected]' | |
import urllib,urllib2 | |
def login(username, password): | |
url="http://10.108.255.249/include/auth_action.php" | |
data={"username": username, | |
"password": password, | |
"action": "login", | |
"ac_id": 1, | |
"ajax": 1} | |
urllib2.urlopen(url,urllib.urlencode(data)) | |
username="13307130364" # Your real username here | |
password="" # Your real password here | |
login(username, password) |
Blank password bug fixed. 漏洞报告者太坏了!
Update:
curl http://10.108.255.249/include/auth_action.php -d "action=login&username=your_real_username&password=your_real_password&ac_id=1&ajax=1"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget -qO- http://10.108.255.249/cgi-bin/do_login --post-data="username=13307130364&password={TEXT}&drop=0&type=1&n=100" &> /dev/null