Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: t__(self, id, secret): self.id=id self.secret=secret class TestDoorController: def send_open_pulse(self): print "unlock the door" class BasicAuthenticator: def __init__(self): self.id = "Andrew" self.secretPassword = "1234" def check(self,token): print "checking input of '" + token.id + "', + password + : " + token.secret + ", against secret password'" + self.secretPassword +"'" result […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles