Skip to content

Instantly share code, notes, and snippets.

@bjtitus
Created January 25, 2011 16:46
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bjtitus/795188 to your computer and use it in GitHub Desktop.
Save bjtitus/795188 to your computer and use it in GitHub Desktop.
SafeConnect Bypass
#!/usr/bin/perl
use Net::Ping;
$host = "www.google.com";
while (1) {
$p = Net::Ping->new('icmp');
if ($p->ping($host)) {
print "$host is alive.\n";
sleep(5);
}
else {
print "host is not alive.\n";
`curl -A "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3" http://198.31.193.211:8008`
}
$p->close();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment