Skip to content

Instantly share code, notes, and snippets.

Andy Davies andydavies

View GitHub Profile
payloadartist /
Last active May 18, 2020
Enumerate sub-domains, then open them in Firefox automatically. Useful for taking a quick glance at target's assets, and make notes, while doing recon.
# ------Instructions---------
# Install (and configure) subfinder, assetfinder, and httprobe
# go get -v && go get -v && go get -v
# cat >> ~/.bashrc
# source ~/.bashrc
# Usage - subf_ff target.tld
# asset_ff target.tld
subf_ff () {
subfinder -d $1 -silent -t 100 | httprobe -c 50 | sort -u | while read line; do firefox $line; sleep 10; done
View little-vdom-decompiled.js
/* eslint-disable no-unused-vars */
/* eslint-disable no-else-return */
// JSX constructor, similar to createElement()
export const h = (type, props, ...children) => {
return {
// Props will be an object for components and DOM nodes, but a string for
// text nodes
View attributes.css
Seven different types of CSS attribute selectors
// This attribute exists on the element
// This attribute has a specific value of cool
// This attribute value contains the word cool somewhere in it
IanColdwater / twittermute.txt
Last active Jul 5, 2020
Here are some terms to mute on Twitter to clean your timeline up a bit.
View twittermute.txt
Mute these words in your settings here:
View console-function-names.js
const bypass = [
// function names to avoid logging
const collapsed = [
// function names to groupCollapsed
module.exports = function(babel) {
const { types: t } = babel;
const wrapFunctionBody = babel.template(`{
xdesro / _magic.css
Created Sep 19, 2019
The most useful line of CSS I've ever written.
View _magic.css
*, *:before, *:after { box-sizing: border-box; }
nucliweb /
Last active Sep 21, 2019
Twitter accounts you should follow if you like Image & Video Optimization

👀📎 It looks like you're preparing to MC a conference...

🚨 GIANT DISCLAIMER: This stuff is far from authoritative. But it's what I think works for me, and what I enjoy in an MC when I'm attending a conference.

Biggest tip - enjoy yourself.

niw /
Last active May 4, 2020
How to extract dylib from shared cache

How to extract dylib from shared cache

To understand iOS behaviors, sometimes it’s important to disassemble iOS framework binaries.

Since recent iOS firmware, known as .ipsw file, contains non-encrypted root image, it’s easy to access these binaries. However, each framework binaries, dylib files, are placed in a shared cache file.

Thus, before disassembling it, we need to extract the one from the cache.

rviscomi /
Last active May 7, 2019
"Crash Course in CrUX" for the PerfMatters conference, April 2019
You can’t perform that action at this time.