Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: my $file = $_[0]; my $path = $_[1]; my $type = $_[2]; print "$file n"; print "$path n"; print "$type n"; my $prompt = 'Password:'; my $passwd = 'xxx'; my $cmd = "$file file-manager@localhost::$path$type"; my $timeout=50; my $ssh_exp = new Expect(); $ssh_exp->exp_internal(1); $ssh_exp->raw_pty(1); $ssh_exp->spawn("rsync", $cmd) or die "Cannot spawn rsync […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles