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

The code cannot run under Windows. #247

Open
haichaox opened this issue Jun 2, 2024 · 2 comments
Open

The code cannot run under Windows. #247

haichaox opened this issue Jun 2, 2024 · 2 comments

Comments

@haichaox
Copy link

haichaox commented Jun 2, 2024

Hi Team,

Could you please optimize the code? the current code cannot run under Windows, and the error message is as follows:

C:\gotestwaf-master\gotestwaf-master>go run ./cmd --url=http://39.100.84.77 --reportFormat=html --noEmailReport --skipWAFIdentification

github.com/wallarm/gotestwaf/internal/scanner

internal\scanner\scanner.go:345:36: undefined: syscall.SIGUSR1
01
01

@haichaox
Copy link
Author

haichaox commented Jun 7, 2024

Can anyone help? thanks in advance!

@falconkei
Copy link

I am able to get it working by replacing SIGUSR1 with SIGINT, not sure if this change broke something else.

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

2 participants