Got an iPhone or iPad? We have a brand new Pastebin App for both devices, and it's totally free! Click here to download the new Pastebin App for iOS.
Guest

escapado

By: a guest on Jan 27th, 2009  |  syntax: None  |  size: 0.29 KB  |  hits: 110  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. #!/bin/sh
  2. USERNAME=user
  3. PASSWORD=password
  4. URL=https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi
  5. points=$(curl -s --insecure --data-ascii "login=${USERNAME}&password=${PASSWORD}" ${URL} | grep RapidPoints: | awk 'match($0,"<b>.*</b>") { print substr($0,RSTART+3,RLENGTH-7) }')
  6. echo "${points}"