Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zha0gongz1/html-absorber
一款可批量提取url或本地html文件中注释、属性及标签内容的工具
https://github.com/zha0gongz1/html-absorber
bash-script bugbounty golang hack hacktool html infosec redteam
Last synced: about 1 month ago
JSON representation
一款可批量提取url或本地html文件中注释、属性及标签内容的工具
- Host: GitHub
- URL: https://github.com/zha0gongz1/html-absorber
- Owner: zha0gongz1
- License: mit
- Created: 2022-06-26T08:34:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T06:40:04.000Z (over 2 years ago)
- Last Synced: 2024-11-12T11:46:10.149Z (3 months ago)
- Topics: bash-script, bugbounty, golang, hack, hacktool, html, infosec, redteam
- Language: Go
- Homepage:
- Size: 850 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# html-Absorber
使用标准输入,从URL或HTML文件中批量提取、筛选出指定标签内容,属性值及注释中的内容
**建议:Linux/Mac下使用效果最佳**
## Install
```
go install -v github.com/zha0gongz1/html-Absorber@latest
```## Usage
```
▶ html-Absorber
Usage: html-Absorber []
Modes:
tags Extract text contained in tags
attribs Extract attribute values
comments Extract comments
Option:
-output Save the result to fileExamples:
cat urls.txt | html-Absorber tags title [-output]
find . -type f -name "*.html" | html-Absorber attribs src href [-output]
cat urls.txt | html-Absorber comments [-output]
```## Demo
命令行输出结果
保存结果
**注:`-output`为追加式输出到文件output.txt中。**