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

McAfee detects virus when running example code on windows 11 in vscode (leakless.exe) #794

Closed
smcdaniel54 opened this issue Jan 31, 2023 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@smcdaniel54
Copy link

smcdaniel54 commented Jan 31, 2023

Rod Version: v0.112.3

The code to demonstrate your question


import (
	"github.com/go-rod/rod"
)

func main() {
	page := rod.New().MustConnect().MustPage("https://www.wikipedia.org/")
	page.MustWaitLoad().MustScreenshot("a.png")
}

I am running the first program listed on the rod getting started link to evaluate the usefulness and state of this project for my use case. I am running on windows 11 using vscode. When I run the First Program example main.go file my McAfee antivirus detects the leakless.exe file as a virus and quarantines it. When I exclude it from virus checking in McAfee I get a secondary warning about a dangerous action being detected and the file gets quarantined again. I can disable McAfee and it runs fine but I do not wish to run without my virus protection in place.

It has been made known to me that this is a duplicate of previous issues for the rod project and yet it still exists. This gives a very poor impression of this project, however, pleasantly a very quick response was provided. As I am somewhat new to golang I think I will move on to chromedb for now since that worked for me right away. I may check back in the future to consider this project again as I like the looks of the api calls.

Thanks for answering my question promptly and hopefully the Get Started examples will work out of the box in the future.

PS. I did ask McAfee to look at this file and consider whitelisting it if they can consider it a false positive.

@smcdaniel54 smcdaniel54 added the question Questions related to rod label Jan 31, 2023
@ysmood
Copy link
Member

ysmood commented Jan 31, 2023

Duplicated with #739

@ysmood ysmood closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2023
@ysmood ysmood added duplicate This issue or pull request already exists and removed question Questions related to rod labels Jan 31, 2023
@rod-robot
Copy link

Please fix the format of your markdown:

15 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"]

generated by check-issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants