Skip to content

Instantly share code, notes, and snippets.

@kotx
kotx / README.md
Last active November 21, 2022 23:00
CyberChef recipe for Cloudflare's "email protection"

CyberChef Link

All this does is extract the string (e.g. 0a676f6d7f6763644a676f6d7f246e6f7c) and XOR's the remainder by the first byte (0a).

This file has been truncated, but you can view the full file.
0000;<control>;Cc;0;BN;;;;;N;NULL;;;;
0001;<control>;Cc;0;BN;;;;;N;START OF HEADING;;;;
0002;<control>;Cc;0;BN;;;;;N;START OF TEXT;;;;
0003;<control>;Cc;0;BN;;;;;N;END OF TEXT;;;;
0004;<control>;Cc;0;BN;;;;;N;END OF TRANSMISSION;;;;
0005;<control>;Cc;0;BN;;;;;N;ENQUIRY;;;;
0006;<control>;Cc;0;BN;;;;;N;ACKNOWLEDGE;;;;
0007;<control>;Cc;0;BN;;;;;N;BELL;;;;
0008;<control>;Cc;0;BN;;;;;N;BACKSPACE;;;;
@kotx
kotx / README.md
Last active June 14, 2018 01:28
NSelenium - An automated script for nationstates challenges

NSelenium is a selenium script in python for nationstates challenges. It automates the challenges, provided that you login first.

This was made in an hour or two, so you'll most likely experience bugs. If you find any, feel free to make a comment!

This script supports matchmaker, random world and region. Simply change

btn = WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.NAME, "matchmaker")))

to

import random
def generate(length):
try:
get_char = unichr
except NameError:
get_char = chr
# Update this to include code point ranges to be sampled
include_ranges = [
(0x30, 0x39), # numbers