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

adding content-length #37

Open
moein9 opened this issue Oct 24, 2024 · 1 comment
Open

adding content-length #37

moein9 opened this issue Oct 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@moein9
Copy link

moein9 commented Oct 24, 2024

sometimes there is a false positive, and all the result returns 200, so if we could have a content length of the response it would make it easy for us to see it.

NOW it is like this

INFO Endpoint accessible!  Method=GET Status=200 Target=https://api.eg.com/api/profile/1

with this enhancement, it would be like

INFO Endpoint accessible!  Method=GET Status=200  content-length=20KB Target=https://api.eg.com/api/profile/1

BTW thanks for this nice tool

@twest-bf twest-bf added the enhancement New feature or request label Oct 28, 2024
@twest-bf
Copy link
Collaborator

Hey @moein9, we will keep this open for future consideration, but in the meantime the -v flag should help to identify false positives when using the automate sub-command. The --response-preview-length flag can also be used in conjunction with -v to control how much of the response is shown in the output:

  -v, --verbose                       enable verbose mode, which shows a preview of each response.
        --response-preview-length int   sets the response preview length when using verbose output. (default 50)

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

No branches or pull requests

2 participants