Permalink
Browse files

КАБiNET balance fetcher

  • Loading branch information...
Max Bo authored and l29ah committed Sep 25, 2012
1 parent dfb64ac commit 32888a639888a0383608affcb855996915e10067
Showing with 5 additions and 0 deletions.
  1. +5 −0 stat.telenet.ru/telenet
View
@@ -0,0 +1,5 @@
#!/bin/sh
login=''
password=''
token=`curl -s -d "login=$login&password=$password" https://stat.telenet.ru/login | grep -o /news?ticket=[a-zA-Z0-9\*]*`
curl -s "https://stat.telenet.ru$token" | grep Balance | egrep -o "[0-9.]+"

0 comments on commit 32888a6

Please sign in to comment.