Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': client= paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect('15.1.1.10', username='abcd', password='abcd') sftp = client.open_sftp() local_path ='C:\Python34\commands.bat' remote_path = 'C:\Program Files\commands.bat' sftp.put(local_path,remote_path) Source: http://pastebin.com/raw.php?i=Jvy1zuY3
↧