[ROM][Official] Kali NetHunter for the OnePlus One LineageOS 18.1 R

Search This thread

King Coon

Member
May 24, 2012
33
3
Are you using the custom command from the app to put into monitor mode? That should do. Otherwise, I'll check the wps on wlan0.

UPDATE
Works on wlan0 without monitor mode.
Can you try the following in NHTerm:
Code:
python3 /sdcard/nh_files/modules/oneshot.py -i wlan0 -s
I’ve tried the command but I got „there is no such file or directory“
 

King Coon

Member
May 24, 2012
33
3
quick update
I'm able to get wlan1 into montior mode using "sudo iw dev wlan1 set type monitor" command, but as soon as I try to use it with wifite or deauth the phone reboots
 

yesimxev

Senior Member
May 8, 2017
406
159
quick update
I'm able to get wlan1 into montior mode using "sudo iw dev wlan1 set type monitor" command, but as soon as I try to use it with wifite or deauth the phone reboots
Awesome! Using the custom command from the app should do the best. Use wifite with
Code:
wifite -i wlan1
after monitor mode is enabled. I think it's trying to use wlan0 or so. Btw,
Code:
airodump-ng wlan1
also reboots?
 

King Coon

Member
May 24, 2012
33
3
Awesome! Using the custom command from the app should do the best. Use wifite with
Code:
wifite -i wlan1
after monitor mode is enabled. I think it's trying to use wlan0 or so. Btw,
Code:
airodump-ng wlan1
also reboots?
Phone crashes again after starting wifite -I wlan1 with wlan1 set to montior mode…
The airodump command doesn’t work it says „operation not permitted,
Error setting monitor mode on wlan1“
 

yesimxev

Senior Member
May 8, 2017
406
159
Phone crashes again after starting wifite -I wlan1 with wlan1 set to montior mode…
The airodump command doesn’t work it says „operation not permitted,
Error setting monitor mode on wlan1“
I think they may be something wrong with the custom command, airodump shouldn't try setting monitor mode at all if it's already set. Can you try
Code:
ip link set wlan1 down && iw wlan1 set monitor control && ip link set wlan1 up
 

King Coon

Member
May 24, 2012
33
3
Ah I got you wrong…
When I set wlan into montior mode and than try the airodump command the phone crashes also…
Your command also works but when I try wifite afterwards still crash
I think they may be something wrong with the custom command, airodump shouldn't try setting monitor mode at all if it's already set. Can you try
Code:
ip link set wlan1 down && iw wlan1 set monitor control && ip link set wlan1 up[/COD
[/QUOTE]
 

philzxx

Member
Nov 18, 2022
5
0
The Y Cable is not working for me. It either charges or reads the device. Any solution?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    68747470733a2f2f6769746c61622e636f6d2f6b616c696c696e75782f6e657468756e7465722f6275696c642d736372697074732f6b616c692d6e657468756e7465722d70726f6a6563742f7261772f6d61737465722f696d616765732f6e657468756e7465722d6769742d6c6f676f2e706e67

    I present to you: Kali NetHunter for the OnePlus One LineageOS 18.1 R

    This is the latest (experimental) version for the OnePlus One.

    Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
    The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
    Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
    NetHunter is an open-source project developed by Offensive Security and the community.

    ~ Prerequisites ~
    - Lineage 18.1 - https://download.lineageos.org/bacon
    - Gapps if needed - https://opengapps.org
    - TWRP - https://twrp.me/oneplus/oneplusone.html
    - Magisk – https://forum.xda-developers.com/apps/magisk

    ~~ Downloads ~~
    - NetHunter: https://www.kali.org/get-kali/#kali-mobile

    ~~ How to Install ~~
    Assuming you have unlocked bootloader
    - Flash TWRP
    - Copy Lineage, Magisk and NetHunter image to USB drive or the device
    - Boot into TWRP, insert USB drive.
    - Flash Lineage, and Gapps if needed, Magisk, reboot and do initial setup
    - Reboot into TWRP
    - Flash NetHunter

    - Reboot
    - Update and run NetHunter app
    - Reboot

    ~~~ Notes & Updates ~~~
    - RTL88XXAU driver added, tested with AWUS1900
    - Y-cable is still supported, just need to have it as a Custom Command or in a script (AndroidSU)
    Code:
    bootkali ycable start
    To stop:
    Code:
    bootkali ycable stop

    - Mana is being replaced, for the time being you can downgrade iptables with the following :
    Code:
    wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_armhf.deb
    
    dpkg -i *.deb
    
    apt-mark hold iptables
    apt-mark hold libip4tc0
    apt-mark hold libip6tc0
    apt-mark hold libiptc0
    apt-mark hold libxtables12

    - Bluetooth Arsenal is supported, but you need to downgrade Bluez to 4.101 by compiling it in Kali chroot and installing "on top of" current Bluez so the bluetooth service will be able to run
    - To downgrade to bluez-4.101:
    Code:
    apt-get update && apt-get install libdbus-1-dev libglib2.0-dev
    apt-mark hold bluez
    wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.gz
    tar xvf bluez-4.101.tar.gz && cd bluez-4.101
    ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib --build=arm
    make && make install

    Please note that BLE is not supported in bluez-4.x. If you prefer to use that, keep bluez-5.x

    - KeX may not work out of the box - the latest kali repo's xstartup is different, hence needs replacing
    Code:
    sudo wget -O /root/.vnc/xstartup https://gitlab.com/kalilinux/packages/kali-win-kex/-/raw/kali/master/usr/lib/win-kex/xstartup
    chmod a+x /root/.vnc/xstartup

    Credits: The Offensive Security Team and the NetHunter community

    Android Version: 11.0

    XDA: DevDB Information
    Kali Nethunter, Kernel & ROM for the OnePlus One

    Contributors
    @yesimxev

    Source Code: https://gitlab.com/kalilinux/nethunter/
    Kernel Source: https://github.com/yesimxev/android_kernel_oppo_msm8974

    Follow me on Twitter!
    1
    Is this rom activate the HID feature in the kernel ?
    1
    Yes, it also supports Y cable - so use any USB adapters while you charge the phone
    1
    Please show me the last/error lines of /tmp/recovery.log
    Unable to free up 50 mb of space on system!
    Means i need to use other versions twrp or not to flash opengapps before,how can i do please sir
    1

    @yesimxev

    - RTL88XXAU driver added, tested with AWUS1900... any other supported? NH sees my card but nothing shows up wifite and it closes.