Skip to content

Instantly share code, notes, and snippets.

@ishideo
ishideo / gitleaks_creddata.toml
Created June 27, 2026 06:09 — forked from zricethezav/gitleaks_creddata.toml
gitleaks_creddata.toml
# This is an expanded gitleaks config based on the default config.
# It adds a few new regular rules and a few composite rules.
title = "gitleaks config"
# TODO: change to [[allowlists]]
[allowlist]
description = "global allow lists"
paths = [
'''gitleaks\.toml''',
# This is the default gitleaks configuration file.
# Rules and allowlists are defined within this file.
# Rules instruct gitleaks on what should be considered a secret.
# Allowlists instruct gitleaks on what is allowed, i.e. not a secret.
title = "gitleaks config"
[allowlist]
description = "global allow lists"
regexes = [
'''219-09-9999''',

Introduction

This Gist aims to centralise the most relevant public sources of information related to the HTTP/2 Rapid Reset vulnerability. This vulnerability has been disclosed jointly by Google, Amazon AWS, and Cloudflare on 10 October 2023 at 12:00 UTC.

Please help us make this page as comprehensive as possible by contributing relevant references, vendor advisories and statements, mitigations, etc.

References

#!/usr/bin/env bash
cat cidr_cdn.tsv | paste -d, $(yes '-' | head -10000) | parallel --line-buffer -k -j$(nproc) --bar grepcidr {} ip.tsv | sort -u >ip_cdn.tsv
#!/usr/bin/env bash
cat ip_domain.tsv | bb -e '
(->> (line-seq (java.io.BufferedReader. *in*))
(map #(str/split % #"\t"))
(group-by first)
(map (fn [[ip rows]] (str ip "\t" (str/join ";" (map second rows)))))
(run! println))
' > ip_domains.tsv
@ishideo
ishideo / parallel.md
Created April 13, 2026 05:22 — forked from copyleftdev/parallel.md
GNU Parallel Mastery: The Ultimate Cheat Sheet

πŸš€ GNU Parallel Mastery: The Ultimate Cheat Sheet

πŸ“Š Basic Usage

Command Description Example
parallel echo ::: A B C πŸ”€ Process items in parallel Output: A, B, C (in any order)
parallel echo {} ::: *.txt πŸ” Use {} as placeholder Echoes names of all .txt files
cat file.txt | parallel echo πŸ“₯ Read input from stdin Processes each line of file.txt
parallel -j4 command ::: item1 item2 item3 πŸ”’ Limit to 4 jobs at a time Runs 'command' on items, max 4 parallel
@ishideo
ishideo / Bug Bounty Resources.txt
Created April 12, 2026 15:12 — forked from ruevaughn/Bug Bounty Resources.txt
My Resources and Links over time to various Tools, Notes, Videos, Papers, Articles, Writeups, and more. Will be moving to my own private hosted Wikipedia soon. Ascii Art Font: Calvin S
╔╦╗╦ ╦ β•”β•— ┬ β”¬β”Œβ”€β” β•”β•— β”Œβ”€β”β”¬ β”¬β”Œβ”β”Œβ”¬β”β”¬ ┬ β•¦β•β•—β”Œβ”€β”β”Œβ”€β”β”Œβ”€β”β”¬ β”¬β”¬β”€β”β”Œβ”€β”β”Œβ”€β”β”Œβ”€β”
β•‘β•‘β•‘β•šβ•¦β• β• β•©β•—β”‚ β”‚β”‚ ┬ β• β•©β•—β”‚ β”‚β”‚ β”‚β”‚β”‚β”‚β”‚ β””β”¬β”˜ β• β•¦β•β”œβ”€ └─┐│ β”‚β”‚ β”‚β”œβ”¬β”˜β”‚ β”œβ”€ └─┐
β•© β•© β•© β•šβ•β•β””β”€β”˜β””β”€β”˜ β•šβ•β•β””β”€β”˜β””β”€β”˜β”˜β””β”˜β”΄ β”΄ β•©β•šβ•β””β”€β”˜β””β”€β”˜β””β”€β”˜β””β”€β”˜β”΄β””β”€β””β”€β”˜β””β”€β”˜β””β”€β”˜
//
()==========>>======================================--
\\
2FA Bypass
@ishideo
ishideo / ddg.bb
Created April 12, 2026 14:36 — forked from choffee/ddg.bb
Cli tool for selecting DuckDuckGo bang searches unsing Babashka and gum.
#!/usr/bin/env bb
;; Script to search ddg.
;; Takes a search term then asks you to select a bang.
;; Copyright John Cooper
;; This program is free software: you can redistribute it and/or modify it under the terms of the
;; GNU General Public License as published by the Free Software Foundation,
;; either version 3 of the License, or (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#!/usr/bin/env bash
cat cert.tsv | bb -e '
(->> (slurp *in*)
str/split-lines
(mapcat #(re-seq #"\\n\s\sCommonName:\s.*?\\n\\n|\\nDNS Names:\\n.*?\\n\\n" %)))' \
| bb -e '
(->> (slurp *in*)
str/split-lines
(mapcat #(str/split % #"\\\\n"))
#!/usr/bin/env bash
bb -e '
(let [ips (str/split-lines (slurp "ip.tsv"))
table (map #(str/split % #"\t") (str/split-lines (slurp "ip_domain.tsv")))
idx (into {} (map (juxt first second) table))]
(doseq [ip ips]
(println (get idx ip))))'