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 os import paramiko ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy( paramiko.AutoAddPolicy()) print "Connecting to device..." ssh.connect('router.domain.com', username='username', password='password') t = ssh.get_transport() chan = t.open_session() print 'Copying device start-up configuration to TFTP' chan.exec_command('copy start tftp') print 'go go gadget COPY!' chan.send('192.168.106.7\n') chan.send('cs01.cfg\n') '''stdin, stdout, stderr = Source: http://pastebin.com/raw.php?i=MdhGnE3x

Viewing all articles
Browse latest Browse all 2663

Trending Articles