I am new to scapy and i want to do some sort of ip spoofing with it. with this code :
from scapy.all import *
A = "192.168.1.104" # spoofed source IP address
B = "192.168.1.107" # destination IP address
C = RandShort() # source port
D = 80 # destination port
payload = "yada yada yada" # packet payload
spoofed_packet = IP(src=A, dst=B) / TCP(sport=C, dport=D) / payload
send(spoofed_packet)
my wireshark shows that a packet with this src and this dst generated, but the wireshark in the destination doesnt show this packet(which means it didnt get the packet)
can anyone help me ?
ps: my destination is a centos on virtual box