Created
May 17, 2019 09:02
-
-
Save QGB/2c561a681d50b9ab723e1fd3cc6a455e 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
http://192.168.1.111:23571/response.headers['Content-Type']='text/html'; | |
response.headers['X-XSS-Protection']=0; | |
r=''' | |
<form method="post" action="http://192.168.1.111:23571/r=request.get_data"> | |
<input type="text" name="t"> | |
<input type="file" name="f"> | |
<input type="submit" /> | |
</form> | |
''' |
'''
url='http://192.168.1.111:23571/r=sys.q'
import ast,requests
r=ast.literal_eval(requests.get(url).content.decode('utf-8'))
'''
url=rf"""http://{ip}:23571/sys.a=r=T.json_loads(request.get_data());r=len(r)"""
import ast,requests
r=requests.post(url,json=duxa)
print(r.text)
app=_2[1]
execLocals=U.getDictItem( app._error_handlers[404] ) [1].closure[0].cell_contents.closure[3].cell_contents
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
url=f"http://{ip}:23571/import%20IPython;r=IPython.get_ipython().user_ns;r=r['dip_port']"
import ast,requests
dip_port=r=ast.literal_eval(requests.get(url).content.decode('utf-8'))