NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
been there, done that (Score:2)
But, the company I was at was never foolish enough to believe that encrypting scripts made the code saf
I, haX0r (Score:2)
require the code
walk the symbol table looking for globals and subroutines
Data::Dumper the globals
B::Deparse the subroutines
The tricky part was the file-scoped lexical arrays used inside the subroutines. I couldn't quite get padwalker working to grab at them. Instead I just ran the program over and over again with the proper inputs to cause it to print out each element of the arrays.
Then I sent the result back to the poor guy. I think it took less than an hour.
It was an interesting exercise. I'd been saying for years prior that Filter::decrypt was defeatable by B::Deparse but had never actually performed an attack.
Reply to This
Parent
Re:I, haX0r (Score:2)
Re:I, haX0r (Score:2)