dirkjanm / krbrelayx

Kerberos unconstrained delegation abuse toolkit
MIT License
1.13k stars 169 forks source link

AttributeError: 'Resolver' object has no attribute 'resolve' #23

Closed ghost closed 2 years ago

ghost commented 2 years ago

Help!

I have all the dependencies installed. But it is not working as expected. I am getting the following error

dnstool.py -u intelligence\\Tiffany.Molina -p SOMEPASSWORD --action add --record web-kali --data 10.10.17.81 --type A intelligence.htb

[-] Connecting to host...
[-] Binding to host
[+] Bind OK
Traceback (most recent call last):
  File "dnstool.py", line 543, in <module>
    main()
  File "dnstool.py", line 465, in main
    record = new_record(addtype, get_next_serial(args.host, zone,args.tcp))
  File "dnstool.py", line 242, in get_next_serial
    res = dnsresolver.resolve(zone, 'SOA',tcp=tcp)
AttributeError: 'Resolver' object has no attribute 'resolve'
dirkjanm commented 2 years ago

hey, there is a slightly newer version of dnspython, which doesn't have this issue. Also it's probably better to remove the credentials from your examples and screenshots, they may contain spoilers for others.

ghost commented 2 years ago

Spoiler removed. There might be some python version conflict. It's a funny situation it works on other people's systems but it is not working on my system. 😅 I will try other ways. Thanks.