Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
m3n0sd0n4ld authored Jul 4, 2022
1 parent 85dedb2 commit 4dfb237
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GooFuzz
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ url="https://www.google.com/search?q="
filter="&filter=0"
start="&start="
userAgent="User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0"
version="1.1"
version="1.2"

## Effects
cBold=`tput bold`
Expand Down Expand Up @@ -135,9 +135,9 @@ function requestRun(){
fi

if [ -n "$extension" ]; then
request=$(curl -s -H "$userAgent" "${url}site:${target}+filetype:${extension}+${excludeTargets}${filter}${start}${page}" | grep -oP "http.?://\S+(.${extension})" | grep -vE "google" | sort -u | sed 's/"//g')
request=$(curl -s -H "$userAgent" "${url}site:${target}+filetype:${extension}+${excludeTargets}${filter}${start}${page}" | grep -oP '<a href="(.*?)"' | grep -vE "search\?\q=site|google|#" | grep -oP '"(.*?)"' | sort -u | sed 's/"//g')
elif [ -n "$dictionary" ]; then
request=$(curl -s -H "$userAgent" "${url}site:${target}+inurl:${file}+${excludeTargets}${filter}${start}${page}" | grep -oP "http.?://\S+(${file})" | sort -u | grep -vE "google|gstatic.com" | sort -u | sed 's/"//g')
request=$(curl -s -H "$userAgent" "${url}site:${target}+inurl:${file}+${excludeTargets}${filter}${start}${page}" | grep -oP '<a href="(.*?)"' | grep -vE "search\?\q=site|google|#" | grep -oP '"(.*?)"' | sort -u | sed 's/"//g')
fi

# Request storage
Expand Down

0 comments on commit 4dfb237

Please sign in to comment.