Skip to content

Commit 6ed6228

Browse files
committed
new version
1 parent 8292c93 commit 6ed6228

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+50327
-29903
lines changed

.github/workflows/build.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: build-go-binary
5+
6+
on:
7+
release:
8+
types: [created] # 表示在创建新的 Release 时触发
9+
workflow_dispatch: # 允许手动触发工作流
10+
11+
jobs:
12+
build-go-binary:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
goos: [windows, linux] # 需要打包的系统
17+
goarch: [amd64, arm64] # 需要打包的架构
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: wangyoucao577/go-release-action@v1
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
23+
project_path: ./cmd/
24+
goos: ${{ matrix.goos }}
25+
goarch: ${{ matrix.goarch }}
26+
goversion: 1.22
27+
extra_files: README.md # 需要包含的额外文件

README.md

+53-73
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,70 @@
1-
# webinfo #
1+
# WebLive
22

3-
**webinfo** 是一个高并发网站信息获取工具,可用于
3+
WebLive is a powerful tool designed for web reconnaissance and analysis. It allows users to perform various tasks such as sending HTTP requests, capturing screenshots, and gathering information about web servers. This project is built using Go and leverages concurrency to efficiently handle multiple requests simultaneously.
44

5-
* 获取到目标相关子域名大量资产后(**支持包括IP段,域名**),进行存活扫描
6-
* 可自定义header、请求方法、请求体、请求路径、端口,可设定是否跟踪301跳转
7-
* 获取域名解析的ip,识别cdn,轻量级识别指纹、获取标题
8-
* 可以自定义app.json文件,进行自定义的指纹识别,[app.json配置教程](https://github.com/AliasIO/wappalyzer)[最新版app.json下载](https://github.com/AliasIO/wappalyzer/blob/master/src/technologies.json)
5+
## Features
96

10-
更新记录
11-
* **20230814**:由cdn指纹代替cdn的ip库,单文件编译更便捷
7+
- **Concurrent HTTP Requests**: Utilize multiple threads to send requests to various URLs, improving efficiency and speed.
8+
- **Screenshot Capture**: Capture screenshots of web pages using headless Chrome.
9+
- **DNS Resolution**: Resolve domain names to IP addresses and gather CDN information.
10+
- **Fingerprinting**: Identify web technologies and frameworks used by the target websites.
11+
- **Output Formats**: Export results in HTML or CSV formats for easy analysis.
1212

13-
webinfo使用go语言编写
13+
## Installation
1414

15-
* 发挥`golang`协程优势,快速扫描获取网站全面信息
16-
* 多平台通用
15+
To get started with WebLive, follow these steps:
1716

18-
------
17+
1. Clone the repository:
18+
```bash
19+
git clone https://github.com/aeverj/weblive.git
20+
cd weblive
21+
```
1922

20-
### 安装 ###
23+
2. Install the required dependencies:
24+
```bash
25+
go mod tidy
26+
```
2127

22-
git clone https://github.com/aeverj/weblive.git
23-
cd weblive
24-
go build weblive.go
28+
3. Build the project:
29+
```bash
30+
go build -o weblive cmd/start.go
31+
```
2532

26-
### 开始使用
33+
4. Run the application:
34+
```bash
35+
./weblive -i input.txt -o html
36+
```
2737

28-
<details>
29-
<summary> 👉 weblive 帮助 👈</summary>
38+
## Usage
3039

31-
```
32-
Usage of webinfo.exe:
33-
-H value
34-
Custom Header
35-
-M string
36-
Request Method (default "GET")
37-
-dataFile string
38-
The Post data file path
39-
-follow_redirects
40-
Follow Redirects
41-
-iF string
42-
Load urls from file (default "input.txt")
43-
-output string
44-
Output file
45-
-path string
46-
Request Path (default "/")
47-
-ports string
48-
Custom ports
49-
-threads int
50-
Number of threads (default 50)
51-
-timeout int
52-
Timeout in seconds (default 3)
53-
```
54-
</details>
40+
WebLive can be configured using command-line options. Here are some of the available options:
5541

56-
#### 直接使用
57-
```
58-
将待扫描目标放到当前目录下input.txt文件中,执行程序
59-
weblive -iF input.txt
60-
```
61-
#### 自定义header
62-
```
63-
weblive -H "X-Forwarded-For:127.0.0.1" -H "X-Originating-IP:127.0.0.1"
64-
```
65-
#### 自定义请求方法 GET|POST ,可支持自定义post数据
66-
```
67-
weblive -M POST -dataFile post数据文件路径
68-
```
69-
#### 自定义请求端口
70-
```
71-
weblive -ports 80,443,8000
72-
```
73-
#### 自定义请求路径
74-
```
75-
weblive -path /admin/login.html
42+
- `-th`: Number of threads (default: 30)
43+
- `-i`: Input file path containing URLs
44+
- `-o`: Output type (html or csv)
45+
- `-timeout`: Request timeout in seconds (default: 10)
46+
47+
### Example Command
48+
```bash
49+
./weblive -i input.txt -o csv -th 10
7650
```
7751

78-
结果会放到result文件夹中,网站信息保存为CSV表格
52+
## Screenshots
53+
54+
If you have screenshots of the application in action, you can include them here. For example:
55+
56+
![WebLive Screenshot](img/cardView.png)
57+
![WebLive Screenshot](img/tableView.png)
58+
59+
## Contributing
60+
61+
Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.
62+
63+
## License
7964

80-
### 扫描结果
65+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
8166

82-
| URL | Redirect | Title | Status_Code | IP | CDN | Finger |
83-
| ------------------------ | ------------------------ | ----------------------------------------------------------- | ----------- | ------------------------- | ----- | ------------------------------------------------------------ |
84-
| https://www.baidu.com | https://www.baidu.com | 百度一下,你就知道 | 200 | 182.61.200.7,182.61.200.6 | false | jQuery |
85-
| 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 |
86-
| https://studygolang.com/ | https://studygolang.com/ | 首页 - Go语言中文网 - Golang中文社区 | 200 | 59.110.219.94 | false | jQuery,Bootstrap,Google AdSense,Marked,Gravatar,Nginx,Font Awesome |
67+
## Acknowledgments
8768

88-
### TODO
89-
- [ ] 对存活的网站进行截图
90-
- [ ] 导出结果增加html格式
69+
- [Chromedp](https://github.com/chromedp/chromedp) for headless browser automation.
70+
- [SizedWaitGroup](https://github.com/remeh/sizedwaitgroup) for managing concurrent tasks.

0 commit comments

Comments
 (0)