LeakedIn Logo
Stories About Data Leaks and Related Stuff

Potential leak of data: Command Line Password

0 votedvote

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: ,

Comments are closed.