From: Harvie Date: Mon, 24 May 2010 21:00:07 +0000 (+0200) Subject: kyberia-wallet.sh (Added junk found in ~root at harvie.cz) X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=ded57925f17e2f8e732d88ca43e782159d6051cb;p=mirrors%2FPrograms.git kyberia-wallet.sh (Added junk found in ~root at harvie.cz) --- 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; +