Nicolas Grekas - nicolas.grekas, gmail.com
17 June 2011 - Last updated on 3 sept. 2011
Not updated any more on this gist. See:
*, *::before, *::after { | |
box-sizing: border-box; | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
html, body { | |
height: 100%; | |
} |
name = "subfinder" | |
type = "ext" | |
function vertical(ctx, domain) | |
print("in sub finder") | |
local cmd = outputdir(ctx) .. "subfinder -d " .. domain | |
local data = assert(io.popen(cmd)) | |
for line in data:lines() do | |
newname(ctx, line) |
name = "assetfinder" | |
type = "ext" | |
function vertical(ctx, domain) | |
print("in asset finder") | |
local cmd = outputdir(ctx) .. "assetfinder --subs-only " .. domain | |
local data = assert(io.popen(cmd)) | |
for line in data:lines() do | |
newname(ctx, line) |
import mmh3 | |
import requests | |
import codecs | |
import sys | |
import os | |
# Get favicon hash | |
response = requests.get(sys.argv[1], verify=False) | |
favicon = codecs.encode(response.content,"base64") | |
hash = mmh3.hash(favicon) |
Nicolas Grekas - nicolas.grekas, gmail.com
17 June 2011 - Last updated on 3 sept. 2011
Not updated any more on this gist. See:
## IPv6 Tests | |
http://[::ffff:169.254.169.254] | |
http://[0:0:0:0:0:ffff:169.254.169.254] | |
## AWS | |
# Amazon Web Services (No Header Required) | |
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy | |
http://169.254.169.254/latest/user-data | |
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] |
# Make mouse useful in copy mode | |
setw -g mode-mouse on | |
# Allow mouse to select which pane to use | |
set -g mouse-select-pane on | |
# Allow mouse dragging to resize panes | |
set -g mouse-resize-pane on | |
# Allow mouse to select windows |
#!/bin/bash | |
export DEBIAN_FRONTEND=noninteractive; | |
echo "[🛠] Starting Installation... [🛠]" | |
echo -e "\n[🐧]Running a full package upgrade...[🐧]" | |
apt update && apt upgrade | |
# General stuff | |
sudo apt install dnsutils rsync | |
sudo apt install build-essential | |
sudo apt install libssl-dev pkg-config |
# config file | |
# nano ~/.config/fish/config.fish | |
# reload the config | |
# source ~/.config/fish/config.fish | |
# GOLANG configuration | |
set -x GOPATH $HOME/go | |
set PATH $PATH /usr/local/go/bin $GOPATH/bin |
#!/bin/sh | |
iptables-restore < /etc/iptables.rules | |
exit 0 |