Potential leak of data: Command Line Password
Detected 1 occurrence(s) of ‘\-\-[pP]assword\=[^%^\$]‘:
"$LIST"
#
find $CONFIG -depth -type f \( -ctime -1 -o -mtime -1 \) -print > $LIST
tar cfzT "/root/backup/config/config_diff_$6-$2-$3.tgz" "$LIST"
rm -f "$LIST"
fi
#
# create sql dump of databases:
mysqldump -u root --password=******* --opt mydb > "/root/backup/database/mydb_$6-$2-$3.sql"
gzip "/root/backup/database/mydb_$6-$2-$3.sql"
#
#umount /mnt/backup
# SEND MAIL
uuencode /root/backup/data/data_full_$6-$2-$3.tgz /root/backup/data/data_full_$6-$2-$3.tgz > /root/backup/se
Source: http://pastebin.com/raw.php?i=XkFXKGJF
Tags: Command Line Password, pastebin.com
This entry was posted on Tuesday, June 12th, 2012 at 22:01 and is filed under PasteMon. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Comments are closed.

