Skip to content

Instantly share code, notes, and snippets.

@ihciah
Last active August 28, 2017 17:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihciah/3fd1afd7f6cd1a610c1e to your computer and use it in GitHub Desktop.
Save ihciah/3fd1afd7f6cd1a610c1e to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
#!/usr/bin/env python
#
#__author__= 'ihciah@gmail.com'
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)
@ihciah
Copy link
Author

ihciah commented Jan 10, 2016

curl http://10.108.255.249/cgi-bin/do_login -d "username=13307130364&password={TEXT}&drop=0&type=1&n=100"

@ihciah
Copy link
Author

ihciah commented Jan 17, 2016

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

@ihciah
Copy link
Author

ihciah commented Aug 28, 2017

Blank password bug fixed. 漏洞报告者太坏了!

@ihciah
Copy link
Author

ihciah commented Aug 28, 2017

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