Re-organized the forum to more cleanly delineate the development section, as the end user support side appears to have taken a life of its own!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - alexksak

Pages: [1]
Hacking & Modding / Re: Where are the web files?
« on: October 01, 2015, 06:41:04 am »
I know you're right but I've never soldered anything, don't have the equipment and I'm afraid to break the device since I've never done it before. I will probably eventually do that but in the mean time I'm trying to keep this software-based. As long as I don't mess with the critical binaries it should be fine, I just need somewhere to output some stuff while I try to get telnet or netcat cross-compiled, then I can actually have a terminal on the device.

General Discussion / Re: FOSCAM FI8919W
« on: September 30, 2015, 09:05:13 pm »
Admin, sorry for hijacking such an old thread but I've been searching all over the web for the location of the Web UI on the device (I'm customizing the init script and want to append some command out to the web pages/css/images to leak some information, I'm trying to cross compile some binaries for the ARM architecture and to figure out why they don't work I need to debug somehow, I don't want to statically customize the web pages so modifying the web ui firmare is not what I'm looking. I'm looking for the location of the web files on the disk).

After tons of searching, you're literally the only person on the net who seems to know where it is! You mention it's hidden, but do you know the path to the Web UI on the disk? I tried /var/www and the other common ones with no luck.

Unfortunately I don't have the equipment to get a serial connection, but I can now successfully pack custom firmware and upload to the device via the web interface.

My firmware is a x.37.2.x but after checking out the camera binary from several differnt versions it seems to me they are mostly the same.

Any help in locating these web files on the device would be greatly appreciated!! I currently have to debug blind :(

General Discussion / Greetings
« on: September 30, 2015, 02:12:58 pm »
Since this is the general dicussion forum I thought I'd pop by and say hello. I'm an enthusiast and by cheap gadgets to play around with. Been hacking at this for three days and finally have a working custom firmware for the x.37.2.x range.

I found an awesome guide where the guy uses GDB and Qemu to use the `camera` binary to calculate the correct checksums to sign your own firmware (not WebUI). In the coming days I plan on taking it a bit further, I'll reverse the whole function in IDA and probably upload a script on Github that does it all for you (don't think there is one yet?).

Anyway, just thought I'd say thanks for all the resources here, I ended up on this site several times during my adventure, and thanks for hosting tools and firmware.

Also since this forum seems to be more visited than the hacking & modding one perhaps I'll repeat my question here: Does anyone know the path to the WebUI html and image files are stored on the device itself (on, although it looks like it'd be the same on others)?

Hacking & Modding / Where are the web files?
« on: September 30, 2015, 02:02:43 pm »
After a lot of time I jumped with joy when I finally confirmed I was able to upload a custom firmware to my device (working off, getting the correct signature wasn't easy at first, and when I get some time I will write a script that calculates the signature for you so you don't have to mess with GDB and Qemu every time, like in this otherwise excellent blog post . Currently my firmware does nothing aside from confirming that I can do it.

I want to modify the `init` script to run some commands on bootup but I have no way of seeing the output of those commands. What I want to do is append to output of my `init` commands to one of the HTML files, so I can then just navigate to that address and fetch the result. Something like `echo "hello world" >> /path/to/www/status.htm`.

But my problem is I don't know where the HTML files and images from the Web UI are stored on the device after boot up. I tried doing it blindly, like trying `/var/www` and the other common directories but with no success.

Does anyone know the path to the web files on the device? Then I can finally scream success and take a break from my first binge of firmware hacking.  8)

Pages: [1]