Python
Requests / Virtualenv / Encoding
Requests advanced stuff
https://requests.readthedocs.io/en/master/user/advanced/>
Encodage problem & fix
http://sametmax.com/lencoding-en-python-une-bonne-fois-pour-toute/
Python and virtualenv
http://virtualenvwrapper.readthedocs.io/en/latest/
Pwntools
https://bytesoverbombs.io/quickie-pwntools-414bb89ef83f
Debugging code
import ipdb; ipdb.set_trace()
# or
import code; code.interact(local=dict(globals(), **locals()))
Use pip in windows env behind authentication proxy
- Create
C:\Users\<USER>\pip\pip.ini, add following content:
[global]
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org
proxy = https://DOMAIN\USERNAME:PASSWORD@PROXY_URL:PROXY_PORT
- Special chars in password must be URL encoded