chrisk44 / Hijacker

Aircrack, Airodump, Aireplay, MDK3 and Reaver GUI Application for Android
GNU General Public License v3.0
2.36k stars 419 forks source link

Beta Issues #4

Closed NetviperZ closed 7 years ago

NetviperZ commented 7 years ago

1- there is an error when checking Chroot directory (and yes my chroot directory is correct) 2-my external adapter ( TL-WN722N ) external adapter is no longer recognized in nethunter chroot after installing this version 3- device reboot randomly when external adapter is plugged

NetviperZ commented 7 years ago

AES encryption was the problem for handshake capture indeed, it worked after i changed it to TKIP, I also want to report that the new version v20 doesnt start at all, it crashes every time, i have uninstalled and reinstalled it multiple times and nothing happens.

AutinMitra commented 7 years ago

@netviperZ I have v.20 working, my only issue Chroot detection.

chrisk44 commented 7 years ago

first of all, there is v1-beta.21... secondly, with clean install everything works for me...

AutinMitra commented 7 years ago

This is slightly off topic... but can somebody host the monstart-nh and monstop-nh scripts? I am using a different rom than nethunterOS and have compiled a kernel that should have chroot monitor mode capabilities on wlan0 (a flash-able zip kind of like the ones from the official nightlies).

chrisk44 commented 7 years ago

This has nothing to do with Hijacker, though i think they are just scripts... just copy paste them from NethunterOS...

AutinMitra commented 7 years ago

Problem is, i don't have NethunterOS, and I dont have the time to flash it today.

NetviperZ commented 7 years ago

i also use a clean install of the last CM 14.1 caf and it still doesn't work with both version v.20 & v.21

chrisk44 commented 7 years ago

busybox?

NetviperZ commented 7 years ago

SuperSu and busybox installed

NetviperZ commented 7 years ago

On other hand it works well with v18

NetviperZ commented 7 years ago

Update: after i uninstalled and reinstalled busybox everything works !

chrisk44 commented 7 years ago

For some reason the busybox installer sometimes doesn't actually install it.. I don't know why...

NetviperZ commented 7 years ago

I have done several tests to understand what really happens, everytime i install hijacker i have to reinstall busybox just after to replace some files, otherwise hijacker hangs to infinity

chrisk44 commented 7 years ago

Hijacker doesn't change anything with busybox

NetviperZ commented 7 years ago

However after it replaces some old files everything works again

chrisk44 commented 7 years ago

I'll just include busybox to get this over with....

chrisk44 commented 7 years ago

I fixed that hanging issue without busybox, i'll restore my factory image to test on android 6 to see if I can fix that crashing issue, and I'll upload an update.

NetviperZ commented 7 years ago

I also have to report the little problem with SSID file path

chrisk44 commented 7 years ago

in beacon flooding? what's wrong with it?

NetviperZ commented 7 years ago

add an android:text .. with the same hint

chrisk44 commented 7 years ago

i want the text to be a hint so you can just start writing without having to delete text... otherwise everytime you want beacon flooding you'd have to erase the text, or you'd get an error because the file is not found.

NetviperZ commented 7 years ago

The problem is that you must each time enter the same path, otherwise the path is not saved afer

NetviperZ commented 7 years ago

And The path could be ignored if it does not exist

chrisk44 commented 7 years ago

i'll make it save the path until you close the app.

NetviperZ commented 7 years ago

Yeah that will be great !

AutinMitra commented 7 years ago

Good news! I have working Chroot detection! I have compiled a kernel that will work on nougat ROMs (not CM, but I can compile one for that) for the Nexus 5, with working wlan0 injection in Chroot. Right now I am creating the package, and I will start a pull request soon

AutinMitra commented 7 years ago

There's a problem with the app, where it just runs "monstart-nh" not "source monstart-nh".

NetviperZ commented 7 years ago

with v22?

chrisk44 commented 7 years ago

Yes, the monstart-nh thing is my mistake, will fix it. About the kernel, does it fully support nethunter? what do you change in the kernel to make it compatible?

AutinMitra commented 7 years ago

Yes. I am finishing up the kernel right know, and you can be an early tester if you want to be.

AutinMitra commented 7 years ago

It fully supports nethunter. It's actually your kernel with the proper patches for wlan0 in chroot.

chrisk44 commented 7 years ago

what patches?

AutinMitra commented 7 years ago

https://github.com/seemoo-lab/bcm-public/blob/90bed6e1c3ad70ddc23ccf44033b152e0db300b6/kernel_patches/40mhz_channels_5GHz.patch

chrisk44 commented 7 years ago

just this patch and you have injection in chroot?

AutinMitra commented 7 years ago

Yes

chrisk44 commented 7 years ago

nice, i'll patch it...

AutinMitra commented 7 years ago

You need to install nexutil, monstart-nh, libfakeioctlkali, and monstop-nh in /system/xbin Airodump-ng gives a kernel panic without the patch, while injection still works.

chrisk44 commented 7 years ago

nvm, i won't touch this because it's for nethunter... but I may try yours...

NetviperZ commented 7 years ago

@AutinDroid did tools like pixie work properly with this patch ?

AutinMitra commented 7 years ago

I haven't checked, but airodump-ng causes a crash. I will try to find the reason.

NetviperZ commented 7 years ago

try with a different airodump binary

AutinMitra commented 7 years ago

In chroot

AutinMitra commented 7 years ago

I believe it's a problem with the kernel, and I am trying to get assistance from the nexmon devs.

chrisk44 commented 7 years ago

I think that the kernel that comes with nethunteros has more tweeks than just one patch to support this. See if you can get that kernel and just use it on normal cm14.1caf....

AutinMitra commented 7 years ago

I want to make the kernel work on aosp, not caf or cm.

chrisk44 commented 7 years ago

normal cm is based on aosp

AutinMitra commented 7 years ago

Good news! I got the kernel to work! I will upload the source and will need help with testing (pretty unstable).

AutinMitra commented 7 years ago

It has wlan0 Chroot injection working for AOSP based ROMs.

AutinMitra commented 7 years ago

Here is the package I have created: https://github.com/AutinDroid/HammerheadMon-Kernel/releases/tag/v0.1 There may be a nightly release of it. Also, please read the notes for further instructions.

chrisk44 commented 7 years ago

Did you stop using the app or you just haven't found any bugs?