|
@ -24,8 +24,8 @@ echo "" |
|
|
|
|
|
|
|
|
find ${filesdir} -type f -print0 | |
|
|
find ${filesdir} -type f -print0 | |
|
|
while IFS= read -r -d $'\0' line; do |
|
|
while IFS= read -r -d $'\0' line; do |
|
|
objdump -T $line 2>/dev/null|grep -oP "GLIBC[^ ]+" >>"${lgsmdir}/tmp" |
|
|
objdump -T $line 2>/dev/null|grep -oP "GLIBC[^ ]+" >>"${lgsmdir}/tmp/detect_glibc.tmp" |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
cat "${lgsmdir}/tmp"|sort|uniq|sort -r --version-sort |
|
|
cat "${lgsmdir}/tmp/detect_glibc.tmp"|sort|uniq|sort -r --version-sort |
|
|
rm "${lgsmdir}/tmp" |
|
|
rm "${lgsmdir}/tmp/detect_glibc.tmp" |