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 / designer.html
Last active August 29, 2015 14:12
designer
<link href="../core-menu/core-submenu.html" rel="import">
<link href="../core-scaffold/core-scaffold.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../core-menu/core-menu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<polymer-element name="my-element">
@Fluepke
Fluepke / mcdonalds_germany.geojson
Created April 14, 2018 15:04
mcdonalds_stores_germany.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Fluepke
Fluepke / telekom_msisdn.py
Created December 9, 2019 17:40
Very simple PoC to retrieve a telekom germany subscribers' phone number
import json
import requests
from urllib.parse import urlparse, parse_qs
headers = {
'User-Agent': 'MeinMagenta/7.24 CFNetwork/1107.1 Darwin/19.0.0',
'Host': 'example.de', #sic! server does not look at Host header as it seems
}
params = (
@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
@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
; <<>> DiG 9.16.21 <<>> axfr 219.185.195.in-addr.arpa @91.189.192.6
;; global options: +cmd
; Transfer failed.
@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
@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 / 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.