Skip to content

Commit

Permalink
removed vulnerable modules
Browse files Browse the repository at this point in the history
  • Loading branch information
hardik-crest committed Mar 26, 2024
1 parent 1781ebe commit 38f16c1
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Linting
on: [push, pull_request]
jobs:
lint:
lint:
# Run per push for internal contributers. This isn't possible for forked pull requests,
# so we'll need to run on PR events for external contributers.
# String comparison below is case insensitive.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ beautifulsoup4==4.9.1
pykerberos==1.2.4
pywinrm==0.4.3
# Pinned to the current platform version
requests==2.31.0
# Needed to avoid incompatibility with platform packages caused by urllib3 >= 2.0.0
urllib3==1.26.18
xmltodict==0.13.0
Binary file removed wheels/py3/certifi-2024.2.2-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file removed wheels/py3/idna-3.6-py3-none-any.whl
Binary file not shown.
Binary file removed wheels/py3/requests-2.31.0-py3-none-any.whl
Binary file not shown.
Binary file removed wheels/py3/urllib3-2.2.1-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed wheels/shared/requests-2.27.1-py2.py3-none-any.whl
Binary file not shown.
Binary file removed wheels/shared/urllib3-1.26.18-py2.py3-none-any.whl
Binary file not shown.
50 changes: 1 addition & 49 deletions winrm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"utctime_updated": "2024-02-28T09:53:35.000000Z",
"package_name": "phantom_winrm",
"main_module": "winrm_connector.py",
"min_phantom_version": "6.1.1",
"min_phantom_version": "6.1.2",
"fips_compliant": true,
"python_version": "3",
"latest_tested_versions": [
Expand Down Expand Up @@ -3327,26 +3327,10 @@
"module": "beautifulsoup4",
"input_file": "wheels/py3/beautifulsoup4-4.9.1-py3-none-any.whl"
},
{
"module": "certifi",
"input_file": "wheels/py3/certifi-2024.2.2-py3-none-any.whl"
},
{
"module": "cffi",
"input_file": "wheels/py39/cffi-1.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
},
{
"module": "charset_normalizer",
"input_file": "wheels/py39/charset_normalizer-3.3.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
},
{
"module": "cryptography",
"input_file": "wheels/py39/cryptography-42.0.4-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
},
{
"module": "idna",
"input_file": "wheels/py3/idna-3.6-py3-none-any.whl"
},
{
"module": "pycparser",
"input_file": "wheels/shared/pycparser-2.21-py2.py3-none-any.whl"
Expand All @@ -3363,10 +3347,6 @@
"module": "pywinrm",
"input_file": "wheels/shared/pywinrm-0.4.3-py2.py3-none-any.whl"
},
{
"module": "requests",
"input_file": "wheels/py3/requests-2.31.0-py3-none-any.whl"
},
{
"module": "requests_ntlm",
"input_file": "wheels/py3/requests_ntlm-1.2.0-py3-none-any.whl"
Expand All @@ -3379,10 +3359,6 @@
"module": "soupsieve",
"input_file": "wheels/py3/soupsieve-2.5-py3-none-any.whl"
},
{
"module": "urllib3",
"input_file": "wheels/py3/urllib3-2.2.1-py3-none-any.whl"
},
{
"module": "xmltodict",
"input_file": "wheels/shared/xmltodict-0.13.0-py2.py3-none-any.whl"
Expand All @@ -3395,26 +3371,10 @@
"module": "beautifulsoup4",
"input_file": "wheels/py3/beautifulsoup4-4.9.1-py3-none-any.whl"
},
{
"module": "certifi",
"input_file": "wheels/py3/certifi-2024.2.2-py3-none-any.whl"
},
{
"module": "cffi",
"input_file": "wheels/py36/cffi-1.15.1-cp36-cp36m-manylinux1_x86_64.manylinux_2_5_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
},
{
"module": "charset_normalizer",
"input_file": "wheels/py3/charset_normalizer-2.0.12-py3-none-any.whl"
},
{
"module": "cryptography",
"input_file": "wheels/py36/cryptography-40.0.2-cp36-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
},
{
"module": "idna",
"input_file": "wheels/py3/idna-3.6-py3-none-any.whl"
},
{
"module": "ntlm_auth",
"input_file": "wheels/shared/ntlm_auth-1.5.0-py2.py3-none-any.whl"
Expand All @@ -3431,10 +3391,6 @@
"module": "pywinrm",
"input_file": "wheels/shared/pywinrm-0.4.3-py2.py3-none-any.whl"
},
{
"module": "requests",
"input_file": "wheels/shared/requests-2.27.1-py2.py3-none-any.whl"
},
{
"module": "requests_ntlm",
"input_file": "wheels/shared/requests_ntlm-1.1.0-py2.py3-none-any.whl"
Expand All @@ -3447,10 +3403,6 @@
"module": "soupsieve",
"input_file": "wheels/py3/soupsieve-2.3.2.post1-py3-none-any.whl"
},
{
"module": "urllib3",
"input_file": "wheels/shared/urllib3-1.26.18-py2.py3-none-any.whl"
},
{
"module": "xmltodict",
"input_file": "wheels/shared/xmltodict-0.13.0-py2.py3-none-any.whl"
Expand Down
2 changes: 1 addition & 1 deletion winrm_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
WINRM_CONFIG_PROTOCOL = "default_protocol"
WINRM_CONFIG_PORT = "default_port"
WINRM_CONFIG_USERNAME = "username"
WINRM_CONFIG_PASSWORD = "password"
WINRM_CONFIG_PASSWORD = "password" # pragma: allowlist secret
WINRM_CONFIG_TRANSPORT = "transport"
WINRM_CONFIG_DOMAIN = "domain"
WINRM_CONFIG_CERT_PEM = "cert_pem_path"
Expand Down

0 comments on commit 38f16c1

Please sign in to comment.