Skip to content

Instantly share code, notes, and snippets.

View treyka's full-sized avatar

Trey Darley treyka

View GitHub Profile
@treyka
treyka / ntpspoof.py
Created February 10, 2025 17:37 — forked from Dbof/ntpspoof.py
NTP spoofer to change the date of any victim to the year 2035
import os
import sys
import time
from subprocess import Popen, DEVNULL
import datetime
from scapy.all import IP, UDP, NTP
from netfilterqueue import NetfilterQueue
def get_switch_ip():