Commit | Line | Data |
---|---|---|
ded57925 H |
1 | #!/bin/bash |
2 | id=76000; | |
3 | pw='Beruska'; | |
4 | ||
5 | cookie_jar='/tmp/kybcacookies'; | |
6 | echo "loging in to kyberia"; | |
7 | curl -s -c "$cookie_jar" -b "$cookie_jar" --location --url 'http://kyberia.sk/id/'"$id" -d 'event=login&login='"$id"'&password='"$pw"'&login_type=id' >/dev/null 2>&1 | |
8 | for i in -30 -20 -10 -5; do | |
9 | echo "kyberia k_wallet $i"; | |
10 | curl -s -c "$cookie_jar" -b "$cookie_jar" --location --url 'http://kyberia.sk/id/'"$id" -d 'event=k_wallet&k_wallet='"$i" >/dev/null 2>&1 | |
11 | done; | |
12 |