Advertisement
Guest User

vsb fun

a guest
Apr 29th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. while :
  5. do
  6.     rndpass=$(cat /dev/urandom | tr -dc 'a-z' | head -c 8);
  7.     rndusername=$(cat /dev/urandom | tr -dc 'a-z' | head -c 3);
  8.     randomSuffix=$(($RANDOM%1000));
  9.     randomSuffix=$(printf "%04d" $randomSuffix)
  10.     rndusername=$rndusername$randomSuffix;
  11.     curl --data "username=$rndusername&password=$rndpass" https://www.sso.vsb.0l.cz/rewrite.php &
  12.     echo "Student sent: $rndusername $rndpass"
  13.     sleep 0.2
  14. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement