mirror of
https://github.com/elisspace/autopsy.git
synced 2026-10-05 16:56:16 +00:00
Added info statements when processing files for recent activity Firefox.java, Chrome.java, and ExtractRegistry.java classes.
Signed-off-by: Alex Ebadirad <aebadirad@42six.com>
This commit is contained in:
@@ -79,6 +79,7 @@ public class Chrome extends Extract implements IngestServiceImage {
|
||||
int j = 0;
|
||||
if (FFSqlitedb != null && !FFSqlitedb.isEmpty()) {
|
||||
while (j < FFSqlitedb.size()) {
|
||||
|
||||
String temps = currentCase.getTempDirectory() + File.separator + FFSqlitedb.get(j).getName().toString() + j + ".db";
|
||||
try {
|
||||
ContentUtils.writeToFile(FFSqlitedb.get(j), new File(currentCase.getTempDirectory() + File.separator + FFSqlitedb.get(j).getName().toString() + j + ".db"));
|
||||
@@ -92,6 +93,7 @@ public class Chrome extends Extract implements IngestServiceImage {
|
||||
break;
|
||||
}
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, chquery);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting history from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
@@ -129,6 +131,7 @@ public class Chrome extends Extract implements IngestServiceImage {
|
||||
logger.log(Level.WARNING, "Error while trying to write out a sqlite db.{0}", ex);
|
||||
this.addErrorMessage(this.getName() + ": Error while trying to analyze file:" + FFSqlitedb.get(j).getName());
|
||||
}
|
||||
logger.log(Level.INFO, moduleName + "- Now getting Bookmarks from " + temps);
|
||||
File dbFile = new File(temps);
|
||||
if (controller.isCancelled()) {
|
||||
dbFile.delete();
|
||||
@@ -195,6 +198,7 @@ public class Chrome extends Extract implements IngestServiceImage {
|
||||
}
|
||||
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, chcookiequery);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting cookies from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
@@ -242,6 +246,7 @@ public class Chrome extends Extract implements IngestServiceImage {
|
||||
}
|
||||
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, chdownloadquery);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting downloads from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
@@ -289,6 +294,7 @@ public class Chrome extends Extract implements IngestServiceImage {
|
||||
break;
|
||||
}
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, chloginquery);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting login information from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
|
||||
@@ -119,7 +119,7 @@ public class ExtractRegistry extends Extract implements IngestServiceImage {
|
||||
logger.log(Level.WARNING, "Error while trying to read into a sqlite db.{0}", ex);
|
||||
}
|
||||
File regFile = new File(temps);
|
||||
|
||||
logger.log(Level.INFO, moduleName + "- Now getting registry information from " + temps);
|
||||
String txtPath = executeRegRip(temps, j);
|
||||
if (txtPath.length() > 0) {
|
||||
Success = parseReg(txtPath, orgId);
|
||||
|
||||
@@ -87,6 +87,7 @@ public class Firefox extends Extract implements IngestServiceImage {
|
||||
break;
|
||||
}
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, ffquery);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting history from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
@@ -130,6 +131,7 @@ public class Firefox extends Extract implements IngestServiceImage {
|
||||
break;
|
||||
}
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, ffbookmarkquery);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting bookmarks from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
@@ -180,6 +182,7 @@ public class Firefox extends Extract implements IngestServiceImage {
|
||||
}
|
||||
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, query);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting cookies from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
@@ -231,6 +234,7 @@ public class Firefox extends Extract implements IngestServiceImage {
|
||||
}
|
||||
|
||||
List<HashMap<String, Object>> tempList = this.dbConnect(temps, ffdownloadquery);
|
||||
logger.log(Level.INFO, moduleName + "- Now getting downloads from " + temps + " with " + tempList.size() + "artifacts identified.");
|
||||
for (HashMap<String, Object> result : tempList) {
|
||||
try {
|
||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<BlackboardAttribute>();
|
||||
|
||||
Reference in New Issue
Block a user