Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error has been caught in function 'dia', process 'MainProcess' #2

Open
amykr777 opened this issue Jul 24, 2022 · 2 comments
Open

Comments

@amykr777
Copy link

Upon running the poc script I'm getting the following error

2022-07-24 12:21:57.834 | DEBUG | main:craft_socket:41 - Crafting socket
2022-07-24 12:21:57.835 | ERROR | main:dia:152 - An error has been caught in function 'dia', process 'MainProcess' (1268529), thread 'MainThread' (140169305309184):
Traceback (most recent call last):

File "/root/Tools/CVE-2022-22536/CVE-2022-22536.py", line 172, in
poc.dia(host, port, secure=False, cert_verify=False)
│ │ │ └ 8000
│ │ └ 'https://target.sap.target.com'
│ └ <function POC.dia at 0x7f7bb4ad4820>
└ <main.POC object at 0x7f7bb4adc490>

File "/root/Tools/CVE-2022-22536/CVE-2022-22536.py", line 152, in dia
resource = self.validate_resource_and_cache(host, port, secure=secure, cert_verify=cert_verify)
│ │ │ │ │ └ False
│ │ │ │ └ False
│ │ │ └ 8000
│ │ └ 'https://target.sap.target.com'
│ └ <function POC.validate_resource_and_cache at 0x7f7bb4abfa30>
└ <main.POC object at 0x7f7bb4adc490>

File "/root/Tools/CVE-2022-22536/CVE-2022-22536.py", line 97, in validate_resource_and_cache
s.connect((host, port))
│ │ │ └ 8000
│ │ └ 'https://target.sap.target.com'
│ └ <method 'connect' of '_socket.socket' objects>
└ <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)>

socket.gaierror: [Errno -2] Name or service not known
2022-07-24 12:21:57.841 | ERROR | main:dia:160 - No valid resource test found, is not possible to test

@r3ptar
Copy link

r3ptar commented Sep 12, 2023

also receiving this error. Did you ever get it resolved?

@kloris
Copy link

kloris commented Sep 12, 2023

also receiving this error. Did you ever get it resolved?

nope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants