Hello guys, In this tutorial, I will be teaching you how you can transfer files from Kali Nethunter to your sdcard
It can be quickly done on a Rooted phone, but if you are using Nethunter on a non-rooted phone, then you have to deal with the permission issues; after reading this tutorial, you will know how to deal with that and access your sdcard or Phone Memory inside Kali Nethunter,
You can move files from Nethunter to Sdcard, copy, edit and delete files using the command line Terminal or GUI.
How To Mount sdcard In Rootless Kali Linux
pkg install nano
Step3: Now type this command to edit the nethunter file located at /usr/bin/
nano ../usr/bin/nethunter
You will see an editor shown below screenshot. We recommend you use Hackers Keyboard to edit the file.
Step 4: You have to scroll down till you see -b
Now add this line
-b /sdcard \
and close the editor by typing CTRL + X (alternatively, you can use Volume down and x)
Now Run nethunter by typing nethunter in termux
and browse the sdcard directory by typing
cd /sdcard/
You are inside Sdcard (Phone Memory)
In the same way, you can add memory card. Before that, you have to know the name of your memory card. You can quickly figure out that by typing the below commands in Termux (Not inside nethunter)
cd /storage/
ls
Alternatively, you can access the sdcard inside the GUI version of nethunter
Also Read:
How To Transfer Files From Kali Linux To Windows In Virtualbox
How to Install Kali Linux on Android
Conclusion
This tutorial will work fine if you have installed nethunter through the official method. If not, then you have to figure out and follow these steps. If you face any problems, then feel free to comment below.