Skip to content

Instantly share code, notes, and snippets.

Emilien Devos unixfox

Block or report user

Report or block unixfox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
unixfox /
Last active Jun 5, 2019
Block Cloudflare MITM attack

This is a source code of BCMA's "Block Cloudflare MITM Attack".

PRs are welcome.

This add-on will block, notify, or redirect your request if the target website is using Cloudflare.
unixfox /
Last active May 25, 2019
Google fixed engine Searx
# Google (Web)
# @website
# @provide-api yes (
# @using-api no
# @results HTML
# @stable no (HTML can change)
# @parse url, title, content, suggestion
View searx_auto_complete_post.js
searx = {};
searx.method = "POST";
searx.autocompleter = true;
View opensearch.xml
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="">
<ShortName>Searx Belgium</ShortName>
<Description>a privacy-respecting, hackable metasearch engine</Description>
<LongName>searx metasearch</LongName>
<Url type="text/html" method="post" template="">
<Param name="q" value="{searchTerms}" />
unixfox / background.js
Last active May 1, 2019
Firefox web extension that enable a proxy if on mobile/cellular network
View background.js
if (navigator.connection.type === "cellular") {
View paccompy.js
function FindProxyForURL(url, host) {
if (url.substring(0, 5) == 'http:' || url.substring(0, 6) == 'https:') {
return "HTTP";
return "DIRECT";
unixfox / ppp-watcher.service
Created Apr 3, 2019
Network Manager PPPoE ADSL/VDSL2 connection watcher
View ppp-watcher.service
[root@odroidhc1 system]# cat ppp-watcher.service
Description=NetworkManager PPPoE Watcher
unixfox /
Created Mar 26, 2019
Exercices architecture de l'ordinateur Henallux Q2 manipulation 4 Raspberry pi
import RPi.GPIO as GPIO
from time import sleep
GPIO.setup(24, GPIO.OUT)
while 1:
GPIO.output(24, 1)
unixfox /
Last active Mar 12, 2019
Pwned checker based on the computerphile's video
#!/usr/bin/env python
import sys
import urllib.request
import hashlib
password = sys.argv[1]
passwordHashed = hashlib.sha1(password.encode('utf-8')).hexdigest().upper()
def fetchPwnedCount(passwordHashed):
passwordHashedKAnonymity = passwordHashed[:5]
unixfox /
Last active Jan 18, 2019
Reset password of a Linux machine (in this case Debian)

Tuto disponible en vidéo :


  1. Lancer Debian/votre linux
  2. Lors du boot sur l'écran de grub appuyer sur la touche e
  3. Descendre avec la touche directionnelle du bas jusqu'à se trouver sur la ligne linux:
You can’t perform that action at this time.