Skip to content

Instantly share code, notes, and snippets.

@bwbaugh
bwbaugh / server-name-wordlist-mnemonic.txt
Last active April 27, 2024 15:08
Server name wordlist (mnemonic)
# Original blog post: <https://mnx.io/blog/a-proper-server-naming-scheme/>
# Original word list: <http://web.archive.org/web/20091003023412/http://tothink.com/mnemonic/wordlist.txt>
# Sample usage: `curl <gist> | tail --lines +4 | shuf | head --lines 1`
acrobat
africa
alaska
albert
albino
album
alcohol
@djjudas21
djjudas21 / check_radius_status.pl
Last active March 22, 2018 11:58
Nagios plugin to check RADIUS status
#!/usr/bin/perl -w
use strict;
use Config::Tiny;
# Sample command
# echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 7" | radclient HOSTNAME:PORT status SECRET
# Sample response
# Received response ID 183, code 2, length = 344
@plentz
plentz / nginx.conf
Last active May 17, 2024 09:08
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048