Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Loic
hbsd-checksec
Commits
f1b574c4
Commit
f1b574c4
authored
Aug 15, 2020
by
Brian Davis
Browse files
update vars and if
parent
aaeadc5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
checksec
View file @
f1b574c4
...
...
@@ -1658,9 +1658,9 @@ chk_file_list () {
echo_message
"RELRO STACK CANARY NX PIE RPATH RUNPATH
\t
Symbols
\t\t
FORTIFY
\t
Fortified
\t
Fortifiable
\t
FILE
\n
"
''
''
'{\n'
fi
while
IFS
=
""
read
-r
p
||
[
-n
"
$
p
"
]
while
IFS
=
""
read
-r
p
||
[
[
-n
"
$
{
p
}
"
]
]
do
CHK_FILE
=
"
$
p
"
CHK_FILE
=
"
$
{
p
}
"
if
[[
-z
"
${
CHK_FILE
}
"
]]
;
then
printf
"
\0
33[31mError: Please provide a valid file.
\0
33[m
\n\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment