Guest User

Untitled

a guest
Jan 12th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. 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}'");
  2.  
  3. $failcount = shell_exec("/bin/echo " . escapeshellarg($failed_attempts) . " | wc -l");
  4. $uniq_failcount = shell_exec("/bin/echo " . escapeshellarg($failed_attempts) . " | sort | uniq | wc -l");
  5.  
  6. print("Unique Fails: " . $uniq_failcount);
  7. print("Total Fails: " . $failcount);
  8.  
  9. print("
  10. User Password
  11. --------------
  12. " . $failed_attempts);
Add Comment
Please, Sign In to add comment