mirror of
https://github.com/elisspace/autopsy.git
synced 2026-10-05 00:36:16 +00:00
Merge pull request #6452 from markmckinnon/7008-Regripper-Plugin-Shellactivities-has-an-infinite-loop
7008-Regripper-Plugin-Shellactivities-has-an-infinite-loop
This commit is contained in:
+8
-1
@@ -70,6 +70,7 @@ sub processShellActivities {
|
||||
::rptMsg("");
|
||||
|
||||
while ($offset < ($sz - 10)) {
|
||||
|
||||
# Code to locate the appropriate identifier
|
||||
$tag = 1;
|
||||
while ($tag) {
|
||||
@@ -78,9 +79,15 @@ sub processShellActivities {
|
||||
}
|
||||
else {
|
||||
$offset++;
|
||||
# Check if at end of file and exit loop if it is
|
||||
last if ($offset >= $sz );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Check if at end of file and exit loop if it is
|
||||
last if ($offset >= $sz );
|
||||
|
||||
|
||||
$offset += 2;
|
||||
$l = unpack("C",substr($data,$offset,1));
|
||||
# ::rptMsg("String Length: ".sprintf "0x%x",$l);
|
||||
|
||||
Reference in New Issue
Block a user