Skip to content

Instantly share code, notes, and snippets.

View maverickNerd's full-sized avatar

maverickNerd maverickNerd

  • India
View GitHub Profile
@maverickNerd
maverickNerd / jsscan.sh
Created September 18, 2020 15:23
jsscan.sh
# Stroing js files per domain in a jsscript dir and then all_jsscript can be used for other functions like get endpoints and wordlists as before, no need to change anything
gatherjsfiles(){
mkdir -p jsscript
for url in $(cat hosts.txt)
do
domain=$(echo $url | unfurl -u format "%d")
echo $url | gau | grep -iE "\.js$" | sort -u | httpx -status-code -silent | grep '200' | awk '{print $1}' > jsscript/"$domain".txt
echo $url | waybackurls | grep -iE "\.js$" | sort -u | httpx -status-code -silent | grep '200' | awk '{print $1}' >> jsscript/"$domain".txt
echo $url | subjs | httpx -status-code -silent | grep '200' | awk '{print $1}' >> jsscript/"$domain".txt
echo $url | hakrawler -js -plain -depth 2 -insecure | grep -iE "\.js$" | httpx -status-code -silent | grep '200' | awk '{print $1}' >> jsscript/"$domain".txt
@maverickNerd
maverickNerd / clean_ips.py
Created August 24, 2020 03:26 — forked from LuD1161/clean_ips.py
Remove IPs which belong to cloudflare
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")[
@maverickNerd
maverickNerd / Crontab -e
Last active September 14, 2020 04:52
cron job for recon
0 0 * * * find ~/assets -maxdepth 2 -type f -name "daily" -executable -exec sh -c 'cd $(dirname {}) && ./daily' \;
30 18 * * * /root/tools/automateAll/chaos.sh
15 19 * * * /root/tools/continuous-nuclei/run -l /root/tools/automateAll/chaos-host.txt
@maverickNerd
maverickNerd / Github-search.py
Created May 9, 2020 15:00
Github-search setup
pip3 install goop
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
bzip2 -d phantomjs-2.1.1-linux-x86_64.tar.bz2
tar -xvf phantomjs-2.1.1-linux-x86_64.tar
cp phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/loca/bin/phantomjs
@maverickNerd
maverickNerd / extensions_temp_backup.txt
Created April 12, 2020 08:47 — forked from hackerscrolls/extensions_temp_backup.txt
Common temp and backup extensions for files and directories by twitter.com/hackerscrolls
.0
.1
.2
.3
.tar
.tgz
.zip
.tar.gz
.rar
.cache
@maverickNerd
maverickNerd / pandoc.bat
Created March 31, 2020 07:01
Buld Export MD(Markdown) to docx
for /r %%i in (*.md) do pandoc --to=docx -o "%%~dpni.docx" "%%~fi"
REM or if you want to ru n directly in cmd prompt
REM for /r %i in (*.md) do pandoc --to=docx -o "%~dpni.docx" "%~fi"
This file has been truncated, but you can view the full file.
http://acrvw1.acappellarecords.com/
http://adidas-supercourt.withspotify.com/
http://annoyanceindex.com/
http://apresolve.spotify.com/
http://art.loudr.fm/
http://booking.spotify.net/
http://cdn.acappellarecords.com/
http://cdn.gimletmedia.com/
http://cetaphilmoments.withspotify.com/
http://chompers.dental/
@maverickNerd
maverickNerd / WAHH_Task_Checklist.md
Created September 24, 2019 09:20 — forked from jhaddix/Testing_Checklist.md
The Web Application Hacker's Handbook - Task Checklist - Github-Flavored Markdown