Quantcast
Channel: Simple Password – LeakedIn
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: import pxssh import getpass try: s = pxssh.pxssh() s.force_password = True hostname = 'myserverip' username = 'username' password = 'password' s.login (hostname, username, password) s.sendline ('get system number') # run a command s.prompt() # match the prompt print s.before # print everything before the prompt. s.logout() except pxssh.ExceptionPxssh, e: Source: […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles