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

feat: add custom server header + optional hide version header #510

Merged
merged 4 commits into from
Mar 29, 2023

Conversation

Bisstocuz
Copy link
Contributor

@Bisstocuz Bisstocuz commented Mar 23, 2023

  1. Add -server-token to control if interactsh-server version to be show in response http header.
  2. Add -header-server to define custom header Server in response.

Link: #511

@github-advanced-security
Copy link

You have successfully added a new CodeQL configuration .github/workflows/codeql-analysis.yml:analyze/language:go. As part of the setup process, we have scanned this repository and found 4 existing alerts. Please check the repository Security tab to see all alerts.

@Mzack9999 Mzack9999 self-requested a review March 23, 2023 13:54
@Mzack9999 Mzack9999 changed the title feat: add custom server header and disable showing version in response header by default feat: add custom server header + optional hide version header Mar 27, 2023
Copy link
Member

@Mzack9999 Mzack9999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - Version header optionally disabled with -no-version-header

@Mzack9999 Mzack9999 requested a review from ehsandeep March 27, 2023 20:05
@Mzack9999 Mzack9999 added the Type: Enhancement Most issues will probably ask for additions or changes. label Mar 27, 2023
Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated options to

   -csh, -server-header string  custom value of Server header in response
   -dv, -disable-version        disable publishing interactsh version in response header

@ehsandeep ehsandeep merged commit 5ffcca5 into projectdiscovery:dev Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: disable interactsh fingerprint in response header and custom Server header
3 participants