Commit c3e6f9d4 authored by slimm609's avatar slimm609
Browse files

signed update

parent 61d54008
Rev-2016022002 Brian Davis <slimm609@gmail.com>
* checksec.sh: updated to 1.7.4
* checksec.sh: fixed man page
* checksec.sh: added pkg_release option to disable updates for packaged releases
* checksec.sh: cleanup up proc-libs
Rev-2016021501 Brian Davis <slimm609@gmail.com>
* checksec.sh: merged in zsh completion
Thanks Vaeth
......
......@@ -68,10 +68,11 @@ format="cli"
SCRIPT_NAME="checksec"
SCRIPT_URL="https://github.com/slimm609/checksec.sh/raw/master/${SCRIPT_NAME}"
SIG_URL="https://github.com/slimm609/checksec.sh/raw/master/$(basename ${SCRIPT_NAME} .sh).sig"
SCRIPT_VERSION=2016022001
SCRIPT_VERSION=2016022002
SCRIPT_MAJOR=1
SCRIPT_MINOR=7
SCRIPT_REVISION=4
pkg_release=false
if [ $(id -u) != 0 ]; then
export PATH=$PATH:/sbin/
......@@ -152,7 +153,9 @@ help() {
echo " --fortify-proc (-fp) <process ID>"
echo " --version"
echo " --help"
echo " --update"
if ! $pkg_release; then
echo " --update"
fi
echo
echo "For more information, see:"
echo " http://github.com/slimm609/checksec.sh"
......@@ -1079,6 +1082,11 @@ do
shift 1
;;
--update|--upgrade)
if $pkg_release; then
printf "\033[31mError: Unknown option '$1'.\033[m\n\n"
help
exit 1
fi
umask 027
TMP_FILE=$(mktemp /tmp/checksec.XXXXXXXXXX)
SIG_FILE=$(mktemp /tmp/checksec_sig.XXXXXXXX)
......
:Yd 5GEsU0]Mbv'Kt*ss`]>[8I4o ,tcl\mhTq $`c΁-*T!4q>!j'eNJ:zo1R\uM2 d0
cZi)4עG/7gGy0WitwZ`I%e'o‡n*&HUI6 +j
\ No newline at end of file
'"oTdʺ2 2)1i(&0Gֺ =Y$_Jsq({Ɨa*U߮'mqJAȖ7-{pFzԙSZg1Poŵl֗ɠeD+~3l$)_Lpْ(lhUge#@SNd}ОBSxi fߐt$llLrϻkoWQN R;lgX_rv/
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment