You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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)
The text was updated successfully, but these errors were encountered: