trustedsec / cve-2019-19781

This is a tool published for the Citrix ADC (NetScaler) vulnerability. We are only disclosing this due to others publishing the exploit code first.
Other
570 stars 127 forks source link

Traceback running cve-2019-19781_scanner.py #6

Closed DeepPurple77 closed 4 years ago

DeepPurple77 commented 4 years ago

Hi,

Thanks for the hard work in getting this done... Unfortunately I'm getting a Traceback as below on both MacOS Catalina and Ubuntu 18.04 using python3. I've tried an IP and a URL - Any other suggestions?

Traceback (most recent call last): File "cve-2019-19781_scanner.py", line 75, in check_server(args.target, args.targetport) File "cve-2019-19781_scanner.py", line 23, in check_server if ("global") in req.content: # each smb.conf will contain a [global] variable TypeError: a bytes-like object is required, not 'str'

Thanks!

trustedsec commented 4 years ago

Fixed in the latest version. Thanks for the report. Made a mistake on python2/python3 compatibility. All set now!