Fix plugin ps*

Fix System file in ps* plugin output
This commit is contained in:
Mark McKinnon 2018-03-06 06:19:00 -08:00
parent 3812b10e79
commit 1a92b342ea

View File

@ -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);