Skip to content

Instantly share code, notes, and snippets.

Avatar

pannal

  • Germany
View GitHub Profile
@pannal
pannal / cfscrape.py
Created Apr 4, 2019
This is an experimental update of Team Universal's UniversalScrapers' cfscrape.py, which tries to solve a CF challenge with local Python code with as few imports as possible.
View cfscrape.py
import logging
import random
import time
import re
# based off of https://gist.github.com/doko-desuka/58d9212461f62583f8df9bc6387fade2
# and https://github.com/Anorov/cloudflare-scrape
# and https://github.com/VeNoMouS/cloudflare-scrape-js2py
'''''''''
@pannal
pannal / rspamd_learn.py
Last active Mar 22, 2019
Rspamd learn with automatic sender-whitelist
View rspamd_learn.py
#!/usr/bin/python3
import sys
import subprocess
import json
import logging
import argparse
import email
import mailparser
@pannal
pannal / rar.py
Last active Apr 6, 2018
Workaround for RarFile.read() with certain unrar versions
View rar.py
# coding=utf-8
from rarfile import RarFile as _RarFile, UNRAR_TOOL, ORIG_OPEN_ARGS as OPEN_ARGS, custom_popen, check_returncode, \
XTempFile, add_password_arg
class RarFile(_RarFile):
def read(self, fname, psw=None):
"""
@pannal
pannal / REAPERControl.ahk
Last active Apr 19, 2020
REAPER Control v0.12b AutoHotkey Script
View REAPERControl.ahk
; ----------------------------------------------------------------------------------------------------------
; _____ _____ _____ _____ _____ _____ _____ _ _
; | __ || __|| _ || _ || __|| __ | | | ___ ___ | |_ ___ ___ | |
; | -|| __|| || __|| __|| -| | --|| . || || _|| _|| . || |
; |__|__||_____||__|__||__| |_____||__|__| |_____||___||_|_||_| |_| |___||_|
;
; ----------------------------------------------------------------------------------------------------------
; REAPER Control
; panni
; 2018