mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Fix Undefined Value in Autopsy Regripper Plugins
Check for undefined values in Autopsy regripper plugins, this is for Autopsy version of regripper not full version of regripper.
This commit is contained in:
parent
fbcb565b3a
commit
01494b3fb2
3
thirdparty/rr/plugins/arunmru.pl
vendored
3
thirdparty/rr/plugins/arunmru.pl
vendored
@ -36,6 +36,7 @@ sub pluginmain {
|
||||
my $class = shift;
|
||||
my $ntuser = shift;
|
||||
#::logMsg("autospyrunmru");
|
||||
if (defined(Parse::Win32Registry->new($ntuser))) {
|
||||
my $reg = Parse::Win32Registry->new($ntuser);
|
||||
my $root_key = $reg->get_root_key;
|
||||
|
||||
@ -72,7 +73,7 @@ sub pluginmain {
|
||||
#::rptMsg($key_path." not found.");
|
||||
#::logMsg($key_path." not found.");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
2
thirdparty/rr/plugins/autopsylogin.pl
vendored
2
thirdparty/rr/plugins/autopsylogin.pl
vendored
@ -35,6 +35,7 @@ sub pluginmain {
|
||||
my $class = shift;
|
||||
my $ntuser = shift;
|
||||
#::logMsg("||logonusername||");
|
||||
if (defined(Parse::Win32Registry->new($ntuser))) {
|
||||
my $reg = Parse::Win32Registry->new($ntuser);
|
||||
my $root_key = $reg->get_root_key;
|
||||
|
||||
@ -66,5 +67,6 @@ sub pluginmain {
|
||||
#::logMsg($key_path." not found.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
@ -31,6 +31,8 @@ sub pluginmain {
|
||||
#::logMsg("Launching ntusernetwork v.".$VERSION);
|
||||
#::rptMsg("ntusernetwork v.".$VERSION); # banner
|
||||
#::rptMsg("(".$config{hive}.") ".getShortDescr()."\n"); # banner
|
||||
if (defined(Parse::Win32Registry->new($ntuser))) {
|
||||
|
||||
my $reg = Parse::Win32Registry->new($ntuser);
|
||||
my $root_key = $reg->get_root_key;
|
||||
|
||||
@ -90,4 +92,5 @@ sub pluginmain {
|
||||
}
|
||||
::rptMsg("</artifacts></NtuserNetwork>");
|
||||
}
|
||||
}
|
||||
1;
|
||||
|
2
thirdparty/rr/plugins/autopsyrecentdocs.pl
vendored
2
thirdparty/rr/plugins/autopsyrecentdocs.pl
vendored
@ -41,6 +41,7 @@ sub pluginmain {
|
||||
my $class = shift;
|
||||
my $ntuser = shift;
|
||||
#::logMsg("||recentdocs||");
|
||||
if (defined(Parse::Win32Registry->new($ntuser))) {
|
||||
my $reg = Parse::Win32Registry->new($ntuser);
|
||||
my $root_key = $reg->get_root_key;
|
||||
my $key_path = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs";
|
||||
@ -116,6 +117,7 @@ sub pluginmain {
|
||||
#::rptMsg($key_path." not found.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sub getRDValues {
|
||||
|
3
thirdparty/rr/plugins/autopsyshellfolders.pl
vendored
3
thirdparty/rr/plugins/autopsyshellfolders.pl
vendored
@ -41,7 +41,9 @@ sub pluginmain {
|
||||
my $class = shift;
|
||||
my $hive = shift;
|
||||
#::logMsg("Launching shellfolders v.".$VERSION);
|
||||
if (defined(Parse::Win32Registry->new($hive))) {
|
||||
my $reg = Parse::Win32Registry->new($hive);
|
||||
|
||||
my $root_key = $reg->get_root_key;
|
||||
|
||||
my $key_path = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
|
||||
@ -69,4 +71,5 @@ sub pluginmain {
|
||||
#::logMsg($key_path." not found.");
|
||||
}
|
||||
}
|
||||
}
|
||||
1;
|
||||
|
2
thirdparty/rr/plugins/officedocs.pl
vendored
2
thirdparty/rr/plugins/officedocs.pl
vendored
@ -37,6 +37,7 @@ sub pluginmain {
|
||||
# ::rptMsg("officedocs v.".$VERSION); # 20110830 [fpi] + banner
|
||||
# ::rptMsg("(".getHive().") ".getShortDescr()."\n"); # 20110830 [fpi] + banner
|
||||
::rptMsg("<office>");
|
||||
if (defined(Parse::Win32Registry->new($ntuser))) {
|
||||
my $reg = Parse::Win32Registry->new($ntuser);
|
||||
my $root_key = $reg->get_root_key;
|
||||
#::rptMsg("officedocs v.".$VERSION);
|
||||
@ -146,6 +147,7 @@ sub pluginmain {
|
||||
#::logMsg("MSOffice version not found.");
|
||||
#::rptMsg("MSOffice version not found.");
|
||||
}
|
||||
}
|
||||
::rptMsg("</office>");
|
||||
}
|
||||
|
||||
|
3
thirdparty/rr/plugins/officedocs2010.pl
vendored
3
thirdparty/rr/plugins/officedocs2010.pl
vendored
@ -72,7 +72,7 @@ sub pluginmain {
|
||||
#::logMsg("Launching officedocs2010 v.".$VERSION);
|
||||
#::rptMsg("officedocs2010 v.".$VERSION); # 20110830 [fpi] + banner
|
||||
#::rptMsg("(".getHive().") ".getShortDescr()."\n"); # 20110830 [fpi] + banner
|
||||
|
||||
if (defined(Parse::Win32Registry->new($ntuser))) {
|
||||
my $reg = Parse::Win32Registry->new($ntuser);
|
||||
my $root_key = $reg->get_root_key;
|
||||
# ::rptMsg("officedocs v.".$VERSION); # 20110830 [fpi] - redundant
|
||||
@ -217,5 +217,6 @@ sub pluginmain {
|
||||
# ::rptMsg("MSOffice version not found.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user