Agent: Add pkg_resources.py2_warn in the spec file.

This commit is contained in:
Ilija Lazoroski 2022-02-02 16:53:34 +01:00
parent 28d03339bf
commit 3f639d40f3
3 changed files with 26 additions and 16 deletions

View File

@ -6,6 +6,7 @@ name = "pypi"
[packages]
cryptography = "==2.5" # We can't build 32bit ubuntu12 binary with newer versions of cryptography
pyinstaller = "==4.2"
setuptools = "<=60.6.0" # https://github.com/pypa/setuptools/issues/3072 and https://github.com/pyinstaller/pyinstaller/issues/6564
impacket = ">=0.9"
ipaddress = ">=1.0.23"
netifaces = ">=0.10.9"

View File

@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "3790c3815ab19935a2879019cf4fe90dcddc1d6e073651249374fb6bb8c14e9e"
"sha256": "250fc3013e7083083999fbf289f8898d63ceffc95a02e87920d254950832ea68"
},
"pipfile-spec": 6,
"requires": {
@ -86,19 +86,19 @@
},
"boto3": {
"hashes": [
"sha256:a2ffce001160d7e7c72a90c3084700d50eb64ea4a3aae8afe21566971d1fd611",
"sha256:d7effba509d7298ef49316ba2da7a2ea115f2a7ff691f875f6354666663cf386"
"sha256:1903e4462b08f7696a8d0977361fe9e35e7a50d9e70d7abd72a3a17012741938",
"sha256:34e5ae33ef65b1c4e2e197009e88df5dc217386699939ae897d7fcdb5a6ff295"
],
"markers": "python_version >= '3.6'",
"version": "==1.20.46"
"version": "==1.20.47"
},
"botocore": {
"hashes": [
"sha256:354bce55e5adc8e2fe106acfd455ce448f9b920d7b697d06faa8cf200fd6566b",
"sha256:38dd4564839f531725b667db360ba7df2125ceb3752b0ba12759c3e918015b95"
"sha256:82da38e309bd6fd6303394e6e9d1ea50626746f2911e3fec996f9046c5d85085",
"sha256:a89b1be0a7f235533d8279d90b0b15dc2130d0552a9f7654ba302b564ab5688a"
],
"markers": "python_version >= '3.6'",
"version": "==1.23.46"
"version": "==1.23.47"
},
"certifi": {
"hashes": [
@ -254,7 +254,7 @@
"sha256:081649da27ced5e75709a1ee542136eaba9842a0fe4c03da4fb0a3d3ed1f3c44",
"sha256:e79351e032d0b606b98d38a4b0e6e2275b31a5b85c873e587cc11b73aca026d6"
],
"markers": "python_version >= '3.6' and python_version < '4'",
"markers": "python_version >= '3.6' and python_version < '4.0'",
"version": "==2.2.0"
},
"flask": {
@ -525,7 +525,7 @@
"sha256:43e6dd9942dffd72661a2c4ef383ad7da1e6a3e968a927ad7a6083ab410a688b",
"sha256:7dc6ad46f05f545f900dd59e8dfb4e84a4827b97b3cfecb175ea0c7d247f6064"
],
"markers": "python_version >= '3.6'",
"markers": "python_version >= '3.5'",
"version": "==8.12.0"
},
"msldap": {
@ -896,11 +896,11 @@
},
"s3transfer": {
"hashes": [
"sha256:50ed823e1dc5868ad40c8dc92072f757aa0e653a192845c94a3b676f4a62da4c",
"sha256:9c1dc369814391a6bda20ebbf4b70a0f34630592c9aa520856bf384916af2803"
"sha256:25c140f5c66aa79e1ac60be50dcd45ddc59e83895f062a3aab263b870102911f",
"sha256:69d264d3e760e569b78aaa0f22c97e955891cd22e32b10c51f784eeda4d9d10a"
],
"markers": "python_version >= '3.6'",
"version": "==0.5.0"
"version": "==0.5.1"
},
"scoutsuite": {
"git": "git://github.com/guardicode/ScoutSuite",
@ -913,6 +913,14 @@
],
"version": "==21.1.0"
},
"setuptools": {
"hashes": [
"sha256:c99207037c38984eae838c2fd986f39a9ddf4fabfe0fddd957e622d1d1dcdd05",
"sha256:eb83b1012ae6bf436901c2a2cee35d45b7260f31fd4b65fd1e50a9f99c11d7f8"
],
"index": "pypi",
"version": "==60.6.0"
},
"six": {
"hashes": [
"sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
@ -929,11 +937,11 @@
},
"tempora": {
"hashes": [
"sha256:8d743059a4ea496d925f35480c6d206a7160cacebcd6a31e147fb495dcb732af",
"sha256:aa21dd1956e29559ecb2f2f2e14fcdb950085222fbbf86e6c946b5e1a8c36b26"
"sha256:cba0f197a64883bf3e73657efbc0324d5bf17179e7769b1385b4d75d26cd9127",
"sha256:fbca6a229af666ea4ea8b2f9f80ac9a074f7cf53a97987855b1d15b6e93fd63b"
],
"markers": "python_version >= '3.7'",
"version": "==5.0.0"
"version": "==5.0.1"
},
"tqdm": {
"hashes": [
@ -1028,7 +1036,7 @@
"sha256:9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d",
"sha256:b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375"
],
"markers": "python_version < '3.10'",
"markers": "python_version >= '3.7'",
"version": "==3.7.0"
},
"zope.interface": {

View File

@ -74,6 +74,7 @@ def get_hidden_imports():
imports = ['_cffi_backend', '_mssql']
if is_windows():
imports.append('queue')
imports.append('pkg_resources.py2_warn')
return imports