Refaktorace knihovny
[mirrors/Programs.git] / bash / kyberia-wallet.sh
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
This page took 0.268843 seconds and 4 git commands to generate.