From 838f3fa08e6488e3f5dd3af1054c984fb5ce3720 Mon Sep 17 00:00:00 2001 From: Paul Philippov <themactep@gmail.com> Date: Fri, 25 Nov 2022 05:41:00 -0500 Subject: [PATCH] Update faq.md --- en/faq.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/en/faq.md b/en/faq.md index f5b7500..1233389 100644 --- a/en/faq.md +++ b/en/faq.md @@ -25,6 +25,21 @@ You don't see it because initially it is not there, but there is a shell command If you need to know what's in the command, search for `ipctool` in `/etc/profile` file. +### How to dump full firmware to an NFS share + +This could work if you are lucky, you gained access into Linux shell +on stock firmware, and it does support NFS mounting: +``` +fw=$(mktemp) +nfs=$(dirname $fw)/nfs +mount -t nfs -o tcp,nolock 192.168.1.123:/path/to/nfs/share $nfs +cat /dev/mtd? > $fw +mv $fw ${nfs}/firmware_full.bin +``` +Make sure to use your own IP address and path to the NFS share! + + + ### How to find original MAC address in a firmware dump ```