We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the page http://localhost containing
<form action="/xss.php"> <input type="text" id="xss" name="xss"><br> <input type="submit" value="Submit"> </ul> </form>
the command
dalfox url http://localhost
fetches from
http://localhost/?xss=DalFox
when it should fetch from
http://localhost/app.php?xss=DalFox
It seems ParameterAnalysis() is ignoring the url part of the form action? See
dalfox/pkg/scanning/parameterAnlaysis.go
Line 177 in c344c58
doc.Find("form").Each(func(i int, s *goquery.Selection) { action, _ := s.Attr("action") if strings.HasPrefix(action, "/") || strings.HasPrefix(action, "?") { // assuming this is a relative URL url, _ := url.Parse(action) query := url.Query() for aParam := range query { p, dp = setP(p, dp, aParam, options) count = count + 1 } } })
The text was updated successfully, but these errors were encountered:
Is the intent to delegate all crawling to some external tool like katana?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Given the page http://localhost containing
the command
fetches from
when it should fetch from
It seems ParameterAnalysis() is ignoring the url part of the form action? See
dalfox/pkg/scanning/parameterAnlaysis.go
Line 177 in c344c58
Environment
The text was updated successfully, but these errors were encountered: