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
. - matches any single charactors | |
? - The preceding item is not optional and will be matched, at most ], once | |
* - The preceding item will be matched zero or more times. | |
+ - the preceding item will be matched one or more times. | |
{N} - The preceding item will be matched exectly N times | |
{N,} - the preceding item will be matched exactly N or more times. | |
{N.M} - the preceding item will be mached at least N, but not more then M times. | |
- represents the range if it't not first or last in a list or the endpoint point of a range in a list. | |
^ - match the empty string at the beginning of line. | |
$ - match the empty string at the end of a word. |
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 | |
cloudflare_dns_service="1.1.1.1" | |
google_dns_service="8.8.8.8" | |
echo "Enter DNS Service you like>" | |
read input | |
user_dns_service=$input | |
if [ "$user_dns_service" == "$cloudflare_dns_service" ];then | |
echo "This is Cloudflare DNS service :)" | |
elif [ "$user_dns_service" == "$google_dns_service" ];then | |
echo "This is Google DNS Service :)" |
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 | |
printf '%s ' 'Which tool you want to run for finding subdomains?' | |
read -${BASH_VERSION+e}r subdomain | |
case $subdomain in | |
subfinder) | |
subfinder -d hackerone.com | |
;; | |
sublister) | |
python sublister.py -d hackerone.com | |
;; |
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 | |
cloudflare_dns_service="1.1.1.1" | |
echo "Enter DNS Service you like>" | |
read input | |
user_dns_service=$input | |
if [ "$cloudflare_dns_service" == "$user_dns_service" ];then | |
echo "This is Cloudflare DNS service :) " | |
else | |
echo "This is NOT Cloudflare DNS service :(" | |
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 | |
read mychoice | |
if ((mychoice));then | |
echo "Your choice is TRUE" | |
else | |
echo "Your choice is FALSE" | |
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
#!/usr/bin/env python2 | |
import sys | |
from netaddr import IPNetwork | |
if __name__ == "__main__": | |
if len(sys.argv) != 2: | |
print "Usage: %s <CIDR Block>\n" % sys.argv[0] | |
else: | |
for ip in IPNetwork(sys.argv[1]): | |
print '%s' % ip |
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
#Personal alias | |
#.bashrc file | |
alias adbf="adb forward tcp:31415 tcp:31415" | |
alias pt="source ./venv/bin/activate" | |
alias aa="work/src/github.com/aquatone" | |
alias convert="/opt/tools/convert.sh" | |
alias shot="python /Users/sahil/opt/recon/webscreenshot/webscreenshot.py" | |
alias mobsf="docker run -it -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latest" | |
alias th="trufflehog" | |
alias goaltdns="goaltdns -w /work/src/github.com/subfinder/goaltdns/words.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
#Converter.sh by @xdavidhu | |
# This is a script inspired by the Bug Hunter's Methodology 3 by @Jhaddix | |
# With this script, you can convert domain lists to resolved IP lists without duplicates. | |
# Usage: ./converter.sh [domain-list-file] [output-file] | |
echo -e "[+] Converter.sh by @xdavidhu\n" | |
if [ -z "$1" ] || [ -z "$2" ]; then | |
echo "[!] Usage: ./converter.sh [domain-list-file] [output-file]" | |
exit 1 | |
fi | |
echo "[+] Resolving domains to IPs..." |
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
require 'socket' | |
require 'colorize' | |
begin | |
file = File.open(ARGV[0], "r") | |
rescue | |
puts "Usage: ruby git.rb objectsid" | |
exit | |
end |
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
.gitignore | |
.htaccess | |
.htpasswd | |
%20../ | |
%2e%2e//google.com | |
%3f/ | |
%EXT% | |
%ff/ | |
..;/ | |
.7z |