PHP script to find magic blocks in random binary data (like router firmware updates)
18254PHP script to find magic blocks in random binary data (like router firmware updates)http://servotron.accs.wayne.edu/~rob/findmagic.phpHere is a PHP script I wrote to find magic blocks in binary images. It was written with the idea of finding ext2, cramfs, romfs or other filesystems in binary firmware files from router manufacturers like netgear, d-link and linksys. It should work for any file distributed as a firmware or flash update to any x86 and or UNIX variant embedded system that linux can at least "see" or deal with. It can also find things like embedded bios code etc.. These firmware files usually have proprietary headers and other junk intermixed within them, making them such that they cannot be directly mounted with the 'mount' command. The script uses the linux/Solaris "file" command to examine every x block of data in the image. It can take a while to run depending on the block size you use and the size of the image, but is an effective way to find the starting addresses for these images so that they can be extracted from the flash image and potentially mounted. It is probably best to redirect the output to a text file to examine the results after the script is done executing.PHP > Scripts and Programs > Development Tools > UtilitiesOct 13, 2006Robert Thompson
PHP MySQL Wizard is an easy to use wizard that can create a full set of PHP pages that manage your MySQL database, using generated PHP pages users can search, sort, edit, delete, and add data into your database.
php Multi Syntax Highlighter will "beautify" PHP, Pascal, Delphi and
Applescript source code. It is not implemented like other beautifiers, as it
does not use pcre function or ereg functions, and allows syntax code continually
line by line to reduce memory usage. using css file for color and style, and compatible with XHTML.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.