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

fix file input in custom vars for self contained http template #3385

Merged
merged 4 commits into from
Mar 3, 2023

Conversation

tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented Mar 3, 2023

Proposed changes

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@tarunKoyalwar tarunKoyalwar linked an issue Mar 3, 2023 that may be closed by this pull request
@tarunKoyalwar
Copy link
Member Author

$ go run . -v -t ~/test/var_test.yaml -V "test=/tmp/number.txt"  

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.8.9

		projectdiscovery.io

[INF] Using Nuclei Engine 2.8.9 (latest)
[INF] Using Nuclei Templates 9.3.8 (latest)
[INF] Templates added in last update: 656
[INF] Templates loaded for scan: 1
[VER] [basic-example] Sent HTTP request to https://example.com/1
[VER] [basic-example] Sent HTTP request to https://example.com/2
[INF] No results found. Better luck next time!

@ehsandeep ehsandeep merged commit d9e953a into dev Mar 3, 2023
@ehsandeep ehsandeep deleted the issue-3361-self-contained-file branch March 3, 2023 23:27
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

Successfully merging this pull request may close these issues.

Payload handling issue in self-contained template in base format
3 participants