|
1 |
| -# webinfo # |
| 1 | +# WebLive |
2 | 2 |
|
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. |
4 | 4 |
|
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 |
9 | 6 |
|
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. |
12 | 12 |
|
13 |
| -webinfo使用go语言编写 |
| 13 | +## Installation |
14 | 14 |
|
15 |
| -* 发挥`golang`协程优势,快速扫描获取网站全面信息 |
16 |
| -* 多平台通用 |
| 15 | +To get started with WebLive, follow these steps: |
17 | 16 |
|
18 |
| ------- |
| 17 | +1. Clone the repository: |
| 18 | + ```bash |
| 19 | + git clone https://github.com/aeverj/weblive.git |
| 20 | + cd weblive |
| 21 | + ``` |
19 | 22 |
|
20 |
| -### 安装 ### |
| 23 | +2. Install the required dependencies: |
| 24 | + ```bash |
| 25 | + go mod tidy |
| 26 | + ``` |
21 | 27 |
|
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 | + ``` |
25 | 32 |
|
26 |
| -### 开始使用 |
| 33 | +4. Run the application: |
| 34 | + ```bash |
| 35 | + ./weblive -i input.txt -o html |
| 36 | + ``` |
27 | 37 |
|
28 |
| -<details> |
29 |
| -<summary> 👉 weblive 帮助 👈</summary> |
| 38 | +## Usage |
30 | 39 |
|
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: |
55 | 41 |
|
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 |
76 | 50 | ```
|
77 | 51 |
|
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 | + |
| 57 | + |
| 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 |
79 | 64 |
|
80 |
| -### 扫描结果 |
| 65 | +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details. |
81 | 66 |
|
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 |
87 | 68 |
|
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