Check if gettext is installed, if not use Homebrew to get it:
$ brew install gettext
Get the gettext library and cpp flags, and configure with those flags:
$ brew info gettext | grep FLAGS
#!/bin/sh | |
systemctl enable ssh; | |
systemctl start ssh; | |
service ssh start; | |
apt-get install gpg-agent; | |
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list; | |
gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6; | |
gpg --fingerprint 7D8D0BF6; | |
gpg -a --export 7D8D0BF6 | apt-key add -; |
#!/bin/sh | |
curl -sL https://github.com/arkadiyt/bounty-targets-data/raw/master/data/bugcrowd_data.json | jq -r '.[].targets.in_scope[] | [.target, .type] | @tsv' | grep '^*' | awk '{print $1}' | sed 's/^\*\.//g'| tee bugcrowd-wildcards | |
curl -sL https://github.com/arkadiyt/bounty-targets-data/raw/master/data/federacy_data.json | jq -r '.[].targets.in_scope[] | [.target, .type] | @tsv'| grep '^*' | awk '{print $1}' | sed 's/^\*\.//g'| tee federacy-wildcards | |
curl -sL https://github.com/arkadiyt/bounty-targets-data/blob/master/data/hackerone_data.json?raw=true | jq -r '.[].targets.in_scope[] | [.asset_identifier, .asset_type] | @tsv' | grep '^*' | awk '{print $1}' | sed 's/^\*\.//g'| tee h1-wildcards | |
curl -sL https://github.com/arkadiyt/bounty-targets-data/raw/master/data/intigriti_data.json | jq -r '.[].targets.in_scope[] | [.endpoint, .type] | @tsv' grep '^*' | awk '{print $1}' | sed 's/^\*\.//g'| tee intigriti-wildcards |
Target: | |
{ | |
"alg": "HS256", | |
"typ": "JWT" | |
} | |
{ | |
"sub": "1234567890", | |
"name": "John Doe", | |
"iat": 1516239022 |
#!/bin/bash | |
# | |
# Execute as wget -O - https://gist.github.com/LuD1161/66f30da6d8b6c1c05b9f6708525ea885/raw | bash | |
# # Thanks JeffreyShran for the gist url thing | |
# | |
# | |
# It's debian based, so for centos and likewise you have to change apt to yum and similarly | |
# | |
InstallationStartTime=$(date +%s) |
# Docs: | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference | |
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | |
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53 | |
# Download ISO Installer: | |
wget https://ubuntu.volia.net/ubuntu-releases/20.04.3/ubuntu-20.04.3-live-server-amd64.iso | |
# Create ISO distribution dirrectory: |
#!/usr/bin/env bash | |
# Upload text/images to clbin.com from the command line | |
# License: ISC http://www.isc.org/downloads/software-support-policy/isc-license/ | |
clip() { | |
if command -v xclip &> /dev/null; then | |
xclip -selection clip <<< "$@" | |
elif command -v xsel &> /dev/null; then | |
xsel -b -i <<< "$@" | |
fi |
http://www.rijksoverheid.nl | |
http://www.rivm.nl | |
http://coronadashboard.rijksoverheid.nl | |
http://www.nederlandwereldwijd.nl | |
http://www.government.nl | |
http://lci.rivm.nl | |
http://www.rvo.nl | |
http://www.defensie.nl | |
http://www.werkenvoornederland.nl | |
http://www.rijkswaterstaat.nl |
import requests | |
import sys | |
import json | |
def waybackurls(host, with_subs): | |
if with_subs: | |
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
else: | |
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |
import sys | |
import requests | |
from ipaddress import ip_network, ip_address | |
def output_valid_ips(ips): | |
ipvs4 = "https://www.cloudflare.com/ips-v4" | |
ipvs6 = "https://www.cloudflare.com/ips-v6" | |
ipranges = requests.get(ipvs4).text.split("\n")[:-1] # removing last trailing space | |
ipranges += requests.get(ipvs6).text.split("\n")[ |