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.


2 Answers 2


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)


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/

  • 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 Jul 20, 2016 at 3:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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