Relative Content

Tag Archive for pythonpython-requests

Can a hacker read variable values in python code?

stuff ={ “data”: “user_data”, } http = urllib3.PoolManager( cert_reqs=”CERT_REQUIRED”, ca_certs=’cert.pem’) resp = http.request(method=’POST’, url=’https://localhost:8080/example’, body= json.dumps(stuff), headers={‘Content-Type’: ‘application/json’}) very_private_script = resp.data.decode(‘utf-8’) exec(very_private_script) This is a script that interacts with a Node.js server, the node.js looks if the user is registred and has payed the software and some other algorithms and if the used has payed […]