Skip to content

Instantly share code, notes, and snippets.

View Fluepke's full-sized avatar
👋
Hey there, I am using Github

Flüpke (Carl Fabian Lüpke) Fluepke

👋
Hey there, I am using Github
View GitHub Profile
@Fluepke
Fluepke / README.md
Created December 24, 2022 15:57
Vodafail

Vodafail

This will become a short tutorial on how to achieve higher bandwidth on a residential (german) Vodafone DOCSIS internet connection.

A flaw in Vodafone's modem activation process allows for simultanous operation of two modems on one contract:

  • Vodafone-owned CPE (e.g. "Vodafone Station")
  • Customer CPE (TC4400, Fritz?!Box 6660, etc.)

On a low-loaded DOCSIS 3.1 segment, I am able to achieve 1900 MBit/s download and 95 MBits/ upload bitrate by bundling both modems using MPTCP

@Fluepke
Fluepke / fetch_crt.sh
Created January 2, 2024 21:21
Fetch crt.sh database as CSV
#!/bin/bash
# Database parameters
HOST="crt.sh"
PORT="5432"
USER="guest"
DB="certwatch"
# File to store the data
OUTPUT_FILE="certificates.csv"
@Fluepke
Fluepke / log_train.sh
Created November 12, 2022 15:16
Log train rides on german trains (location data, internet availability, speed, etc.)
#!/bin/bash
if ! command -v curl &> /dev/null; then
echo "This script needs curl. Please install curl."
exit -1
fi
if ! command -v jq &> /dev/null; then
echo "This script needs jq. Please install jq."
exit -1
@Fluepke
Fluepke / nuke.py
Created February 12, 2022 15:18
Nuke followers of a Twitter account
#!/bin/env python
import tweepy
import sys
from tqdm import tqdm
print(f"Nuking {sys.argv[1]}")
consumer_key = '<redacted>'
consumer_secret = '<redacted>'
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Fluepke
Fluepke / govdigital.de.zone
Created April 8, 2022 14:13
govdigital.de subdomains
; <<>> DiG 9.18.1 <<>> axfr govdigital.de @ns-govdigital.akdb.de.
;; global options: +cmd
govdigital.de. 28800 IN SOA dns.lvr.govdigital.de. admin-tech-c.regioit.de. 207 10800 3600 2419200 900
govdigital.de. 300 IN A 217.160.41.129
govdigital.de. 300 IN MX 10 govdigital-de.mail.protection.outlook.com.
govdigital.de. 28800 IN TXT "v=spf1 include:spf.protection.outlook.com -all"
govdigital.de. 28800 IN TXT "MS=ms78731993"
govdigital.de. 28800 IN NS dns.lvr.govdigital.de.
govdigital.de. 28800 IN NS ns-govdigital.akdb.de.
@Fluepke
Fluepke / mcdonalds_germany.geojson
Created April 14, 2018 15:04
mcdonalds_stores_germany.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Fluepke
Fluepke / README.md
Created December 30, 2021 14:15
Use non local IPv6 with GoLang

Use non local IPv6 with GoLang (e.g. to bypass Ratelimit)

You need:

  • IPv6 addresses (and a static route)
  • A "to local" route
  • The address range configured on the loopback interface
  • net.ipv6.ip_nonlocal_bind=1
; <<>> DiG 9.16.21 <<>> axfr 219.185.195.in-addr.arpa @91.189.192.6
;; global options: +cmd
; Transfer failed.
@Fluepke
Fluepke / README.md
Last active August 24, 2021 17:06
Animated PDF

Use Adobe Acrobat or Okular to view the PDF. pdf.js does not work.

Steps to reproduce

# Download some gif
curl 'https://media4.giphy.com/media/mCCpMOJCiiLbdBWuv3/giphy.gif' > some.gif

# Split into single frames
mkdir output
convert -coalesce +adjoin some.gif output/tmp.png