Skip to content
Perl Perl 6
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/Security
sample
.gitignore
.travis.yml
LICENSE
Makefile.PL
README.md
perl-deobfuscator-cli.pl

README.md

Perl Deobfuscator

Build Status Join the chat at https://gitter.im/aagallag/perl-deobfuscator

Features and Limitations

Detects strings that have been mangled and makes them human-readable. Only tested against the Perl obfuscator at http://perlobfuscator.com/ with the "String Mangling" option enabled. Currently, this script will not be able to unobfuscate anything more complex.

How to use

Clone repository
git clone https://github.com/aagallag/perl-deobfuscator.git
Install Security::PerlDeobfuscator PerlModule
cd perl-deobfuscator
perl Makefile.PL
make
sudo make install
Execute deobfuscator on sample script
cd perl-deobfuscator
./perl-deobfuscator-cli.pl -in sample/obfuscated_test.pl
Expected output
Perl Deobfuscator v0.03, Copyright (C) 2016  Aaron Gallagher
This is free software, and you are welcome to redistribute it

Deobfuscated Lines: 3
Deobfuscated Characters: 29
Completed deobfuscation, changes written to: sample/deobfuscated_obfuscated_test.pl

License

Perl Deobfuscator Copyright (C) 2016 Aaron Gallagher

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Contact: Aaron Gallagher <aaron.b.gallagher@gmail.com>
You can’t perform that action at this time.