Implement the sniff-and then-spoof program

Assignment Help C/C++ Programming
Reference no: EM131981329

Question 1)

Sniff and then Spoof In this task, you will combine the sniffing and spoofing techniques to implement the following sniff-andthen-spoof program. You need two VMs on the same LAN. From VM A, you ping an IP X. This will generate an ICMP echo request packet. If X is alive, the ping program will receive an echo reply, and print out the response. Your sniff-and-then-spoof program runs on VM B, which monitors the LAN through packet sniffing. Whenever it sees an ICMP echo request, regardless of what the target IP address is, your program should immediately send out an echo reply using the packet spoofing technique. Therefore, regardless of whether machine X is alive or not, the ping program will always receive a reply, indicating that X is alive. You need to write such a program, and include screendumps in your report to show that your program works. Please also attach the code (with adequate amount of comments) in your report.

Question 2)

Spoof an Ethernet Frame.

Spoof an Ethernet Frame. Set 01:02:03:04:05:06 as the source address. To tell the system that the packet you constract already includes the Ethernet header, you need to create the raw socket using the following parameters: sd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)); When constructing the packets, the beginning of the buffer[] array should now be the Ethernet header.

could you please take a look at it and let me know if it can be done?

Reference no: EM131981329

Questions Cloud

Explain the visibility of the human resources department : Analyze how different departments of Google, INC. are impacted by the Human Resources Department or Division's responsibilities on behalf of the organization.
Cross-departmental or cross-function team : What conflict resolution techniques would be the most effective in a cross-departmental or cross-function team? How would you alter these techniques.
Define the corporate culture of an organization : Compare and contrast the main advantages and disadvantages of Traditional Brick and Mortar business models as compared to eCommerce business models.
What is the amount of the dividends paid for the year : At the end of the year, the firm has retained earnings of $175,500. What is the amount of the dividends paid for the year?
Implement the sniff-and then-spoof program : You need to write such a program, and include screendumps in your report to show that your program works. Please also attach the code
Mathematical expectation of the speculator is zero : Louis Bachelier said the “mathematical expectation of the speculator is zero, ” and that, if the market did not reflect the true current price,
Analyze the companys business-level and corporate-level : Construct a document in APA 6th edition format effectively demonstrating mastery of written communication with a targeted audience.
Differences in community organizing and community outreach : What is gentrification and how does it affect low income families in the community? What is the main differences between community organizing and community.
Down parameters as well as the risk-neutral probabilities : Calculate the up and down parameters as well asthe risk-neutral probabilities.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd