This file contains hidden or 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
| { | |
| "bambda":{ | |
| "http_history_display_filter":{ | |
| "bambda":"return true;" | |
| }, | |
| "logger_capture_filter":{ | |
| "bambda":"return true;" | |
| }, | |
| "logger_display_filter":{ | |
| "bambda":"return true;" |
This file contains hidden or 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 | |
| """ | |
| zipattack.py | |
| by @trebledj | |
| Python helpers to craft zip attack payloads to exploit file upload | |
| vulnerabilities. | |
| Disclaimer: This script is intended purely for educational purposes. The author | |
| does not assume any responsibility for the potential misuse of the code |
This file contains hidden or 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
| 0 | |
| 00 | |
| 01 | |
| 02 | |
| 03 | |
| 1 | |
| 1.0 | |
| 10 | |
| 100 | |
| 1000 |
This file contains hidden or 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
| // | |
| // 100% Similarity Reversed Source Code for [HKCERT CTF 2023 – Decompetition: Vitamin C++]. | |
| // by @TrebledJ | |
| // | |
| #include <iostream> | |
| #include <string> | |
| #include <unordered_map> | |
| using namespace std; |
This file contains hidden or 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
| # HITCON 2023 – The Blade | |
| # Solve Script by TrebledJ | |
| # WriteUp: https://trebledj.github.io/posts/hitcon-2023-the-blade | |
| import string | |
| ############### | |
| ### Part 1. ### | |
| ############### |
This file contains hidden or 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
| # DownUnderCTF 2023 – Wrong Signal | |
| # Solve Script by TrebledJ | |
| # WriteUp: https://trebledj.github.io/posts/ductf-2023-wrong-signal/ | |
| import z3 | |
| # Func to extract crumbs from bytes. | |
| crumbs = lambda bs: [(b >> (2 * i)) & 0b11 for b in bs for i in range(4)] |
This file contains hidden or 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
| // main.c | |
| #include "stm32f4xx_hal.h" | |
| #include <math.h> | |
| #include <stdint.h> | |
| DAC_HandleTypeDef hdac; | |
| DMA_HandleTypeDef hdma_dac1; | |
| DMA_HandleTypeDef hdma_dac2; |
This file contains hidden or 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
| # Wavetable Synthesis Demo | |
| # by @TrebledJ | |
| from matplotlib.patches import ConnectionPatch | |
| import matplotlib.ticker as mticker | |
| import matplotlib.pyplot as plt | |
| from matplotlib.animation import FuncAnimation | |
| import numpy as np | |
This file contains hidden or 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
| # Additive Synthesis Demo | |
| # by @TrebledJ | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| t = np.linspace(0, 1, 44100) | |
| t = t[:800] |
This file contains hidden or 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
| use regex::Regex; | |
| use std::collections::{HashSet, LinkedList}; | |
| use std::fs; | |
| type Set = HashSet<(cube_t, cube_t, cube_t)>; | |
| #[allow(non_camel_case_types)] | |
| type cube_t = i64; | |
| type Cuboid = ((cube_t, cube_t), (cube_t, cube_t), (cube_t, cube_t)); | |
| struct Command(bool, Cuboid); |
NewerOlder