Giter Club home page Giter Club logo

weblive's Introduction

webinfo

webinfo 是一个高并发网站信息获取工具,可用于

  • 获取到目标相关子域名大量资产后(支持包括IP段,域名),进行存活扫描
  • 可自定义header、请求方法、请求体、请求路径、端口,可设定是否跟踪301跳转
  • 获取域名解析的ip,识别cdn,轻量级识别指纹、获取标题
  • 可以自定义app.json文件,进行自定义的指纹识别,app.json配置教程最新版app.json下载

更新记录

  • 20230814:由cdn指纹代替cdn的ip库,单文件编译更便捷

webinfo使用go语言编写

  • 发挥golang协程优势,快速扫描获取网站全面信息
  • 多平台通用

安装

git clone https://github.com/aeverj/weblive.git
cd weblive
go build weblive.go

开始使用

👉 weblive 帮助 👈
Usage of webinfo.exe:
  -H value
        Custom Header
  -M string
        Request Method (default "GET")
  -dataFile string
        The Post data file path
  -follow_redirects
        Follow Redirects
  -iF string
        Load urls from file (default "input.txt")
  -output string
        Output file
  -path string
        Request Path (default "/")
  -ports string
        Custom ports
  -threads int
        Number of threads (default 50)
  -timeout int
        Timeout in seconds (default 3)

直接使用

将待扫描目标放到当前目录下input.txt文件中,执行程序
weblive -iF input.txt

自定义header

weblive -H "X-Forwarded-For:127.0.0.1" -H "X-Originating-IP:127.0.0.1"

自定义请求方法 GET|POST ,可支持自定义post数据

weblive -M POST -dataFile post数据文件路径

自定义请求端口

weblive -ports 80,443,8000

自定义请求路径

weblive -path /admin/login.html

结果会放到result文件夹中,网站信息保存为CSV表格

扫描结果

URL Redirect Title Status_Code IP CDN Finger
https://www.baidu.com https://www.baidu.com 百度一下,你就知道 200 182.61.200.7,182.61.200.6 false jQuery
https://github.com https://github.com The world’s leading software development platform · GitHub 200 13.250.177.223 false Ruby on Rails,GitHub Pages,Bootstrap
https://studygolang.com/ https://studygolang.com/ 首页 - Go语言中文网 - Golang中文社区 200 59.110.219.94 false jQuery,Bootstrap,Google AdSense,Marked,Gravatar,Nginx,Font Awesome

TODO

  • 对存活的网站进行截图
  • 导出结果增加html格式

weblive's People

Contributors

aeverj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

weblive's Issues

无法找到文件apps.json

出现以下新问题:
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
image

Runtime error

环境: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`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.