mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
Fix plugin ps*
Fix System file in ps* plugin output
This commit is contained in:
parent
3812b10e79
commit
1a92b342ea
@ -512,8 +512,10 @@ class VolatilityProcessor implements Runnable{
|
||||
while ((line = br.readLine()) != null) {
|
||||
String file_path;
|
||||
file_path = line.substring(19, 37);
|
||||
if (!file_path.startsWith("System")) {
|
||||
fileSet.add(file_path.toLowerCase());
|
||||
}
|
||||
}
|
||||
br.close();
|
||||
} catch (IOException ex) {
|
||||
//Exceptions.printStackTrace(ex);
|
||||
@ -530,8 +532,10 @@ class VolatilityProcessor implements Runnable{
|
||||
while ((line = br.readLine()) != null) {
|
||||
String file_path;
|
||||
file_path = line.substring(19, 41);
|
||||
if (!file_path.startsWith("System")) {
|
||||
fileSet.add(file_path.toLowerCase());
|
||||
}
|
||||
}
|
||||
br.close();
|
||||
} catch (IOException ex) {
|
||||
//Exceptions.printStackTrace(ex);
|
||||
@ -548,8 +552,10 @@ class VolatilityProcessor implements Runnable{
|
||||
while ((line = br.readLine()) != null) {
|
||||
String file_path;
|
||||
file_path = line.substring(19, 41);
|
||||
if (!file_path.startsWith("System")) {
|
||||
fileSet.add(file_path.toLowerCase());
|
||||
}
|
||||
}
|
||||
br.close();
|
||||
} catch (IOException ex) {
|
||||
//Exceptions.printStackTrace(ex);
|
||||
@ -568,9 +574,11 @@ class VolatilityProcessor implements Runnable{
|
||||
String TAG = ":";
|
||||
if (line.contains(TAG)) {
|
||||
file_path = line.substring(line.indexOf(":") + 1, 52);
|
||||
if (!file_path.startsWith("System")) {
|
||||
fileSet.add(file_path.toLowerCase());
|
||||
}
|
||||
}
|
||||
}
|
||||
br.close();
|
||||
} catch (IOException ex) {
|
||||
//Exceptions.printStackTrace(ex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user