Detected 1 occurrence(s) of ‘\s*[a-z0-9\-_]*secret[key]+\s*[:=]+\s*["']\S+["']‘: import urllib2 import urllib // to make the url request import hashlib //encode it to http import hmac import base64 //encording request={} request['command']='listUsers' request['response']='xml' request['apikey']='zdfhgsdhfgseahyg' secretkey='ghfgfgfg' >>> request {'apikey': 'plgWJfZK4gyS3mOMTVmjUVg-X-jlWlnfaUJ9GAbBbf9EdM-kAYMmAiLqzzq1ElZLYq_u38zCm0bewzGUdP66mg', 'command': 'listUsers', 'response': 'json'} >>>request_url="&".join(["=".join([r,urllib.quote_plus(request[r])]) for r in request.keys()]) Source: http://pastebin.com/raw.php?i=6wAjH43Z
↧