X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=bash%2Fkyberia-wallet.sh;fp=bash%2Fkyberia-wallet.sh;h=371e7fe7c75ccc7429444334dcc22770179fcca1;hb=ded57925f17e2f8e732d88ca43e782159d6051cb;hp=0000000000000000000000000000000000000000;hpb=79a323cb54e2b2b1b67aa7492b25fb44036e7007;p=mirrors%2FPrograms.git diff --git a/bash/kyberia-wallet.sh b/bash/kyberia-wallet.sh new file mode 100755 index 0000000..371e7fe --- /dev/null +++ b/bash/kyberia-wallet.sh @@ -0,0 +1,12 @@ +#!/bin/bash +id=76000; +pw='Beruska'; + +cookie_jar='/tmp/kybcacookies'; +echo "loging in to kyberia"; +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 +for i in -30 -20 -10 -5; do + echo "kyberia k_wallet $i"; + 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 +done; +