How to decompile the CGI & ROM files from the firmware bin? I am able to extract the HTML files using binwalk but the router OS and CGI files are missing.

NOTE: Its not the same as DIR 600

Heres a link to the firmware image.


It's possible that either A), this update is only for a select set of files, or B) the CGI backends for HTTP requests are handled by a compiled program (ref: https://www.cs.tut.fi/~jkorpela/forms/cgic.html)

| improve this answer | |

Not read yet but try these two links, may be it'll helps.

http://www.devttys0.com/2011/08/extracting-non-standard-squashfs-images/ http://www.dailysecurity.net/2014/09/08/dlink-dir655-rev-b-firmware-reverse-engineering-part-1/

| improve this answer | |
  • I have tried both methods already but I didn't find any SquashFs image or Linux header in this img. I did extract the .img using binwalk but all i get is a bunch of HTML headers / footers / copyrights – user5734678 Jul 20 '16 at 3:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.