This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
url="$1" | |
domain=$(echo "$url" | unfurl domain) | |
pat=$(echo "$url" | unfurl path) | |
nmap -T4 -p80,443 -Pn -sV "$domain" --script http-ntlm-info --script-args http-ntlm-info.root="$pat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
protocols=("ssh" "ftp" "telnet" "netbios-ssn" "ms-wbt-server" "vnc") | |
for protocol in "${protocols[@]}" | |
do | |
mkdir -p "proto/$protocol" | |
users="usernames/generic.txt" | |
passes="passwords/generic.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.1.1.1 | |
9.9.9.9 | |
8.8.8.8 | |
129.250.35.250 | |
1.0.0.1 | |
212.31.32.130 | |
198.82.247.34 | |
129.250.35.251 | |
195.113.144.194 | |
194.179.1.100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data_sources.AlienVault": { | |
}, | |
"data_sources.AlienVault.Credentials": { | |
"apikey ": "" | |
}, | |
"data_sources.BinaryEdge": { | |
"ttl 10080": "" | |
}, | |
"data_sources.BinaryEdge.Credentials": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
email="$1" | |
key="" | |
if [[ -z "$email" ]]; then | |
echo "No email supplied" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ranges="$1" | |
cat $ranges | tr '/' ' ' | while read ip mask; do if [[ $mask -lt 22 ]]; then; echo "$ip/$mask"; fi; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
## $ ports.py nmap.xml | |
## 8.8.8.8:80 | |
## 8.8.8.8:443 | |
## 8.8.8.8:3305 | |
#install requirements: pip install python-libnmap | |
#uses python 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="$PATH:$HOME/.axiom/interact" | |
source $HOME/.axiom/functions/autocomplete.zsh | |
compdef _axiom-ssh axiom-rm | |
compdef _axiom-ssh axiom-ssh | |
compdef _axiom-ssh axiom-select | |
compdef _axiom-ssh axiom-backup | |
compdef _axiom-ssh axiom-vpn | |
compdef _axiom-restore axiom-restore | |
compdef _axiom-deploy axiom-deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
(echo "Subdomain,IP,Region,Country,Organization,Netblock,Link Type" && while read line; do ip=$(echo $line| cut -d " " -f 2); name=$(echo $line | cut -d " " -f 1); echo -n "$name,"; echo $ip | ipi '[.ip,.city,.region,.country,.company.name,.asn.name,.asn.route,.asn.type] | @csv'; done) | tee -a assets.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DOMAIN="$1" | |
mkdir -p $HOME/www | |
docker run --detach --name nginx-proxy --restart=always --publish 80:80 --publish 443:443 --volume /etc/nginx/certs --volume /etc/nginx/vhost.d --volume /usr/share/nginx/html --volume /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy | |
docker run --detach --name nginx-proxy-letsencrypt --restart=always --volumes-from nginx-proxy --volume /var/run/docker.sock:/var/run/docker.sock:ro jrcs/letsencrypt-nginx-proxy-companion | |
docker run --restart=always -d --name "apache-php" -v $HOME/www:/var/www/html -e "VIRTUAL_HOST=$DOMAIN" -e "LETSENCRYPT_HOST=$DOMAIN" php:7.3-apache |
NewerOlder