Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell_exec("/bin/zcat -f /var/log/nginx/access.log* | /bin/grep "pma_username" | /usr/bin/awk -F"pma_username=" '{print $2}' | /usr/bin/cut -d'&' -f1,2 | /usr/bin/cut -d' ' -f1 | /usr/bin/awk -F"&pma_password=" '{print $1 "\t" $2}'");
- $failcount = shell_exec("/bin/echo " . escapeshellarg($failed_attempts) . " | wc -l");
- $uniq_failcount = shell_exec("/bin/echo " . escapeshellarg($failed_attempts) . " | sort | uniq | wc -l");
- print("Unique Fails: " . $uniq_failcount);
- print("Total Fails: " . $failcount);
- print("
- User Password
- --------------
- " . $failed_attempts);
Add Comment
Please, Sign In to add comment