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

Not working #3

Open
Botami143 opened this issue Jun 6, 2022 · 1 comment
Open

Not working #3

Botami143 opened this issue Jun 6, 2022 · 1 comment

Comments

@Botami143
Copy link

Hello

This tool not working

My single Website working

But list of website not working

My systam windows 10

Tool Error :

PS C:\Users> socialhunter -f url.txt

     Utku Sen's
    \ \     / /
     \ \   / /
      \ \_/ /
       \   /
    socialhunter
       / _ \
      / / \ \
     / /   \ \
    /_/     \_\
    utkusen.com

Total URLs: 2
Checking: https://j69o12wenlqcbt2za2l0cw.on.drv.tw/d.html
Checking: https://j69o12wenlqcbt2za2l0cw.on.drv.tw/frg.html
panic: parse "https://j69o12wenlqcbt2za2l0cw.on.drv.tw/frg.html\r": net/url: invalid control character in URL

goroutine 7 [running]:
main.visitor({0xc00004a0e0, 0x32}, 0xa)
C:/Users/USER/go/pkg/mod/github.com/utkusen/[email protected]/main.go:230 +0x2f9
main.action({0xc00004a0e0, 0x32})
C:/Users/USER/go/pkg/mod/github.com/utkusen/[email protected]/main.go:68 +0x45
main.main.func1()
C:/Users/USER/go/pkg/mod/github.com/utkusen/[email protected]/main.go:58 +0x94
github.com/gammazero/workerpool.startWorker(0x0?, 0xc00005a0c0)
C:/Users/USER/go/pkg/mod/github.com/gammazero/[email protected]/workerpool.go:233 +0x22
created by github.com/gammazero/workerpool.(*WorkerPool).dispatch
C:/Users/USER/go/pkg/mod/github.com/gammazero/[email protected]/workerpool.go:195 +0x25c

@sharingeconomypakistan
Copy link

sharingeconomypakistan commented Jun 9, 2022

Invalid control character...
create file windows.go and copy paste following block of code into it...
// +build windows
package main
const EndOfLine = "\r\n"

Then open file main.go
replace line...
urls := strings.Split(string(file), "\n")
with the following line...
urls := strings.Split(string(file), EndOfLine)

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