For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
[rainy dark] | |
text=dbdbdb | |
cyan(bold)=34e2e2 | |
text(bold)=ffffff | |
magenta=c07aef | |
green=69dd00 | |
green(bold)=92d257 | |
background=2a2a2a | |
cyan=9dd7e1 | |
red(bold)=e17171 |
systat -ifstat 1 | |
netstat -tulpn | grep :80 | |
chcon -R -t httpd_sys_content_t /path/to/file | |
semanage port -a -t http_port_t -p tcp %port% | |
nmap %uri% -p- -PN |
#!/bin/bash | |
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
## resize the main partition to fill the SD card if there is more than 1GiB of free space | |
unused_space="$(parted /dev/mmcblk0 unit GiB print free | awk '/Free Space/{c++; sum += $3} END{print sum}' | awk '{print ($0>1)?1:0}')" | |
if (( $unused_space )) | |
then |
#!/usr/bin/env bash | |
require(){ hash "$@" 2>/dev/null || { echo "$@ is missing"; exit 127;};} | |
require grepcidr | |
require curl | |
require dig | |
require jq | |
## export A_GROUP="address_group_name" |
[ | |
{ | |
"type": "colordef", | |
"BLACK": [ 33, 34, 37 ], | |
"RED": [ 254, 63, 22 ], | |
"GREEN": [ 60, 168, 103 ], | |
"BROWN": [ 223, 112, 30 ], | |
"BLUE": [ 0, 106, 170 ], | |
"MAGENTA": [ 235, 82, 177 ], | |
"CYAN": [ 7, 163, 167 ], |