Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': import requests as req from requests.auth import HTTPBasicAuth username = "james" password = "james1" user = HTTPBasicAuth(username, password) n = 156 BASE_URL = "http://46.101.77.79/app/api/v1/files/156" data = { "id" : int(n), "converted" : True, "converted_url" : "http://s3.arfaoui....", } r = req.put(BASE_URL ,auth=user, d Source: http://pastebin.com/raw.php?i=5Hzjm3K7
↧