-
-
Save kabeer11000/fe37de2018b4932a8bed8c921e099d08 to your computer and use it in GitHub Desktop.
Bypass javascript Byethost 5
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
| import re | |
| import requests | |
| import js2py | |
| def getContent(url): | |
| javascript=js2py.EvalJs() | |
| javascript.eval(requests.get(re.search("(https?://.*?\.[a-zA-Z0-9.]{0,20})",url).group(1)+"/aes.js").text) | |
| return requests.get(url, headers={"Cookie":javascript.eval(re.search("\<script\>(fu.*?;)\<", requests.get(url).text).group(1).replace("document.cookie", "cookie").replace("location.", "")+"cookie")}) | |
| print(getContent("http://krypton-byte.byethost5.com/")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment