0xsha / golinkfinder Goto Github PK
View Code? Open in Web Editor NEWA fast and minimal JS endpoint extractor
License: MIT License
A fast and minimal JS endpoint extractor
License: MIT License
Hello.
I think actual installation command should be:
go install -v github.com/0xsha/GoLinkFinder@latest
when running your tool with https://github.com/shenwei356/rush ,it gives runtime error
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x68ea65]
goroutine 1 [running]:
main.extractJSLinksFromHTML(0x7ffe110cb26e, 0x5d, 0x0, 0x0, 0x0)
/home/bug/Desktop/GoLinkFinder/GoLinkFinder.go:148 +0x95
main.main()
/home/bug/Desktop/GoLinkFinder/GoLinkFinder.go:192 +0x297
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x68ea65]
goroutine 1 [running]:
main.extractJSLinksFromHTML(0x7ffc541342a2, 0x29, 0x0, 0x0, 0x0)
/home/bug/Desktop/GoLinkFinder/GoLinkFinder.go:148 +0x95
Hey, Hi!
this is a great tool. I would like to request some modifications. please remove the double quotes from the output and regex feature like -i in linkfinder. like if i want to fetch endpoints with /api/* only then I can do someting like this golinkfinder -d site.com -i ^/api/ -o apiendpoints.txt
Thanks!
hey...
when i run "go build GoLinkFinder, i got below error...
GoLinkFinder.go:18:2: cannot find package "github.com/PuerkitoBio/goquery" in any of:
/usr/lib/go-1.10/src/github.com/PuerkitoBio/goquery (from $GOROOT)
/home/alam/go/src/github.com/PuerkitoBio/goquery (from $GOPATH)
GoLinkFinder.go:19:2: cannot find package "github.com/akamensky/argparse" in any of:
/usr/lib/go-1.10/src/github.com/akamensky/argparse (from $GOROOT)
/home/alam/go/src/github.com/akamensky/argparse (from $GOPATH)
GoLinkFinder.go:20:2: cannot find package "github.com/tomnomnom/gahttp" in any of:
/usr/lib/go-1.10/src/github.com/tomnomnom/gahttp (from $GOROOT)
/home/alam/go/src/github.com/tomnomnom/gahttp (from $GOPATH)
single and double quotes in the output shouldn't be there. looking forward to this tool.
hi.....
first thanks for your reply.
As you told me to run go get command, i did it and got following error....
please help me again.
Thanks.
alam@learn:~/GoLinkFinder$ go get
./GoLinkFinder.go:83:13: undefined: strings.ReplaceAll
./GoLinkFinder.go:84:13: undefined: strings.ReplaceAll
./GoLinkFinder.go:197:11: undefined: strings.ReplaceAll
./GoLinkFinder.go:198:11: undefined: strings.ReplaceAll
./GoLinkFinder.go:213:12: undefined: strings.ReplaceAll
./GoLinkFinder.go:214:12: undefined: strings.ReplaceAll
when i run go build command following command occurs ....
GoLinkFinder.go:18:2: cannot find package "github.com/PuerkitoBio/goquery" in any of:
/usr/local/go/src/github.com/PuerkitoBio/goquery (from $GOROOT)
/home/alam/go/src/github.com/PuerkitoBio/goquery (from $GOPATH)
GoLinkFinder.go:19:2: cannot find package "github.com/akamensky/argparse" in any of:
/usr/local/go/src/github.com/akamensky/argparse (from $GOROOT)
/home/alam/go/src/github.com/akamensky/argparse (from $GOPATH)
GoLinkFinder.go:20:2: cannot find package "github.com/tomnomnom/gahttp" in any of:
/usr/local/go/src/github.com/tomnomnom/gahttp (from $GOROOT)
/home/alam/go/src/github.com/tomnomnom/gahttp (from $GOPATH)
Hi, thanks for GoLinkFinder, it works very well!
I would like to be able to see which JavaScript file contains the lines I see in the output. It would be very useful when I use this tool to report a vulnerability to the website owner...
Would it be possible to add such an option, please?
Thanks in advance. Best regards
In the new update If I try to use golinkfinder -d https://att.com it gives me error, error comes when using http:// or https:// . this may cause problems when used in automation. thanks please fix this too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.