Metadata-Version: 2.4
Name: iocscrape
Version: 0.1.0
Summary: Extract IOCs from URLs and files with safe defaults and low-confidence highlighting.
Author-email: Faisal Albuloushi <SQL@hotmail.co.uk>
License: The MIT License (MIT)
        
        Copyright (c) 2025 Faisal Albuloushi
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
        THE SOFTWARE.
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: defusedxml
Requires-Dist: openpyxl
Requires-Dist: pdfminer-six
Requires-Dist: python-docx
Description-Content-Type: text/markdown

# iocscrape

Extract IOCs (URLs, domains, IPs, hashes, CVEs) from a URL or a file.

## Install

### Recommended (pipx)
pipx install iocscrape

### pip
python3 -m pip install iocscrape

## Usage

iocscrape --url https://example.com/article --out output.txt
iocscrape --file /path/report.pdf --out output.txt
iocscrape --url https://example.com/article --out output.json --format json

## Notes

- Output may include false positives. Review before ingesting.
- Non-public IPs are excluded by default and listed in the output with reasons.
