I hereby claim:
- I am evilaliv3 on github.
- I am evilaliv3 (https://keybase.io/evilaliv3) on keybase.
- I have a public key whose fingerprint is C49B E477 069D 6A96 7E82 A964 F4CB D5BD 67A0 F187
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| from sys import stdout | |
| from twisted.internet import reactor | |
| from twisted.internet.endpoints import TCP4ClientEndpoint | |
| from twisted.internet.task import react, LoopingCall | |
| from twisted.internet.defer import inlineCallbacks | |
| import txtorcon |
| var fs = require('fs'); | |
| var specs = JSON.parse(fs.readFileSync('tests/end2end/specs.json')); | |
| var q = require("q"); | |
| var FirefoxProfile = require("selenium-webdriver/firefox").Profile; | |
| var makeFirefoxProfile = function (preferenceMap) { | |
| var profile = new FirefoxProfile(); | |
| for (var key in preferenceMap) { | |
| profile.setPreference(key, preferenceMap[key]); |
| importScripts('openpgp.worker.js'); | |
| importScripts('scrypt.js'); | |
| var generateKeyPair = window.openpgp.generateKeyPair; | |
| window.openpgp.generateKeyPair = function(options) { | |
| var scrypt = scrypt_module_factory(33554432); | |
| var utf8_pwd = scrypt.encode_utf8(options.receipt); | |
| var salt = options.salt; |
| def getBestLangMatch(accept_language, supported_lcs): | |
| def parse_accept_language(accept_language): | |
| return [l.split(';')[0] for l in accept_language.replace(" ", "").split(',')] | |
| def language_only(lc): | |
| if '-' in lc: | |
| lc = lc.split('-')[0] | |
| return lc |
| <script> | |
| /* | |
| Copyright 2015 - Hermes Center - GlobaLeaks project | |
| Author <[email protected]> | |
| Javascript CheckTor library | |
| */ | |
| function redirectIfOnTor(url, test_url) { |