This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
import json | |
import random | |
import hashlib | |
from typing import List, Dict | |
from http import HTTPStatus, HTTPMethod | |
from scapy.utils import wrpcap | |
from scapy.packet import Packet | |
from scapy.layers.l2 import Ether |