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

Feature: passing the test details through to the target app. #263

Open
paul-hammant opened this issue Nov 20, 2024 · 1 comment
Open

Feature: passing the test details through to the target app. #263

paul-hammant opened this issue Nov 20, 2024 · 1 comment

Comments

@paul-hammant
Copy link

paul-hammant commented Nov 20, 2024

To debug the target app vetoing attack requests versus not, this was useful for me:

sed -i 's|debugHeaderValue = testCase.Set + " /// " + testCase.Name + " /// " + placeholder.Name + " /// " + encoder + " /// " + hex.EncodeToString([]byte(payload))\
							if len(debugHeaderValue) > 130 {\
								debugHeaderValue = debugHeaderValue[:130] + "..."\
							}|' internal/scanner/scanner.go

It sends a sha256 for now, and maybe the excellent GoTestWaf would wish to optionally retain that - another command line flag?

@paul-hammant
Copy link
Author

Scratch the above sed expression, the #265 PR has a more solid implementation

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