https://github.com/d3vil0p3r/commentor
Extract all comments from the specified URL resource.
https://github.com/d3vil0p3r/commentor
bash comments ctf-tools hacking regexp security-tools web
Last synced: 8 months ago
JSON representation
Extract all comments from the specified URL resource.
- Host: GitHub
- URL: https://github.com/d3vil0p3r/commentor
- Owner: D3vil0p3r
- License: gpl-3.0
- Created: 2022-10-02T02:42:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T18:06:25.000Z (almost 3 years ago)
- Last Synced: 2025-04-18T17:43:23.482Z (about 1 year ago)
- Topics: bash, comments, ctf-tools, hacking, regexp, security-tools, web
- Language: Shell
- Homepage:
- Size: 41 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# comMENTOR

comMENTOR extracts all comments from the specified URL resource.
```
commentor [-c ] [-h] [-u ] [-o ]
```
Options:
| Argument | Description |
| -------- | ----------- |
| c | Specify the type of the comment (i.e., xml, cstyle, hashtag). |
| h | Print this Help. |
| u | Input URL. |
| o | Print to a file. |
* XML-like: (for HTML, XML, ASP, ASPX web pages)
* CStyle-like: // or /* */ (for PHP, JS, CSS web pages)
* Hashtag-like: # (for BASH files)
# Install
Clone the repository by:
```
git clone https://github.com/D3vil0p3r/comMENTOR
cd comMENTOR
chmod 755 commentor decorate filter cleanup
```
# Usage
```
commentor -u https://apis.google.com/js/platform.js -c cstyle
commentor -u https://debian.org -c xml
commentor -u https://raw.githubusercontent.com/D3vil0p3r/catana/main/catana -c hashtag
```