mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-02 06:38:21 +00:00
Tests: update Scapy to current stable
This commit is contained in:
parent
fe0312b066
commit
64698a6625
2 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
||||||
ivre
|
ivre
|
||||||
scapy==2.5.0
|
scapy
|
||||||
requests
|
requests
|
||||||
|
|
|
@ -98,11 +98,11 @@ def test_ipv4_udp_dns_in_a_multiple_queries():
|
||||||
dports = [53, 5353, 80, 161, 24732]
|
dports = [53, 5353, 80, 161, 24732]
|
||||||
for sport in sports:
|
for sport in sports:
|
||||||
for dport in dports:
|
for dport in dports:
|
||||||
qd = (
|
qd = [
|
||||||
DNSQR(qname="www.example1.com", qtype="A", qclass="IN")
|
DNSQR(qname="www.example1.com", qtype="A", qclass="IN"),
|
||||||
/ DNSQR(qname="www.example2.com", qtype="A", qclass="IN")
|
DNSQR(qname="www.example2.com", qtype="A", qclass="IN"),
|
||||||
/ DNSQR(qname="www.example3.com", qtype="A", qclass="IN")
|
DNSQR(qname="www.example3.com", qtype="A", qclass="IN"),
|
||||||
)
|
]
|
||||||
dns_req = DNS(id=1234, rd=False, opcode=0, qd=qd)
|
dns_req = DNS(id=1234, rd=False, opcode=0, qd=qd)
|
||||||
req = (
|
req = (
|
||||||
Ether(dst=MAC_ADDR)
|
Ether(dst=MAC_ADDR)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue