Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r
tuxfight3r / tcp_flags.txt
Last active October 31, 2024 00:32
tcpdump - reading tcp flags
##TCP FLAGS##
Unskilled Attackers Pester Real Security Folks
==============================================
TCPDUMP FLAGS
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere)
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere)
Pester = PSH = [P] (Push Data)
Real = RST = [R] (Reset Connection)
Security = SYN = [S] (Start Connection)
@jpsutton
jpsutton / springframework_scanner.py
Created April 1, 2022 16:03
This python application scans all fixed-disk filesystems (or the root fs on non-windows systems) for jar/war files and reports any with "spring" in the file name or with "springframework" inside of them
#!/usr/bin/env python
import os
import sys
import platform
import tempfile
from zipfile import ZipFile
if platform.system() == "Windows":
import win32api, win32con, win32process