Skip to content

Instantly share code, notes, and snippets.

View strongjz's full-sized avatar

James Strong strongjz

View GitHub Profile
@strongjz
strongjz / Makefile
Created November 1, 2023 22:04 — forked from prwhite/Makefile
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@strongjz
strongjz / tcp_flags.txt
Created January 24, 2025 16:53 — forked from tuxfight3r/tcp_flags.txt
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)
1="Unsupported protocol. This build of curl has no support for this protocol."
2="Failed to initialize."
3="URL malformed. The syntax was not correct."
4="A feature or option that was needed to perform the desired request was not enabled or was explicitly disabled at build-time. To make curl able to do this, you probably need another build of libcurl!"
5="Couldn't resolve proxy. The given proxy host could not be resolved."
6="Couldn't resolve host. The given remote host was not resolved."
7="Failed to connect to host."
8="Weird server reply. The server sent data curl couldn't parse."
9="FTP access denied. The server denied login or denied access to the particular resource or directory you wanted to reach. Most often you tried to change to a directory that doesn't exist on the server."
10="FTP accept failed. While waiting for the server to connect back when an active FTP session is used, an error code was sent over the control connection or similar."