Skip to content

Instantly share code, notes, and snippets.

Open Data Coder p3t3r67x0

Block or report user

Report or block p3t3r67x0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View null-find.sh
#!/bin/bash
wget https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt
amass enum -config config.ini -brute -w all.txt
wget https://gist.githubusercontent.com/nullenc0de/96fb9e934fc16415fbda2f83f08b28e7/raw/146f367110973250785ced348455dc5173842ee4/content_discovery_nullenc0de.txt
gobuster -u http://example.com -w content_discovery_nullenc0de.txt
View bountyscan_setup.sh
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive;
echo "[*] Starting Install... [*]"
echo "[*] Upgrade installed packages to latest [*]"
echo -e "\nRunning a package upgrade...\n"
apt-get -qq update && apt-get -qq dist-upgrade -y
apt full-upgrade -y
apt-get autoclean
echo "[*] Install stuff I use all the time [*]"
@lmj0011
lmj0011 / rejson-for-ubuntu.md
Last active May 23, 2020
Building and Loading the ReJSON Module on Linux Ubuntu 16.04 for Redis
View rejson-for-ubuntu.md

make sure you have at least redis v4.0+

redis-server --version

redis-cli --version

install the build-essential package

apt-get install build-essential

@CatherineH
CatherineH / text_to_svg_path.py
Created Feb 1, 2018
Convert a text character to an SVG path.
View text_to_svg_path.py
from svgpathtools import wsvg, Line, QuadraticBezier, Path
from freetype import Face
def tuple_to_imag(t):
return t[0] + t[1] * 1j
face = Face('./Vera.ttf')
@scottlinux
scottlinux / breachcompilation.txt
Created Dec 19, 2017
1.4 billion password breach compilation wordlist
View breachcompilation.txt
wordlist created from original 41G stash via:
grep -rohP '(?<=:).*$' | uniq > breachcompilation.txt
Then, compressed with:
7z a breachcompilation.txt.7z breachcompilation.txt
Size:
@andrewdelprete
andrewdelprete / webpack.config.js
Last active May 25, 2020
Webpack: Tailwind CSS + PurgeCSS Example
View webpack.config.js
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const path = require("path");
const glob = require("glob-all");
const PurgecssPlugin = require("purgecss-webpack-plugin");
/**
* Custom PurgeCSS Extractor
* https://github.com/FullHuman/purgecss
* https://github.com/FullHuman/purgecss-webpack-plugin
*/
@andrewfowlie
andrewfowlie / highlight.sty
Last active May 3, 2020
LaTeX package for highlighting text that looks like a hand-drawn highlighter pen
View highlight.sty
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{highlight}[2017/09/13 Highlight]
% All credit to https://tex.stackexchange.com/a/6029/35729
\usepackage{soul}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathmorphing}
View analyze_nginx_access_logs.sh
#!/bin/bash
# variables
LOGFILE="/var/log/nginx/access.log"
LOGFILE_GZ="/var/log/nginx/access.log.*"
RESPONSE_CODE="200"
# functions
filters(){
grep $RESPONSE_CODE \
@fgilio
fgilio / axios-catch-error.js
Last active May 25, 2020
Catch request errors with Axios
View axios-catch-error.js
/*
* Handling Errors using async/await
* Has to be used inside an async function
*/
try {
const response = await axios.get('https://your.site/api/v1/bla/ble/bli');
// Success 🎉
console.log(response);
} catch (error) {
// Error 😨
View gist:132adf5b5f4242b05ef76e6c40b1bf3e
# https://gist.github.com/achillean/1428757481e4b74e17bac962b6f71d55
# ASN Data: http://thyme.apnic.net/
10.30.10.2 -> (AS3356) LEVEL3 - Level 3 Communications, Inc., US
10.30.10.32 -> (AS3356) LEVEL3 - Level 3 Communications, Inc., US
10.30.1.130 -> (AS3356) LEVEL3 - Level 3 Communications, Inc., US
10.34.100.2 -> (AS3356) LEVEL3 - Level 3 Communications, Inc., US
125.10.31.145 -> (AS9824) JTCL-JP-AS Jupiter Telecommunication Co. Ltd, JP
129.187.244.204 -> (AS12816) MWN-AS, DE
129.194.41.4 -> (AS559) SWITCH Peering requests: <peering@switch.ch>, CH
129.194.49.47 -> (AS559) SWITCH Peering requests: <peering@switch.ch>, CH
You can’t perform that action at this time.