I hereby claim:
- I am syzdek on github.
- I am syzdek (https://keybase.io/syzdek) on keybase.
- I have a public key ASAGpvnIp42DL04AiqXD3ppMpNOXC2cs0e9BQfbBykTHSAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * Example of getaddrinfo() and inet_ntop() | |
| * Copyright (C) 2020 David M. Syzdek <[email protected]> | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions are | |
| * met: | |
| * | |
| * 1. Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. |
| // | |
| // Generated on: 2019-11-26 19:42:02 | |
| // Generated with: ./src/oidspectool | |
| // --source | |
| // ../src/utils/oidspectool/example.oidspec | |
| // | |
| #define _LDAPSCHEMA_OIDSPECS 1 | |
| #include <stdio.h> |
| #!/bin/bash | |
| FILE="${1}" | |
| PROG_NAME="$(basename "${0}")" | |
| if test -z "${FILE}";then | |
| echo "Usage: ${PROG_NAME} <file>" | |
| exit 1 | |
| fi |
This following can used to distribute common files amoung hosts. For example, to distribute a shared hosts file.
Initial Setup:
mkdir /etc/gitfiles
cd /etc/gitfiles
git init
git remote add origin https://1.2.3.4/path/to/shared/repo.git
git fetch origin
I hereby claim:
To claim this, I am signing this object:
| # | |
| # Instructions for making hybrid GPT/MBR boot USB thumb drive. | |
| # The Slackware Linux installer will be added to the image as an example, | |
| # however the syslinux configuration can be modified to include any desired | |
| # image. | |
| # | |
| # A USB thumb drive formatted with these instructions was able to | |
| # boot the Slackware Installer on a: | |
| # | |
| # Dell Latitude E6430 in Legacy BIOS mode |
| #!/bin/bash | |
| echo "building TomSellers's nmap..." | |
| set -x -e | |
| pwd | |
| git clone https://github.com/TomSellers/nmap.git | |
| ( cd nmap && git branch build 7c833b933e771923e660 && checkout build ) | |
| ( cd nmap && ./configure --prefix=/opt/nmap ) | |
| ( cd nmap/libdnet-stripped && make ) | |
| ( cd nmap/liblinear && make ) |
| Converting base 10 frame diagram to base 8 with byte offsets: | |
| Original (https://tools.ietf.org/html/rfc6455#section-5.2): | |
| This wire format for the data transfer part is described by the ABNF | |
| [RFC5234] given in detail in this section. (Note that, unlike in | |
| other sections of this document, the ABNF in this section is | |
| operating on groups of bits. The length of each group of bits is | |
| indicated in a comment. When encoded on the wire, the most | |
| significant bit is the leftmost in the ABNF). A high-level overview |
| #include <inttypes.h> | |
| const char * qr-code-ver1[] = | |
| "+----------------------------------------------------------+", | |
| "| |", | |
| "| |", | |
| "| |", | |
| "| |", | |
| "| ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ |", |