gvm-tools 24.1.0__py3-none-any.whl → 24.6.0__py3-none-any.whl
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.
Potentially problematic release.
This version of gvm-tools might be problematic. Click here for more details.
- {gvm_tools-24.1.0.dist-info → gvm_tools-24.6.0.dist-info}/METADATA +2 -2
- gvm_tools-24.6.0.dist-info/RECORD +13 -0
- {gvm_tools-24.1.0.dist-info → gvm_tools-24.6.0.dist-info}/WHEEL +1 -1
- gvmtools/__init__.py +1 -1
- gvmtools/__version__.py +1 -1
- gvmtools/cli.py +3 -3
- gvmtools/config.py +1 -1
- gvmtools/helper.py +1 -1
- gvmtools/parser.py +1 -1
- gvmtools/pyshell.py +1 -1
- gvmtools/script.py +1 -1
- gvm_tools-24.1.0.dist-info/RECORD +0 -13
- {gvm_tools-24.1.0.dist-info → gvm_tools-24.6.0.dist-info}/LICENSE +0 -0
- {gvm_tools-24.1.0.dist-info → gvm_tools-24.6.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gvm-tools
|
|
3
|
-
Version: 24.
|
|
3
|
+
Version: 24.6.0
|
|
4
4
|
Summary: Tools to control a GSM/GVM over GMP or OSP
|
|
5
5
|
Home-page: https://github.com/greenbone/gvm-tools/
|
|
6
6
|
License: GPL-3.0-or-later
|
|
@@ -226,7 +226,7 @@ Afterwards active the git hooks for auto-formatting and linting via
|
|
|
226
226
|
|
|
227
227
|
## License
|
|
228
228
|
|
|
229
|
-
Copyright (C) 2017-
|
|
229
|
+
Copyright (C) 2017-2024 [Greenbone AG](https://www.greenbone.net/)
|
|
230
230
|
|
|
231
231
|
Licensed under the [GNU General Public License v3.0 or later](LICENSE).
|
|
232
232
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
gvmtools/__init__.py,sha256=ejbguD-eiMOOuakxFsH0Car5fCkXbog3dtmRYAvKtAk,1144
|
|
2
|
+
gvmtools/__version__.py,sha256=hsBLYwyIMs7lVECmQk035Y9vpkXR2kCdPe6MPLy_1Yc,103
|
|
3
|
+
gvmtools/cli.py,sha256=fxCNAS2znykMeNKf4kFPQL7P4ld52Cq8guHFrm4xBJ4,4338
|
|
4
|
+
gvmtools/config.py,sha256=8n5yFHZBobdlNs7hv4GWJqsFfytMxFsgMmkPIgnV2mo,2806
|
|
5
|
+
gvmtools/helper.py,sha256=mlcuUy0F0F0kw2Nit5npqZPlbI5SItxl3g374UqeqTM,6315
|
|
6
|
+
gvmtools/parser.py,sha256=uLC2kiKPzR1Izmm4vVv4LIZA1sPYxhumAh5BhVdOmWI,10958
|
|
7
|
+
gvmtools/pyshell.py,sha256=b-iml45-cBqreFcsHz8f4DKJl2cN6Yh4aiZvHw1Daf0,5335
|
|
8
|
+
gvmtools/script.py,sha256=6pIGWKNirQSYfcL8Nh69nxKfFH7_5GUMJMcPvZ1hIEQ,3586
|
|
9
|
+
gvm_tools-24.6.0.dist-info/LICENSE,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
|
|
10
|
+
gvm_tools-24.6.0.dist-info/METADATA,sha256=mBR6vTLeDCwSDk7oT99EwVL5fKLXiXxAiIcCY4JhQQA,7625
|
|
11
|
+
gvm_tools-24.6.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
12
|
+
gvm_tools-24.6.0.dist-info/entry_points.txt,sha256=7UOCf5Ip12567mLV6k8FefDkulyjgyhTYU_XCBi4v3s,111
|
|
13
|
+
gvm_tools-24.6.0.dist-info/RECORD,,
|
gvmtools/__init__.py
CHANGED
gvmtools/__version__.py
CHANGED
gvmtools/cli.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
2
|
+
# SPDX-FileCopyrightText: 2018-2024 Greenbone AG
|
|
3
3
|
#
|
|
4
4
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
5
5
|
#
|
|
@@ -24,7 +24,7 @@ from gvm.errors import GvmError
|
|
|
24
24
|
from gvm.protocols.gmp import Gmp
|
|
25
25
|
from gvm.protocols.latest import Osp
|
|
26
26
|
from gvm.transforms import CheckCommandTransform
|
|
27
|
-
from gvm.xml import
|
|
27
|
+
from gvm.xml import parse_xml, pretty_print
|
|
28
28
|
|
|
29
29
|
from gvmtools.helper import authenticate, do_not_run_as_root
|
|
30
30
|
from gvmtools.parser import (
|
|
@@ -104,7 +104,7 @@ def main():
|
|
|
104
104
|
xml = input()
|
|
105
105
|
|
|
106
106
|
try:
|
|
107
|
-
|
|
107
|
+
parse_xml(xml)
|
|
108
108
|
except GvmError as e:
|
|
109
109
|
print(e, file=sys.stderr)
|
|
110
110
|
sys.exit(1)
|
gvmtools/config.py
CHANGED
gvmtools/helper.py
CHANGED
gvmtools/parser.py
CHANGED
gvmtools/pyshell.py
CHANGED
gvmtools/script.py
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
gvmtools/__init__.py,sha256=qNXbmdfBHvNBmQvqF9AeRDO6nn3se10EYXFTge4tYFQ,1134
|
|
2
|
-
gvmtools/__version__.py,sha256=cJ-c6-C0Idi023ZJMsl37jd0of3KHy1v6AF3Uy88gtE,103
|
|
3
|
-
gvmtools/cli.py,sha256=EC2IP5Xa0Omx0mmbcVJIA78C2Dp6gN1bPLmP-NNjsAk,4348
|
|
4
|
-
gvmtools/config.py,sha256=k0GgkMxapncF-adfneTkEbE7ODPejqK6rLbJmy5qKSc,2796
|
|
5
|
-
gvmtools/helper.py,sha256=g_7km-PxD428ULLijiubebj47Ivciych7sHgJOweFYk,6305
|
|
6
|
-
gvmtools/parser.py,sha256=SME6F_QeRZAgiN09TZ2iEkCwY4ilkw5Kxeag4A4r_9w,10948
|
|
7
|
-
gvmtools/pyshell.py,sha256=eknIF9FT7HUI7Kz8ikgwJECb5YwtmCYtMRfP-4YQytI,5325
|
|
8
|
-
gvmtools/script.py,sha256=KvG2Jdvb5dipBpRD5BL39n2sJm4DKvs0pzMnhX0hr74,3576
|
|
9
|
-
gvm_tools-24.1.0.dist-info/LICENSE,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
|
|
10
|
-
gvm_tools-24.1.0.dist-info/METADATA,sha256=8tJBC8Tlkrclb6NJDOD_kgkSWS8UD8McSdJX05qqZGM,7625
|
|
11
|
-
gvm_tools-24.1.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
12
|
-
gvm_tools-24.1.0.dist-info/entry_points.txt,sha256=7UOCf5Ip12567mLV6k8FefDkulyjgyhTYU_XCBi4v3s,111
|
|
13
|
-
gvm_tools-24.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|