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

Trojan:Script/Phonzy.A!ml Detected #734

Closed
allcapsc opened this issue Oct 1, 2022 · 2 comments
Closed

Trojan:Script/Phonzy.A!ml Detected #734

allcapsc opened this issue Oct 1, 2022 · 2 comments

Comments

@allcapsc
Copy link

allcapsc commented Oct 1, 2022

Rod Version: v0.111.0

The code to demonstrate your question

package main

import (
   "fmt"
   "github.com/go-rod/rod"
   "github.com/go-rod/rod/lib/launcher"
)

func main() {
   path, _ := launcher.LookPath()
   u := launcher.New().Bin(path).MustLaunch()
   page := rod.New().ControlURL(u).MustConnect().MustPage("https://example.com")

   fmt.Println(page.MustInfo().Title)
}

What you got

PS C:\Users\User\Desktop\GoLand\HuracánGrubs\tests> go run chrome.go
panic: fork/exec C:\Users\User\AppData\Local\Temp\leakless-0c3354cd58f0813bb5b34ddf3a7c16ed\leakless.exe: Operation did not complete successfully because the file contains a virus or potentially unwanted software.

What have you tried to solve the question

nothing yet

@rod-robot
Copy link

Please fix the format of your markdown:

2 MD022/blanks-around-headings/blanks-around-headers Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Above] [Context: "## The code to demonstrate your question"]
3:1 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
21:1 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
24 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: " ```"]
28:1 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
29:1 MD023/heading-start-left/header-start-left Headings must start at the beginning of the line [Context: " ## What have you tried to sol..."]

generated by check-issue

@ysmood
Copy link
Member

ysmood commented Oct 1, 2022

You can disable leakless or add it to whitelist:

	
u := launcher.New().Leakless(false).MustLaunch()

browser := rod.New().ControlURL(u).MustConnect()

Duplicated with #720

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

3 participants