SIFT workstation : fix rip.pl error 'Global symbol "$plugindir" requires explicit package name'

Sep 20, 2023 by Thibault Debatty | 643 views

Forensics

https://cylab.be/blog/287/sift-workstation-fix-rippl-error-global-symbol-plugindir-requires-explicit-package-name

If you are using the current version of the SIFT workstation, the installed version of RegRipper has a bug that shows the following error message: 'Global symbol "$plugindir" requires explicit package name'. Luckily this bug is easy to fix. Here is how...

First, make a backup of rip.pl, you never know...

sudo cp /usr/share/regripper/rip.pl \
    /usr/share/regripper/rip.pl.back

Then edit rip.pl:

sudo nano -c /usr/share/regripper/rip.pl

And add the following block at line 66:

# Define $plugindir
# https://cylab.be/blog/287/sift-workstation-fix-rippl-error-global-symbol
my $plugindir = File::Spec->catfile($scriptdir, "plugins");

rip.pl-bugfix.png

Now rip.pl should run as expected...

rip.pl.png

This blog post is licensed under CC BY-SA 4.0

This website uses cookies. More information about the use of cookies is available in the cookies policy.
Accept