This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*://www.sentinelone.com/* | |
*://www.airplane.dev/* | |
*://www.machinelearningplus.com/* | |
*://www.toptal.com/* | |
*://sematext.com/* | |
*://blog.sentry.io/* | |
*://betterstack.com/* | |
*://replit.com/* | |
*://www.safetydetectives.com/* | |
*://www.programiz.com/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Tries to filter SEO spam pages which have low content value. | |
# | |
*://www.sentinelone.com/* | |
*://www.airplane.dev/* | |
*://www.machinelearningplus.com/* | |
*://www.toptal.com/* | |
*://sematext.com/* | |
*://blog.sentry.io/* | |
*://betterstack.com/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
debug-milter.py | |
A super simple Mail Filter (milter) which will print callbacks and received | |
macros to stdout as they are sent by the mailserver. | |
Ideal to understanding what a mailserver is sending to a milter for debugging | |
purposes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# | |
# IPTables Trace parser | |
# Licensed under GPLv3+ by Andreas Thienemann <[email protected]> | |
# | |
# Takes a tracelog and a connection ID and will display the actual firewall rules | |
# a packet hits on it's way through the different iptables chains. | |
# | |
# Instructions: | |
# 1. Enable rule to mark packets to trace in the raw table: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Dockerized Mastodon Database Backup Script | |
# | |
DIR=$(date +%d-%m-%y) | |
DEST="./db_backups/$DIR" | |
mkdir -p "$DEST" | |
MASTODON_ENV=$(basename "${PWD}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdns-auth-master: works | |
pdns-auth-45: works | |
pdns-auth-46: not found | |
Sep 23 14:11:07 Loading '/usr/local/lib/pdns/libgsqlite3backend.so' | |
Sep 23 14:11:07 This is a standalone pdns | |
Sep 23 14:11:07 Listening on controlsocket in '/var/run/pdns/pdns.controlsocket' | |
Sep 23 14:11:07 UDP server bound to 0.0.0.0:53 | |
Sep 23 14:11:07 UDP server bound to [::]:53 | |
Sep 23 14:11:07 TCP server bound to 0.0.0.0:53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import ipaddress | |
import sys | |
for ip in ipaddress.ip_network(sys.argv[1]).hosts(): | |
print(ip) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
# IP Finder als kleine Programmierübung | |
NAMED=/var/named/data | |
NETZ="${1:-}" | |
if [ -z "$NETZ" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Override os_family grain to ensure Rocky Linux is seen | |
# as part of the RedHat OS family. | |
# | |
# Similar functionality was added in https://github.com/saltstack/salt/pull/59682 | |
# but has not been released yet. | |
# | |
# To install, drop this code into /svc/salt/_grains/ and run | |
# `salt '*' saltutil.sync_all` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from PIL import Image | |
import io | |
import logging | |
import vobject | |
import base64 | |
import hashlib | |
""" |
NewerOlder