FirmAE
FirmAE copied to clipboard
How to start the webserver in ASUS firmware?
Hi,
Thanks for your effort for this project! I'm trying to emulate the asus firmware using FirmAE. However FirmAE wasn't able to start the asus web server. May I know how I can manually start the asus web server using FirmAE?
To executes the web service manually, the emulated target firmware must be connectable by a shell.
There are two methods (socat
and telnet
) to connect to the emulated firmware.
First, use socat
. (Check firmadyne/console).
- Run the emulated target firmware using
scratch/${IID}/run.sh
- Execute
sudo socat - UNIX-CONNECT:/tmp/qemu.${IID}.S1, sudo nc -U /tmp/qemu.${IID}.S1
2.1.debug.py
helps to connect with thesocat
command.
Second, use telnet
. It needs a network connection with the emulated target firmware.
- Check the network reachability of the target firmware by using
run.sh
script with-c
mode - After finish the check, enter the debugging mode by running the command
./run.sh -d [brand] [firmware]
AFAIK, you have to run httpd
services under /www
directory.
At least for me. It solve 404 not found error.