Saturday, November 29, 2008

hh.gif

I created another GIF file. This has 7 hidden keywords.

http://slashdot.jp/sp/binary2008/data/hh.gif

* This GIF file is

- a GIF file which shows "Happy Hacking".

- a MS-DOS COM program which shows "Happy Hacking".

% cp hh.gif
% dosemu -dumb hh.com
Happy Hacking!

- a Perl program which converts a ASCII formatted COM file.

If you provide no arguments, it converts itself. So, you can do

% perl hh.gif > hh.pl.com
% dosemu -dumb hh.pl.com
Happy Hacking!

There are no binaries or control code in hh.pl.com.

- a Ruby program which converts a ASCII formatted COM file.

% ruby hh.gif > hh.rb.com
% dosemu -dumb hh.rb.com
Happy Hacking!

- the Perl program shows "be" if you provide 1111 as the command line option.

% perl hh.gif 1111
be

- a Java program in jar which shows "assimilated".

% java -jar hh.gif
assimilated

- the word *WILL* is hidden in the GIF file in UTF8.

- this is an animation GIF, after waiting 10mins, the image shows "You".

- "Resistance" is embed in this GIF image.

http://shinh.skr.jp/misc/dat_dir/steg.gif

* The outputted ASCII formatted COM file is

- a COM file

- a Perl program which produces the original COM file

% diff =(perl hh.pl.com) hh.com
% diff =(perl hh.rb.com) hh.com
%

- a Ruby program which produces the original COM file

% diff =(ruby hh.pl.com) hh.com
% diff =(ruby hh.rb.com) hh.com
%

- a Python program which outputs "futile"

% python hh.pl.com
futile

- a Haskell program which outputs "is"

% cp hh.pl.com hh.hs
% ghc hh.hs
% ./a.out
is

* Overall, the hidden phrases are "Resistance is futile. You will be assimilated"

Here is the archive to create this file

http://shinh.skr.jp/binary/happy.tgz

About Me

http://shinh.skr.jp/ (my website in Japanese)