Skip to content

Instantly share code, notes, and snippets.

Avatar

maverickNerd maverickNerd

  • India
View GitHub Profile
View 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 Aug 24, 2020 — forked from LuD1161/clean_ips.py
Remove IPs which belong to cloudflare
View clean_ips.py
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 Sep 14, 2020
cron job for recon
View Crontab -e
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
View Github-search.py
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 Apr 12, 2020 — forked from hackerscrolls/extensions_temp_backup.txt
Common temp and backup extensions for files and directories by twitter.com/hackerscrolls
View extensions_temp_backup.txt
.0
.1
.2
.3
.tar
.tgz
.zip
.tar.gz
.rar
.cache
@maverickNerd
maverickNerd / pandoc.bat
Created Mar 31, 2020
Buld Export MD(Markdown) to docx
View pandoc.bat
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"
View hosts
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/
@maverickNerd
maverickNerd / WAHH_Task_Checklist.md
Created Sep 24, 2019 — forked from jhaddix/WAHH_Task_Checklist.md
The Web Application Hacker's Handbook - Task Checklist - Github-Flavored Markdown
View WAHH_Task_Checklist.md