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

Default User Agent should match headless chrome on the system #907

Open
Mzack9999 opened this issue May 27, 2024 · 0 comments · Fixed by #900
Open

Default User Agent should match headless chrome on the system #907

Mzack9999 opened this issue May 27, 2024 · 0 comments · Fixed by #900
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Mzack9999
Copy link
Member

katana version:

main|dev

Current Behavior:

The function WebUserAgent() in pkg.utils.utils.go uses an hard-coded user agent:

"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"

Expected Behavior:

The user agent should match the current one of the headless instance within the systme or as an alternative the latest chrome from https://github.com/projectdiscovery/useragent

@Mzack9999 Mzack9999 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 27, 2024
@Mzack9999 Mzack9999 added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Jun 3, 2024
@Mzack9999 Mzack9999 linked a pull request Jun 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant