iocscrape 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ venv/
2
+ __pycache__/
3
+ *.pyc
4
+ dist/
5
+ build/
6
+ *.egg-info/
7
+ .DS_Store
8
+ .vscode/
9
+ .idea/
10
+ .pytest_cache/
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Faisal Albuloushi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: iocscrape
3
+ Version: 0.1.0
4
+ Summary: Extract IOCs from URLs and files with safe defaults and low-confidence highlighting.
5
+ Author-email: Faisal Albuloushi <SQL@hotmail.co.uk>
6
+ License: The MIT License (MIT)
7
+
8
+ Copyright (c) 2025 Faisal Albuloushi
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in
18
+ all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
+ THE SOFTWARE.
27
+ License-File: LICENSE
28
+ Requires-Python: >=3.10
29
+ Requires-Dist: defusedxml
30
+ Requires-Dist: openpyxl
31
+ Requires-Dist: pdfminer-six
32
+ Requires-Dist: python-docx
33
+ Description-Content-Type: text/markdown
34
+
35
+ # iocscrape
36
+
37
+ Extract IOCs (URLs, domains, IPs, hashes, CVEs) from a URL or a file.
38
+
39
+ ## Install
40
+
41
+ ### Recommended (pipx)
42
+ pipx install iocscrape
43
+
44
+ ### pip
45
+ python3 -m pip install iocscrape
46
+
47
+ ## Usage
48
+
49
+ iocscrape --url https://example.com/article --out output.txt
50
+ iocscrape --file /path/report.pdf --out output.txt
51
+ iocscrape --url https://example.com/article --out output.json --format json
52
+
53
+ ## Notes
54
+
55
+ - Output may include false positives. Review before ingesting.
56
+ - Non-public IPs are excluded by default and listed in the output with reasons.
@@ -0,0 +1,22 @@
1
+ # iocscrape
2
+
3
+ Extract IOCs (URLs, domains, IPs, hashes, CVEs) from a URL or a file.
4
+
5
+ ## Install
6
+
7
+ ### Recommended (pipx)
8
+ pipx install iocscrape
9
+
10
+ ### pip
11
+ python3 -m pip install iocscrape
12
+
13
+ ## Usage
14
+
15
+ iocscrape --url https://example.com/article --out output.txt
16
+ iocscrape --file /path/report.pdf --out output.txt
17
+ iocscrape --url https://example.com/article --out output.json --format json
18
+
19
+ ## Notes
20
+
21
+ - Output may include false positives. Review before ingesting.
22
+ - Non-public IPs are excluded by default and listed in the output with reasons.
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"
@@ -0,0 +1,2 @@
1
+ def main():
2
+ print("iocscrape is installed. (Implementation coming next)")
@@ -0,0 +1,21 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "iocscrape"
7
+ version = "0.1.0"
8
+ description = "Extract IOCs from URLs and files with safe defaults and low-confidence highlighting."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { file = "LICENSE" }
12
+ authors = [{ name = "Faisal Albuloushi", email = "SQL@hotmail.co.uk" }]
13
+ dependencies = [
14
+ "pdfminer.six",
15
+ "python-docx",
16
+ "openpyxl",
17
+ "defusedxml",
18
+ ]
19
+
20
+ [project.scripts]
21
+ iocscrape = "iocscrape.cli:main"
File without changes