How to fix Errors in Net Hunter on Android - Honor 6X Guides, News, & Discussion

Error no 1:-
Apt-get update not working
Fix process
1.Open Kali terminal
2.Type "cp /etc/apt/sources.list /sdcard" without quotes
3.Download and open es file explorer
4.navigate to internal storage
5.Open sources.list in text form
6.remove all the content in the file and paste
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
7.Save it
8.open Kali terminal and type "cp /sdcard/sources.list /etc/apt" without quotes
Now your problem is fixed
Error 2:-
Sub-Process Dpkg (1)
Fix process:-
In this process you need to install "juice ssh" from play store because you will not able to past codes in net Hunter terminal
Process connecting Kali to juice ssh
1.go to Net Hunter app
2.go to services and enable SSH
3.goto nethunter terminal and boot to Kali and paste this command "passwd" without quotes and enter new password for ssh
4.open juice ssh
5.click on connections and click on + symbol
6.Type nickname of your own
7.type "localhost" for address
8.click on set new at identity
9.set username as "root"
10.Set password which you have set
11.once you have set that click on tickmark at top
12.click on the name which you have created
You will be Kali terminal
Fixing Sub-Process Dpkg 1
1.boot to Kali using juice ssh
2.type "sudo dpkg -i --force-overwrite /var/cache/apt/archives/libogremain-1.7.3_1.7.3-ogredev-natty3_i386.deb"
3.type "apt-get autoremove"
4.type "apt-get update"
i have an another process too
fix process:-
1. open kali terminal
2. type cp /etc/passwd /sdcard
3. open es file manager and open passwd file as text
4. goto bottom until you see _apt:x:0
5. now edit that line to
_apt:x:0:65534::/nonexistent:/bin/false
Now your problem has fixed
Error 3
Sub-Process Dpkg (2)
Fix Process
1.boot to Kali using juice ssh
2.type "sudo dpkg --configure -a"
3.type "apt-get -f install"
4.type "apt-get clean"
5.type "apt-get update && apt-get upgrade && apt-get dist-upgrade"
Now your problem has been fixed
If you have any another problems just post comments in my channel "Marella Ram" or by comments below

Marella ram_youtubr said:
Error no 1:-
Apt-get update not working
Fix process
1.Open Kali terminal
2.Type "cp /etc/apt/sources.list /sdcard" without quotes
3.Download and open es file explorer
4.navigate to internal storage
5.Open sources.list in text form
6.remove all the content in the file and paste
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
7.Save it
8.open Kali terminal and type "cp /sdcard/sources.list /etc/apt" without quotes
Now your problem is fixed
Error 2:-
Sub-Process Dpkg (1)
Fix process:-
In this process you need to install "juice ssh" from play store because you will not able to past codes in net Hunter terminal
Process connecting Kali to juice ssh
1.go to Net Hunter app
2.go to services and enable SSH
3.goto nethunter terminal and boot to Kali and paste this command "passwd" without quotes and enter new password for ssh
4.open juice ssh
5.click on connections and click on + symbol
6.Type nickname of your own
7.type "localhost" for address
8.click on set new at identity
9.set username as "root"
10.Set password which you have set
11.once you have set that click on tickmark at top
12.click on the name which you have created
You will be Kali terminal
Fixing Sub-Process Dpkg 1
1.boot to Kali using juice ssh
2.type "sudo dpkg -i --force-overwrite /var/cache/apt/archives/libogremain-1.7.3_1.7.3-ogredev-natty3_i386.deb"
3.type "apt-get autoremove"
4.type "apt-get update"
i have an another process too
fix process:-
1. open kali terminal
2. type cp /etc/passwd /sdcard
3. open es file manager and open passwd file as text
4. goto bottom until you see _apt:x:0
5. now edit that line to
_apt:x:0:65534::/nonexistent:/bin/false
Now your problem has fixed
Error 3
Sub-Process Dpkg (2)
Fix Process
1.boot to Kali using juice ssh
2.type "sudo dpkg --configure -a"
3.type "apt-get -f install"
4.type "apt-get clean"
5.type "apt-get update && apt-get upgrade && apt-get dist-upgrade"
Now your problem has been fixed
If you have any another problems just post comments in my channel "Marella Ram" or by comments below
Click to expand...
Click to collapse
Can't Find the line _apt:x:0 bro !! What should i do?

SmartDrevil said:
Can't Find the line _apt:x:0 bro !! What should i do?
Click to expand...
Click to collapse
just find _apt:x:some:thing and then change that to _apt:x:0:65534

sorry if i rez a dead thread but, ive installed nethunter ok, when i add an external wireless device all i get is 0x20<link> where wlan1 should be. nothing finds the interface. Anyone?

Kali Nethunter is not working..
It says Busybox/root is not found.. try again...
But i granted su permission and i have already installed busybox in my honor 6x...please mail me a solution @ [email protected]

Related

Run Backtrack 5 On Android Devices (Step By Step)

1. Download terminal emulator,android vnc and arm version of backtrack.
2. Extract the content of img file and transfer it in to memory of android devices.
3. Install BusyBox and start it.
4. Open terminal emulator. use "cd" command to get in backtrack directory where extracted content is saved on memory card of device. In this case command is
cd /sdcard/BT5
5. Type "sh bootbt" and we will be in Backtrack.
commend
su
cd/sdcard/bt5
sh bootbt
startvnc
download from torrent
BackTrack 5 ARM Edition Quick Start
This image has been developed and tested on the you yureka. Your mileage may vary on other devices.
As this image runs in a chroot, you will need to have your device rooted. There are numerous tutorials on the subject online and are not included here.
***Rooting your device will potentially void its warranty and we are not in any way resposible if you brick your device while rooting it.***
### IMPORTANT POINTS ###
1. Since the image runs in a chroot, there is no root password set.
2. There are 2 scripts under /usr/bin/ 'startvnc' and 'stopvnc' that are set to start with the Xoom's default resolution.
3. The current vnc password is set to 'toortoor' and can be changed by running 'vncpasswd'
4. This image is a work in progress and suggestions/tips from the community are always welcome.
### GETTING STARTED ###
1. Once you have downloaded the ARM BT package, save the files in a convenient location. The steps below assume they are in the platform-tools folder of the Android SDK.
2. Go to your platform-tools directory and proceed to make a directory on the device to store BT5:
./adb shell
mkdir /sdcard/BT5
exit
3. Copy over the busybox install files:
./adb push busybox /sdcard/
./adb push installbusybox.sh /sdcard
4. Install busybox on the device:
./adb shell
cd /sdcard/
sh installbusybox.sh
exit
5. Transfer the required BT5 files to the device:
./adb push fsrw /sdcard/BT5/
./adb push mountonly /sdcard/BT5/
./adb push bootbt /sdcard/BT5/
./adb push bt5.img.gz /sdcard/BT5/
./adb push unionfs /sdcard/BT5/
6. Uncompress the image and start BT5:
./adb shell
su
cd /sdcard/BT5
gunzip bt5.img.gz
sh bootbt
If all goes well, you'll be in the BT5 chroot:
# sh bootbt
net.ipv4.ip_forward = 1
[email protected]:/# ls /pentest/
backdoors database exploits passwords scanners stressing voip
cisco enumeration forensics python sniffers tunneling web
[email protected]:/#

Net hunter wifi adapter driver modules

FOR MORE DRIVERS JUST PLACE A COMMENT WITH YOUR WIFI ADAPTER CHIPSET AND DRIVER NAME
I have compiled wifi drivers for my honor 6x
I have posted those in download section
Installation process
1.extract the modules folder to internal storage
2.open nethunter app
3.go to custom commands
4.click on add command
5.select SEND TO as ANDROID
6.In COMMAND box type
cd /sdcard/modules
sh install.sh
7.click on ok
8.click on run
Now you will have your drivers installed
NOTE:-on every reboot you should go to nethunter app and click on run
insmod not work for your rtl-wifi drivers
<pre>HWBLN-H:/sdcard/modules $ su
HWBLN-H:/storage/emulated/0/modules # ls
install.sh mac80211.ko rtl8192c-common.ko rtl8192cu.ko rtlwifi.ko
nsmod mac80211.ko <
insmod: failed to load mac80211.ko: Exec format error
at install.sh <
#!/bin/bash
su
cd /sdcard/modules
insmod mac80211.ko
insmod rtlwifi.ko
insmod rtl8192c-common.ko
insmod rtl8192cu.ko HWBLN-H:/storage/emulated/0/modules # insmod rtlwifi.ko
insmod: failed to load rtlwifi.ko: Exec format error
1|HWBLN-H:/storage/emulated/0/modules # </pre>
Could you share how you build your drivers?
What is this for? Brute force?
try to study something
for me, I try to study something from my phone.
That's it.
Is this going to work on another devices?

Tasker scripts using root

Hi
I received my new Oneplus 5T and installed everything on it. So far so good, the only problem I have is to re-use my tasker scripts.
Some of those scripts use shell command to send a sqlite3 request on various databases located in /data/data/...
The problem is that those scripts doesn't work anymore, seems unable to access /data/data/...
Using a terminal emulator, the same command works very well.
I don't understand what's happen now.
Found the solution.
I added the su command before the sqlite3 command:
su
sqlite3 ....
Instead of using the root tickmark.
The proposed solution only works with SuperSU. It doesn't work under magisk.
pantale said:
The proposed solution only works with SuperSU. It doesn't work under magisk.
Click to expand...
Click to collapse
Have you tried adding -c to the su command? The shell command would then be:
Code:
su -c sqlite3...
Didgeridoohan said:
Have you tried adding -c to the su command? The shell command would then be:
Click to expand...
Click to collapse
Doesn't work, even with quotes.
Work well using SuperSU but not with Magisk
Here is the error message:
09.29.16/E Lancer un Shell: %folder -> %folder
09.29.16/E Lancer un Shell: ->
09.29.16/E Lancer un Shell: ->
09.29.16/Shell runBackground su -c 'sqlite3 /data/data/me.bluemail.mail/databases/2513211d-9c12-4de3-ba85-67b5a78cc0c3.db "SELECT id FROM folders WHERE name=\"INBOX\";" ' root: false timeout: -1
09.29.16/Shell start process-thread ID 391
09.29.16/E add wait type Shell1 time 2147483647
09.29.16/E add wait type Shell1 done
09.29.16/E add wait task
09.29.16/Variables doreplresult: |%folder| -> |%folder|
09.29.16/E Erreur: 134
Using SuperSU the Tasker sqlite3 plugging doesn't work also.
Seems unable to access /data/data/...
Even with root authorization.
Can this be related to encrypted data partition ?
Finally, I found the solution...
Had to find a 64bits version of sqlite3, and now it works normaly.

[GUIDE][LINUX]How to setup adb and fastboot on Linux for the Robin

Hello Robiners ,
it's been a long time I unlocked my bootloader , but I remember I wrestle a long time to make fastboot able to see my device. Here how to do it :
Requirement:
• Ubuntu (tested on 16.04LTS an 18.04LTS) or Linux
• Admin Password
• Basic knowledge about Linux command line
Step 1 :
Open the terminal and enter this code :
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
Code:
sudo apt-get update
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Step 2 :
Enter the command
Code:
adb device
Try two or three time and see if your device is recognized (worked on Ubuntu 18.04 LTS the second time)
Step 3 : (Tested and working on Ubuntu 16.04LTS and 18.04LTS )
Enter this command:
Code:
sudo gedit /etc/udev/rules.d/51-android.rules
This will open the 51-android.rules , this file is created when you install fastboot and adb
Go all the way to the bottom of the file and add this code:
Code:
# Nextbit
SUBSYSTEM=="usb", ATTR{idVendor}=="2c3f", MODE="0666", GROUP="plugdev"
Then save and exit gedit.
Step 4:
Enter those command:
Code:
adb kill-server
Code:
adb start-server
Congratulation , your adb is ready to work properly now .
If this helped you press the thank button :good:
Oups , it looks like I posted on the wrong section , my apologies.

How to setup and use SP Flash Tool on Ubuntu 20.04/later/other Distro based on Ubuntu 20.04/later

Hello!
I had problems with setup SP Flash Tool on Ubuntu/Kubuntu 20.04. So here is a guide, how to do it .
1. Download SP Flash Tool for Linux: https://spflashtool.com/download/
2. Extract it, and rename folders, so that there are files in the "Flash Tool" folder
3. Delete "Lib"folder
4. Type this commands:
Code:
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt update
sudo apt install libpng12-0
sudo apt install libusb-dev
5. Type
Code:
cd ~/Downloads/"Flash Tool"
sudo chmod a+x flash_tool
sudo chmod a+x flash_tool.sh
sudo ./flash_tool
If you have problem with " libqtwebkit4.so.4", follow this steps:
Open Terminal and type:
Code:
sudo add-apt-repository ppa:rock-core/qt4
sudo apt update
sudo apt install libqtwebkit4
SP Flash Tool will now works.
Voila!
Hello,I don't seem to have a field for the Scatter txt.Any ideas?
Show screenshot
It's alright,I used a Windows PC to do it,but thanks for the reply anyway
Hi had trouble as attached.I deleted lib and renamed folder all I got is bland screen.Attach will show.
Did it all again,and just named the extracted folder.
Went through your commands and it worked
Downloaded upgradeed Ubuntu 20
And truly,Thank You for your work.
Oldlearner said:
Hi had trouble as attached.I deleted lib and renamed folder all I got is bland screen.Attach will show.
Did it all again,and just named the extracted folder.
Went through your commands and it worked
Downloaded upgradeed Ubuntu 20
And truly,Thank You for your work.
Click to expand...
Click to collapse
This worked for me: https://github.com/P0cL4bs/WiFi-Pumpkin-deprecated/issues/53#issuecomment-309120875
Basically, its adding
Code:
QT_X11_NO_MITSHM=1
in the system variable file.
The first cmd is not working this is my download as there been updates on the site is my drive correct .. this cmd not workingsudo add-apt-repository ppa:linuxuprising/libpng12

Categories

Resources