We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69a2ee6 + 7a42f50 commit b090da8Copy full SHA for b090da8
mimipenguin.sh
@@ -24,7 +24,7 @@ function dump_pid () {
24
if [[ $system == "kali" ]]; then
25
mem_maps=$(grep -E "^[0-9a-f-]* r" /proc/"$pid"/maps | grep -E 'heap|stack' | cut -d' ' -f 1)
26
else
27
- mem_maps=$(grep -E "^[0-9a-f-]* r" /proc/"$pid"/maps | cut -d' ' -f 1)
+ mem_maps=$(grep -E "^[0-9a-f-]* r" /proc/"$pid"/maps | grep -E -v 'lib|usr|bin' | cut -d' ' -f 1)
28
fi
29
while read -r memrange; do
30
memrange_start=$(echo "$memrange" | cut -d"-" -f 1)
0 commit comments