Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- __date__= ' 8月 21, 2014 '
- """
- curl http://taipeihope.tw/godblessKS/2014-08-17-09-06-13/ -H
- "User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
- Gecko) Chrome/34.0.1847.116 Safari/537.36" -d
- 'af75b20c25d575d18ad4165d5f86296d=1&a74cbf62e1e8e74dd8fc7ba78b95e568=&return=aHR0cDovL3RhaXBlaWhvcGUudHcvZ29kYmxlc3NLUy8=&task=user.login&option=com_users&password=a&username=b'
- -v --cookie "aebdce6394315438713c724facb47668=tvt9d9mv84ac33dd900svshhh2"
- """
- # Access: http://taipeihope.tw/logs/admintools_breaches.log
- import requests
- host = "http://taipeihope.tw/godblessKS/2014-08-17-09-06-13/"
- header = {
- 'User-Agent':"User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36"
- }
- cookie = {'aebdce6394315438713c724facb47668':'tvt9d9mv84ac33dd900svshhh2'}
- username = "G_G_in_in_der"
- data = {'username':username,
- 'password':"XXD",
- "af75b20c25d575d18ad4165d5f86296d":'1',
- "return":"aHR0cDovL3RhaXBlaWhvcGUudHcvZ29kYmxlc3NLUy8=",
- "task":'user.login',
- 'option':"com_users"
- }
- res = requests.post(host, data=data, cookies=cookie, headers=header)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement