Skip to content
New issue

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

Improper Form Submission While Crawling SPAs #92

Open
darshanpjpt opened this issue Dec 28, 2022 · 0 comments
Open

Improper Form Submission While Crawling SPAs #92

darshanpjpt opened this issue Dec 28, 2022 · 0 comments

Comments

@darshanpjpt
Copy link

Hello,

Htcap is not submitting forms correctly while crawling SPAs.

For example, when I crawled the website https://brokencrystals.com with htcap, it didn't send the requests properly while crawling.

  • The actual login request looks like below, where the form is submitted to /api/auth/login endpoint with POST request and json body.

    actual_login

  • On the other hand, htcap sent a GET request with data in URL to /userlogin endpoint (which is a frontend page that does not handle any backend operations)

    htcap_login

I have seen this same behavior multiple times while crawling other SPAs also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant