socx 2.4.0__tar.gz → 2.5.1__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.
- socx-2.5.1/.gitignore +3 -0
- socx-2.5.1/LISCENSE +0 -0
- socx-2.5.1/PKG-INFO +121 -0
- socx-2.5.1/README.md +91 -0
- socx-2.5.1/pyproject.toml +63 -0
- socx-2.5.1/requirements.txt +25 -0
- socx-2.5.1/src/socx/__init__.py +3 -0
- socx-2.5.1/src/socx/socx.py +847 -0
- socx-2.5.1/src/socx.egg-info/PKG-INFO +121 -0
- socx-2.5.1/src/socx.egg-info/requires.txt +11 -0
- socx-2.5.1/tests/test_files/PhineasAndFerb.txt +0 -0
- socx-2.5.1/tests/test_files/SOCX_COMBINED_FILE_20260522_154941.csv +3 -0
- socx-2.5.1/tests/test_files/assets.csv +2 -0
- socx-2.5.1/tests/test_files/assets2.csv +2 -0
- socx-2.5.1/tests/tests.py +195 -0
- socx-2.5.1/uv.lock +1206 -0
- socx-2.4.0/PKG-INFO +0 -87
- socx-2.4.0/README.md +0 -61
- socx-2.4.0/pyproject.toml +0 -42
- socx-2.4.0/setup.cfg +0 -4
- socx-2.4.0/src/socx/__init__.py +0 -4
- socx-2.4.0/src/socx/socx.py +0 -1027
- socx-2.4.0/src/socx.egg-info/PKG-INFO +0 -87
- socx-2.4.0/src/socx.egg-info/requires.txt +0 -3
- socx-2.4.0/tests/tests.py +0 -96
- {socx-2.4.0 → socx-2.5.1}/src/socx/util.py +0 -0
- {socx-2.4.0 → socx-2.5.1}/src/socx.egg-info/SOURCES.txt +0 -0
- {socx-2.4.0 → socx-2.5.1}/src/socx.egg-info/dependency_links.txt +0 -0
- {socx-2.4.0 → socx-2.5.1}/src/socx.egg-info/entry_points.txt +0 -0
- {socx-2.4.0 → socx-2.5.1}/src/socx.egg-info/top_level.txt +0 -0
socx-2.5.1/.gitignore
ADDED
socx-2.5.1/LISCENSE
ADDED
|
File without changes
|
socx-2.5.1/PKG-INFO
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: socx
|
|
3
|
+
Version: 2.5.1
|
|
4
|
+
Summary: A set of useful tools for a security operations center
|
|
5
|
+
Project-URL: Homepage, https://enlace.one
|
|
6
|
+
Project-URL: Repository, https://github.com/enlace-one/socx
|
|
7
|
+
Author-email: Enlace <enlace.aman@gmail.com>
|
|
8
|
+
Keywords: automation,operations,security,soc
|
|
9
|
+
Classifier: Intended Audience :: Information Technology
|
|
10
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Topic :: Security
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Requires-Dist: keyring>=25.7.0
|
|
20
|
+
Requires-Dist: numpy>=2.0
|
|
21
|
+
Requires-Dist: pandas>=2.2
|
|
22
|
+
Requires-Dist: requests>=2.34.2
|
|
23
|
+
Requires-Dist: rich>=15.0.0
|
|
24
|
+
Requires-Dist: typer>=0.25.1
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Requires-Dist: mypy; extra == 'dev'
|
|
27
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
28
|
+
Requires-Dist: ruff; extra == 'dev'
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# SOCX
|
|
32
|
+
|
|
33
|
+
A collection of helpful tools for a SOC analyst. Easily search for IPs, domains, and find files on the system.
|
|
34
|
+
|
|
35
|
+
## Installing
|
|
36
|
+
|
|
37
|
+
python -m pip install socx
|
|
38
|
+
|
|
39
|
+
### Installing from QA
|
|
40
|
+
|
|
41
|
+
python -m pip install --index-url https://test.pypi.org/simple/ socx
|
|
42
|
+
|
|
43
|
+
## Usage
|
|
44
|
+
|
|
45
|
+
A tool to assist with day to day activites in a security operations center (pronounced "socks")
|
|
46
|
+
|
|
47
|
+
Usage:
|
|
48
|
+
|
|
49
|
+
socx [universal options] [function] [arguments]
|
|
50
|
+
|
|
51
|
+
python socx.py [universal options] [function] [arguments]
|
|
52
|
+
|
|
53
|
+
Examples:
|
|
54
|
+
|
|
55
|
+
socx --help
|
|
56
|
+
|
|
57
|
+
socx info --help
|
|
58
|
+
|
|
59
|
+
socx info 102.02.02.02
|
|
60
|
+
|
|
61
|
+
socx -v 3 info google.com
|
|
62
|
+
|
|
63
|
+
socx find filename.txt -i False
|
|
64
|
+
|
|
65
|
+
socx find fold.*name -r
|
|
66
|
+
|
|
67
|
+
socx unwrap "https://urldefense.com/v3/__https:/..."
|
|
68
|
+
|
|
69
|
+
socx combine 5
|
|
70
|
+
|
|
71
|
+
socx awake 90
|
|
72
|
+
|
|
73
|
+
socx awake --restart
|
|
74
|
+
|
|
75
|
+
## Dev Info
|
|
76
|
+
|
|
77
|
+
## Package Install
|
|
78
|
+
|
|
79
|
+
Create venv
|
|
80
|
+
```
|
|
81
|
+
uv venv
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Install dev packages:
|
|
85
|
+
```
|
|
86
|
+
uv pip install -e ".[dev]"
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Install other packages:
|
|
90
|
+
```
|
|
91
|
+
uv sync
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Lock the versions:
|
|
95
|
+
```
|
|
96
|
+
uv lock
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Compatability:
|
|
100
|
+
```
|
|
101
|
+
uv export --format requirements-txt > requirements.txt
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Uploading Python Package
|
|
105
|
+
```
|
|
106
|
+
uv build
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Test locally in a seperate window without venv
|
|
110
|
+
```
|
|
111
|
+
uv pip install dist/*.whl
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
python -m twine upload --repository testpypi dist/*
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
python -m twine upload dist/*
|
|
120
|
+
```
|
|
121
|
+
|
socx-2.5.1/README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# SOCX
|
|
2
|
+
|
|
3
|
+
A collection of helpful tools for a SOC analyst. Easily search for IPs, domains, and find files on the system.
|
|
4
|
+
|
|
5
|
+
## Installing
|
|
6
|
+
|
|
7
|
+
python -m pip install socx
|
|
8
|
+
|
|
9
|
+
### Installing from QA
|
|
10
|
+
|
|
11
|
+
python -m pip install --index-url https://test.pypi.org/simple/ socx
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
A tool to assist with day to day activites in a security operations center (pronounced "socks")
|
|
16
|
+
|
|
17
|
+
Usage:
|
|
18
|
+
|
|
19
|
+
socx [universal options] [function] [arguments]
|
|
20
|
+
|
|
21
|
+
python socx.py [universal options] [function] [arguments]
|
|
22
|
+
|
|
23
|
+
Examples:
|
|
24
|
+
|
|
25
|
+
socx --help
|
|
26
|
+
|
|
27
|
+
socx info --help
|
|
28
|
+
|
|
29
|
+
socx info 102.02.02.02
|
|
30
|
+
|
|
31
|
+
socx -v 3 info google.com
|
|
32
|
+
|
|
33
|
+
socx find filename.txt -i False
|
|
34
|
+
|
|
35
|
+
socx find fold.*name -r
|
|
36
|
+
|
|
37
|
+
socx unwrap "https://urldefense.com/v3/__https:/..."
|
|
38
|
+
|
|
39
|
+
socx combine 5
|
|
40
|
+
|
|
41
|
+
socx awake 90
|
|
42
|
+
|
|
43
|
+
socx awake --restart
|
|
44
|
+
|
|
45
|
+
## Dev Info
|
|
46
|
+
|
|
47
|
+
## Package Install
|
|
48
|
+
|
|
49
|
+
Create venv
|
|
50
|
+
```
|
|
51
|
+
uv venv
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Install dev packages:
|
|
55
|
+
```
|
|
56
|
+
uv pip install -e ".[dev]"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Install other packages:
|
|
60
|
+
```
|
|
61
|
+
uv sync
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Lock the versions:
|
|
65
|
+
```
|
|
66
|
+
uv lock
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Compatability:
|
|
70
|
+
```
|
|
71
|
+
uv export --format requirements-txt > requirements.txt
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Uploading Python Package
|
|
75
|
+
```
|
|
76
|
+
uv build
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Test locally in a seperate window without venv
|
|
80
|
+
```
|
|
81
|
+
uv pip install dist/*.whl
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
python -m twine upload --repository testpypi dist/*
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
python -m twine upload dist/*
|
|
90
|
+
```
|
|
91
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "socx"
|
|
3
|
+
version = "2.5.1"
|
|
4
|
+
description = "A set of useful tools for a security operations center"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
|
+
|
|
8
|
+
authors = [
|
|
9
|
+
{ name = "Enlace", email = "enlace.aman@gmail.com" }
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
keywords = [
|
|
13
|
+
"soc",
|
|
14
|
+
"security",
|
|
15
|
+
"operations",
|
|
16
|
+
"automation"
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.10",
|
|
22
|
+
"Programming Language :: Python :: 3.11",
|
|
23
|
+
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Programming Language :: Python :: 3.14",
|
|
26
|
+
"Operating System :: Microsoft :: Windows",
|
|
27
|
+
"Intended Audience :: Information Technology",
|
|
28
|
+
"Topic :: Security",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
dependencies = [
|
|
32
|
+
"numpy>=2.0",
|
|
33
|
+
"pandas>=2.2",
|
|
34
|
+
"requests>=2.34.2",
|
|
35
|
+
"rich>=15.0.0",
|
|
36
|
+
"typer>=0.25.1",
|
|
37
|
+
"keyring>=25.7.0"
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[project.optional-dependencies]
|
|
41
|
+
dev = [
|
|
42
|
+
"pytest",
|
|
43
|
+
"ruff",
|
|
44
|
+
"mypy",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
[project.urls]
|
|
48
|
+
Homepage = "https://enlace.one"
|
|
49
|
+
Repository = "https://github.com/enlace-one/socx"
|
|
50
|
+
|
|
51
|
+
[project.scripts]
|
|
52
|
+
socx = "socx.socx:app"
|
|
53
|
+
|
|
54
|
+
[build-system]
|
|
55
|
+
requires = ["hatchling"]
|
|
56
|
+
build-backend = "hatchling.build"
|
|
57
|
+
|
|
58
|
+
[tool.hatch.build.targets.wheel]
|
|
59
|
+
packages = ["src/socx"]
|
|
60
|
+
sources = ["src"]
|
|
61
|
+
|
|
62
|
+
[tool.ruff]
|
|
63
|
+
line-length = 100
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
annotated-doc==0.0.4
|
|
2
|
+
certifi==2026.5.20
|
|
3
|
+
charset-normalizer==3.4.7
|
|
4
|
+
click==8.3.3
|
|
5
|
+
colorama==0.4.6
|
|
6
|
+
idna==3.15
|
|
7
|
+
jaraco.classes==3.4.0
|
|
8
|
+
jaraco.context==6.1.2
|
|
9
|
+
jaraco.functools==4.4.0
|
|
10
|
+
keyring==25.7.0
|
|
11
|
+
markdown-it-py==4.0.0
|
|
12
|
+
mdurl==0.1.2
|
|
13
|
+
more-itertools==11.0.2
|
|
14
|
+
numpy==2.4.4
|
|
15
|
+
pandas==3.0.2
|
|
16
|
+
Pygments==2.20.0
|
|
17
|
+
python-dateutil==2.9.0.post0
|
|
18
|
+
pywin32-ctypes==0.2.3
|
|
19
|
+
requests==2.34.2
|
|
20
|
+
rich==15.0.0
|
|
21
|
+
shellingham==1.5.4
|
|
22
|
+
six==1.17.0
|
|
23
|
+
typer==0.25.1
|
|
24
|
+
tzdata==2026.2
|
|
25
|
+
urllib3==2.7.0
|