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

NameError: global name 'udpsock' is not defined #8

Open
j0rdan0 opened this issue Jan 26, 2021 · 0 comments
Open

NameError: global name 'udpsock' is not defined #8

j0rdan0 opened this issue Jan 26, 2021 · 0 comments

Comments

@j0rdan0
Copy link

j0rdan0 commented Jan 26, 2021

Hi,

Trying to use this script, but I don`t seem to find in which module the udpsock function is defined, its not in socket, nor any other imported modules int he script, nor defined in the script itself. When trying to run the script it fails.

Traceback is this:

File "cups-exploit.py", line 528, in
main()
File "cups-exploit.py", line 508, in main
printer = locatePrinters(rhost, rport)
File "cups-exploit.py", line 138, in locatePrinters
response = txrx(rhost, int(rport), "udp", request)
File "cups-exploit.py", line 124, in txrx
sock = udpsock()
NameError: global name 'udpsock' is not defined

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

1 participant