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 / 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 / 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 / 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
Loading
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 / 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>'
@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 September 18, 2024 12:18
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
@Fluepke
Fluepke / dmesg.log
Last active April 19, 2020 15:49
Required for a bug report
[ 2207.116940] audit: type=1106 audit(1587310600.640:94): pid=6761 uid=0 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=archlinux addr=? terminal=/dev/tty1 res=success'
[ 2207.235836] [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:95:eDP-1]
[ 2207.235874] [drm:intel_dp_detect [i915]] [CONNECTOR:95:eDP-1]
[ 2207.235902] [drm:intel_dp_print_rates [i915]] source rates: 162000, 216000, 270000, 324000, 432000, 540000
[ 2207.235928] [drm:intel_dp_print_rates [i915]] sink rates: 162000, 270000, 540000
[ 2207.235952] [drm:intel_dp_print_rates [i915]] common rates: 162000, 270000, 540000
[ 2207.235987] [drm:edp_panel_vdd_on [i915]] Turning [ENCODER:94:DDI A] VDD on
[ 2207.236073] [drm:edp_panel_vdd_on [i915]] PP_STATUS: 0x80000008 PP_CONTROL: 0x0000000f
[ 2207.236411] [drm:intel_dp_detect [i915]] [ENCODER:94:DDI A] MST support: port: no, sink: no, modparam: yes
[ 2207.237023] [drm:drm_add_display_info [drm]] non_desk