Autopsy  4.20.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
PlasoModuleSettings.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2019 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.modules.plaso;
20 
21 import com.google.common.collect.ImmutableMap;
22 import java.util.HashMap;
23 import java.util.Map;
25 
30 
31  private static final long serialVersionUID = 1L;
32 
34  final Map<String, Boolean> parsers = new HashMap<>();
35 
41  Map<String, Boolean> getParsers() {
42  return ImmutableMap.copyOf(parsers);
43  }
44 
50  parsers.put("winreg", false);
51  parsers.put("pe", false);
52 
53  //chrome
54  parsers.put("chrome_preferences", false);
55  parsers.put("chrome_cache", false);
56  parsers.put("chrome_27_history", false);
57  parsers.put("chrome_8_history", false);
58  parsers.put("chrome_cookies", false);
59  parsers.put("chrome_extension_activity", false);
60 
61  //firefox
62  parsers.put("firefox_cache", false);
63  parsers.put("firefox_cache2", false);
64  parsers.put("firefox_cookies", false);
65  parsers.put("firefox_downloads", false);
66  parsers.put("firefox_history", false);
67 
68  //Internet Explorer
69  parsers.put("msiecf", false);
70  parsers.put("msie_webcache", false);
71  }
72 
78  @Override
79  public long getVersionNumber() {
80  return serialVersionUID;
81  }
82 
89  void setParserEnabled(String parserName, boolean selected) {
90  parsers.put(parserName, selected);
91  }
92 }

Copyright © 2012-2022 Basis Technology. Generated on: Tue Aug 1 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.