Skip to content

Instantly share code, notes, and snippets.

@riston
Created July 4, 2012 15:46
Show Gist options
  • Save riston/3047956 to your computer and use it in GitHub Desktop.
Save riston/3047956 to your computer and use it in GitHub Desktop.
RSBot downloading script
#!/bin/sh
download_page='http://links.powerbot.org/download'
referer='http://powerbot.org'
filename='RSBot.jar'
curl -GL -e $referer -A "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19" -o $filename $download_page
# Well you could also add the line to add the line for start the bot after download
# java -jar $filename
@ScrpeioN
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment