aeverj / weblive Goto Github PK
View Code? Open in Web Editor NEW批量获取网站基本信息
批量获取网站基本信息
环境:Go version go1.17.5 windows/amd64
运行时出现以下错误,查阅资料无法解决:
`panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x90 pc=0x11a0e30]
goroutine 45097 [running]:
regexp.(*Regexp).doExecute(0xc0000d56c0, {0x0, 0x0}, {0xc000451760, 0xc000559c70, 0xfdafb0}, {0x0, 0x115cf01}, 0x12c1ee0, 0x0, ...)
E:/GoLang/src/regexp/exec.go:527 +0x90
regexp.(*Regexp).doMatch(...)
E:/GoLang/src/regexp/exec.go:514
regexp.(*Regexp).Match(...)
E:/GoLang/src/regexp/regexp.go:531
github.com/x/x/pkg/wappalyzer.hasapp(0xc0007def50, 0xc0009ec060)
E:/tools/webinfo/weblive/pkg/wappalyzer/getFinger.go:195 +0x7fc
github.com/x/x/pkg/wappalyzer.(*wappalyzer).Analyze(0xc00022a6f0, 0xc0007def50)
E:/tools/webinfo/weblive/pkg/wappalyzer/getFinger.go:247 +0xa7
main.main.func3({0xc000012378, 0x0})
E:/tools/webinfo/weblive/webinfo.go:110 +0x174
created by main.main
E:/tools/webinfo/weblive/webinfo.go:103 +0x65d`
一般其他程序生成的子域名文件格式为
xx.xx.com
aa.aa.com
而不是
https://xx.xx.com
https://xx.aa.com
如果能够判断协议部分应该会更好.
只是个建议.
当某个地址扫描出现 panic:解析host错误 的时候会直接终止程序,前面已扫过的地址并没有输出文件。
出现以下新问题:
2020/12/30 10:50:39 无法找到文件apps.json
panic: 无法找到文件apps.json
goroutine 1 [running]:
log.Panic(0xc00010fdd0, 0x1, 0x1)
/usr/lib/go-1.13/src/log/log.go:338 +0xac
github.com/x/x/pkg/wappalyzer.Init(0xc000086eb8)
/root/weblive/pkg/wappalyzer/getFinger.go:211 +0x545
main.main()
/root/weblive/webinfo.go:46 +0x37
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.