Perl-Strip

The password manager Strip is a tool for the Palm plattform. You can save your passwords and use them on a desktop computer with a collection of perl scripts. This article explains how to install the Perl-Strip scripts on Debian/Linux (I was not successful on the Windows Plattform).


“Strip is an account management application for the Palm Computing platform written by Zetetic. strip-dump prints Strip account information stored in Palm database files (PDB) saved on a desktop machine. ” [Man]

Install on Debian / Linux

Prerequisites

-Development Tools: make,

-Debian packages to install
libpalm-perl : Perl modules for manipulating Palm Pilot databases.
libxml-sax-machines-perl : SAX XML Parser

You will need the following packages to compile some Perl Packages:
libc6-dev linux-kernel-headers

The easiest way to install Perl is to use the http://www.cpan.org/ websites. CPAN is an acronym for Comprehensive Perl Archive Network, a very huge collection of perl scripts free to use.

Just type perl -MCPAN -e 'install Digest::SHA256' to download, configure and install the package Digest::SHA256.

Install Perl-Strip

Download the sources of strip-dump-1.0.1 at http://www.dribin.org/dave/software/perl-strip/

Run in a console the following commands:

   strip-dump-1.0.1
   $perl Makefile.PL
   $make
   $make install

Running Perl-Strip

In a console, run the command strip-dump -d[Directory]
where [Directory] is the place where are stored your files StripPassword-SJLO.pdb, StripSystems-SJLO.pdb and StripAccounts-SJLO.pdb

Normally, you will be asked for your master password. If you give the right one, all your passwords will be listed on the screen.
To save in a file, run strip-dump -d[Directory] > [File]

Install Perl-Strip on Microsoft Windows

Prerequisites

As Strip-Dump is a collection of scripts written in perl, you will need the development package for this language, ActivePerl is one of them.

Download ActivePerl package from http://www.activestate.com/Products/ActivePerl/

More over, you will need a set of Development Tools, like Microsoft Visual C++ or gcc (Cygwin ?)

The version ActivePerl 5.8.1 contains the Perl Package Manager (PPM) which you will use to install the packages you could need.

To use it, you will just have to type the following command to a command prompt

ppm

Install Perl-Strip

We will use the CPAN websites to download the needed perl scripts. CPAN is an acronym for Comprehensive Perl Archive Network (www.cpan.org), a very huge collection of perl scripts free to use.

To install modules from the CPAN Network, just type the following line in a command prompt
perl -MCPAN -e "Crypt::Rijndael" (to install the package Crypt::Rijndael)

perl -MCPAN -e "Digest::SHA256" (to install the package Digest::SHA256)

To install Strip-dump and the dependencies, start the Perl Package Manager (type ppm in a command line) and type install Palm-Zetetic-Strip

To start a Perl Program, you can
-use the perl interpreter, by running perl [script.pl] in a command line
-call the perl modules in dynamical pages (asp, php….)

Running Perl-Strip

-Open a notepad, insert the following script

    use Palm::Zetetic::Strip;
     $strip = new Palm::Zetetic::Strip('directory_to_pdb_files\');
     if (! $strip->set_password('strip_password'))
     {
         print "Incorrect password\n";
         exit(1);
     }
     $strip->load();
     @systems = $strip->get_systems();
     @accounts = $strip->get_accounts($systems[0]);

-Adapt directory_to_pdb_files\ and strip_password to your configuration.

-Save in a file with an extension .pl (for example MyStrip.pl)

-Execute this script by typing
perl MyStrip.pl

to a command prompt

Note: I was not successfull with the windows version. If you find an error please contact me (Lolosfactory@arnest.net).

Note: Ce document est sous license Creative-Common by-nc-sa

Tags : , , , , ,

Laisser un commentaire

Vous devez être connecté pour rédiger un commentaire.