Nethunter-In-Termux icon indicating copy to clipboard operation
Nethunter-In-Termux copied to clipboard

Fix to the 404 Error

Open kennyfully88 opened this issue 1 year ago • 0 comments

Please close this if there's already a valid fix that was merged.

Problem is in kalinethunter file

The script is outdated. The paths to the linux is wrong. You need to change the old paths with the new paths. There are 2 old paths.


OLD PATH 1

  1. Linux Distro Path (Check for your specific file path... you will know because of the ending of your 404 error).

// problem in script link https://github.com/Hax4us/Nethunter-In-Termux/blob/master/kalinethunter#L83-L83

// New path 1 sources link https://kali.download/nethunter-images/current/rootfs/

Change

 URL="https://images.kali.org/nethunter/kalifs-${SETARCH}-${chroot}.tar.xz"

to

URL="https://kali.download/nethunter-images/current/rootfs/<your-ending-path>"

OLD PATH 2

  1. checksun or sha512 path. Check for your specific file path... you will know because of the ending of your 404 error).

// problem in script link https://github.com/Hax4us/Nethunter-In-Termux/blob/master/kalinethunter#L108-L108

// New path 2 sources link https://kali.download/nethunter-images/current/rootfs/

Change

axel ${EXTRAARGS} --alternate "https://images.kali.org/nethunter/kalifs-${SETARCH}-${chroot}.sha512sum" -o kalifs-${SETARCH}-${chroot}.sha512sum

to

axel ${EXTRAARGS} --alternate "https://kali.download/nethunter-images/current/rootfs/<your-ending-path>" -o kalifs-${SETARCH}-${chroot}.sha512sum

kennyfully88 avatar Jun 19 '24 14:06 kennyfully88