![]() Struct udpheader *udp = (struct udpheader *) (buffer + sizeof(struct ipheader)) ![]() Struct ipheader *ip = (struct ipheader *) buffer Source IP, source port, target IP, target port from the command line arguments Unsigned short csum(unsigned short *buf, int nwords) computing the checksum, the value of the checksum field is zero." complement sum of all 16 bit words in the header. "The checksum field is the 16 bit one's complement of the one's total udp header length: 8 bytes (=64 bits) Can create separate header file (.h) for all headers' structure Must be run by root lol! Just datagram, no payload/data I am unable to figure out what is going on Linux. All I see is a packet from an unknown IP source (64.17.17.214) to the spoofed IP (.212). Now whenever I pass the parameters (spoofed IP address and destination) to the output of the program, I never see any packet from Spoofed IP to destination in Wireshark. 192.168.1.212 - Spoofed IP (It's actually my IPhone IP).I am using a spoofing program for this which uses raw sockets. I have a Ubuntu machine and I want to send spoofed IP address (.212) to a Windows machine.
0 Comments
Leave a Reply. |