Re: [Hampshire] obfuscated code

Top Page

Reply to this message
Author: john lewis
Date:  
To: hampshire
Subject: Re: [Hampshire] obfuscated code
On Sun, 13 Mar 2011 17:36:28 +0000
Daniel Llewellyn <diddledan@???> wrote:

> if you want a quick decode you can use php:
>
> cat file_containing_html | php -r "print
> html_entity_decode(file_get_contents('php://stdin'));"


Nope! I get
bash: php: command not found

I also tried Hugo's sed suggestion and got another error

sed: couldn't open file script.sed: No such file or directory

but Andy's bit of Perl worked ;-)

I will look at the listing it created after I have had some sleep!

--
John Lewis
using Debian sid