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 nix-shell | |
#! nix-shell -i python -p python39Packages.termcolor | |
import sys | |
from termcolor import colored, cprint | |
""" | |
DragonSector CTF 2021 - Run of the Mill | |
This was an awesome challenge, although this script is what is left over of a |
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
error: | |
… while calling anonymous lambda | |
at /nix/store/0iqihbvgw5r24rvff4mkikzz0v0lalh1-source/lib/attrsets.nix:812:24: | |
811| let f = attrPath: | |
812| zipAttrsWith (n: values: | |
| ^ | |
813| let here = attrPath ++ [n]; in |
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
javascript: (function() { | |
var visited = []; | |
var recursiveSpider = function(url) { | |
if (visited.indexOf(url) != -1) { | |
return; | |
} | |
visited.push(url); | |
console.log(url); | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, true); |
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
{ config, pkgs... }: | |
# Future People: This place is not a place of honor... no highly esteemed deed | |
# is commemorated here... nothing valued is here... | |
# Look at the docker volumes section: You'll have to build and fail a few | |
# times... sorry | |
let | |
# environment.etc."pretix.cfg".text = '' | |
pretix_config = pkgs.writeText "pretix.cfg" '' |
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
/// base64 can be generated by taking chunks of 3 bytes from the input and | |
/// mapping them onto 4 output chunks as shown below: | |
/// | |
/// ```raw | |
/// | M | a | n | ascii | |
/// | 77 | 97 | 110 | decimal | |
/// | 0x4d | 0x61 | 0x6e | hex | |
/// | | | | | |
/// | a | b | c | chunk name | |
/// | | | | |
OlderNewer