Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- #Requires Requests Library
- #Requires [Cookie Header] Session Key
- session = ""
- #Login Session key (From Cookie Header)
- #From browser:
- #http://www.operation513.com/admin/
- #Username = ""
- #Password = ""
- def delete(id):
- resp = requests.get("http://www.operation513.com/admin/editbattlelog/d/" + str(id),headers={"Cookie":session})
- return resp
- print("Logged in with session key: " + str(session))
- print("Beginning deletion")
- for i in range(0,1000):
- print(str(i) + "-->" + delete(i).url)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement