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

bug #2

Open
kolet opened this issue Sep 16, 2020 · 0 comments
Open

bug #2

kolet opened this issue Sep 16, 2020 · 0 comments

Comments

@kolet
Copy link

kolet commented Sep 16, 2020

i dont know if u are even maintaning it .

but ..

import DNSPoisoning does not exist .

1, it should be from dns_poisoning import DNSPoisoning (since there is no module call DNSPoisoning )

2, poisoning = DNSPoisoning("dns ip","domain to spoof","ip for domain to spoof")

this will lead to TypeError: init() missing 1 required positional argument: 'authoritative_ns'

now when adding the ns server .

by
authoritative_ns = "ns1.example-server.com."
poisoning = DNSPoisoning("dns ip","domain to spoof","ip for domain to spoof", authoritative_ns)

when trying to launch the attack with poisoning.start_flooding() this will lead to

"Traceback (most recent call last):
File "", line 1, in
File "/home/ubuntu/dns-poisoning-tool/dns_poisoning.py", line 366, in start_flooding
self.log("\nUsing ID from {t.bold}{t.blue}" + str(start_id) + "{t.normal} to {t.bold}{t.blue}" + str(end_id) + "{t.normal}\n",2)
TypeError: () takes 1 positional argument but 2 were given
"

so i am abit confused how to make this work.

all i am trying to do is to update a dns server an unregister domain

if this example would've work

"import DNSPoisoning

poisoning = DNSPoisoning('8.8.8.8', 'www.google.com', '66.66.66.66')
poisoning.start_flooding()
"

i think i would've been happy.

another question.

does it go through all Transaction id ? (from 0 to 65535)

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