Skip to content

Instantly share code, notes, and snippets.

View Slotos's full-sized avatar

Dmytro Soltys Slotos

  • Wrocław, Polska
  • 03:58 (UTC +01:00)
View GitHub Profile
#!/usr/bin/perl
use strict;
use LWP::UserAgent;
# ip address of the router
my $routerip = "192.168.8.1";
# ussd command to send, change for your ISP
my $ussd = "*123*523#";
@Yawning
Yawning / orhttp_example.go
Created April 29, 2015 14:41
How to dispatch HTTP requests via Tor in Go.
// To the extent possible under law, the Yawning Angel has waived all copyright
// and related or neighboring rights to orhttp_example, using the creative
// commons "cc0" public domain dedication. See LICENSE or
// <http://creativecommons.org/publicdomain/zero/1.0/> for full details.
package main
import (
// Things needed by the actual interface.
"golang.org/x/net/proxy"
@s9tpepper
s9tpepper / zombie_flash_detection_testing.js
Created September 27, 2012 18:54
Make Zombie think Flash is available
// These 'settings' put on the navigator will result in a plugin detection, not ActiveX
// I will link a gist for IE when I finish that one.
// edit: Link to IE example: https://gist.github.com/3796408
var SHOCKWAVE_FLASH = "Shockwave Flash",
FLASH_MIME_TYPE = "application/x-shockwave-flash";
this.Given(/^some step that tests Flash availability$/, function(callback) {
// Tell Zombie to pose as Safari 5.0
browser = new zombie.Browser({