Skip to content

NameError: name 'lib' is not defined #6

@0xyuliya

Description

@0xyuliya

Hi! Do you know what might be causing this error upon executing following command (python 3.12.8):
python3 CVE-2024-6387.py --exploit [ipv4 addr] --port 22

██████╗ ██████╗ ███████╗███╗ ██╗███████╗███████╗██╗ ██╗
██╔═══██╗██╔══██╗██╔════╝████╗ ██║██╔════╝██╔════╝██║ ██║
██║ ██║██████╔╝█████╗ ██╔██╗ ██║███████╗███████╗███████║
██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║╚════██║╚════██║██╔══██║
╚██████╔╝██║ ███████╗██║ ╚████║███████║███████║██║ ██║
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚══════╝╚═╝ ╚═╝
Author: l0n3m4n / Scanner: @xaitax / PoC: @7etsuo

Exploiting vulnerabilities...
Traceback (most recent call last):
File "/home/kali/Tools/new/CVE-2024-6387/CVE-2024-6387.py", line 221, in
main()
File "/home/kali/Tools/new/CVE-2024-6387/CVE-2024-6387.py", line 216, in main
exploit_vulnerability(targets, port)
File "/home/kali/Tools/new/CVE-2024-6387/CVE-2024-6387.py", line 177, in exploit_vulnerability
result = lib.exploit_vulnerability(targets.encode(), port)
^^^
NameError: name 'lib' is not defined

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions