I hereby claim:
- I am kckrinke on github.
- I am kckrinke (https://keybase.io/kckrinke) on keybase.
- I have a public key ASCVHGJNL85LzXbwMnSCM-qrs0EUDDAUf1PMcivH09QwPwo
To claim this, I am signing this object:
#!/bin/bash | |
sudo ldconfig -p \ | |
| grep "=>" \ | |
| perl -pe 's!^.*\=\>\s(.+?)\s*$!$1\n!' \ | |
| while read SO; do [ ! -f "${SO}" ] && echo "missing: ${SO}"; done |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
iframe-test.php - Test for iframe-based site vulnerabilities. | |
author: Kevin C. Krinke <kevin@krinke.ca> | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any |
#!/bin/bash | |
export COLUMNS=1024 | |
exec \ | |
ps -eo pid,user,pri,stat,pcpu,command \ | |
| grep -v grep \ | |
| egrep "$@" |
#!/bin/bash | |
MODE_SHOW=short | |
SHOW_MAIL=1 | |
SHOW_NAME=1 | |
while [ $# -gt 0 ] | |
do | |
case "$1" in | |
"-h"|"--help") |
#!/bin/bash | |
# | |
# To hold one or more packages: | |
# apt-hold <pkg> [pkg2 ...] | |
# | |
# To un-hold one ore more packages: | |
# apt-hold -u <pkg> [pkg2 ...] | |
# or if this script is symlinked as apt-unhold: | |
# apt-unhold <pkg> [pkg2 ...] |
#!/bin/bash | |
function lint_check () { | |
result=`php -l "$1" 2>&1` | |
if [ $? -ne 0 ] | |
then | |
echo "ERROR: php -l \"$1\"" | |
echo "${result}" | |
return $? | |
fi |
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "usage: $(basename $0) <server:port>" | |
exit 1 | |
fi | |
echo | openssl s_client -connect "$1" 2>&1 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' |
#!/bin/bash | |
if [ $# -ne 1 ] | |
then | |
echo "usage: $(basename $0) host:port" | |
exit 1 | |
fi | |
openssl x509 -in <(openssl s_client -connect "$1" -prexit 2>/dev/null) |
#!/bin/bash | |
: "${PS_OPTS:=ax}" | |
exec ps ${PS_OPTS} | egrep -v '\b(psgrep|grep)\b' | egrep "$@" |