Question
You will find that when you ping from the terminal, 10.9.0.99 will have a destination unreachable response. That is the expected result. Your program does
You will find that when you ping from the terminal, 10.9.0.99 will have a destination unreachable response. That is the expected result. Your program does not need to work for this IP. (You do not need to force it to work by performing ARP spoofing.) You will, however, need to explain why your program does not work for IP 10.9.0.99 (while its suppose to work for 1.2.3.4 and 8.8.8.8). PLEASE JUST FILL IN THE BLANKS AS IT'S GONNA RUN THE PROGRAM WITHOUT ANY PROBLEMS. THANK YOU! # code starts here
#!/usr/bin/env python3 from scapy.all import * def sniff_and_spoof(packet): if ICMP in packet: ip = IP(src="your answer here_1", dst= "your answer here_2") icmp = ICMP(type="your answer here_3", id="your answer here_4", seq="your answer here_5") raw_data="your answer here_6" newpacket="your answer here_7" send(newpacket, verbose=0) pkt = sniff(filter="your answer here_8". prn=sniff_and_spoof)
# code ends here
Your Answers:
1-
2-
3-
4-
5-
6-
7-
8-
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started