Hijacker icon indicating copy to clipboard operation
Hijacker copied to clipboard

Latest version not working

Open yesimxev opened this issue 6 years ago • 10 comments

Current Behavior

The app is not scanning anything with airodump-ng.

Expected Behavior

The app should show APs as the 1.4 stable shows.

Detailed steps to reproduce the problem

  1. No nexmon, Oneplus1 with external adapter
  2. Open the app with monitor mode wlan1 enabled and edit settings to use wlan1
  3. Delete the monitor start and stop commands, add chroot folder
  4. scan for APs with airodump.
  5. airodump-ng does not stop even in version 1.4

Device details

  • ROM, Android version CM13.1.2, not nethunterOS, but NH
  • Other OS-related info - Binkybear kernel
  • App version latest, and 1.4
  • Installed firmware (by yourself or with the app?) Not nexmon

yesimxev avatar Nov 04 '18 22:11 yesimxev

So, to be clear, version 1.4 used to work but wouldn't stop airodump, and 1.5-beta.8 nothing works? What do the tests show? What happens if you copy the commands and run them manually in a terminal?

chrisk44 avatar Nov 05 '18 09:11 chrisk44

Yes, you are right, latest does not want to do anything. Airodump-ng becomes unstoppable only when mdk3 ran (so MDK3 beacon flooding does not stop to be exact, but it says airodump-ng is still running). On it's own, airodump-ng can start and stop properly. Tests are all ok with ticks, manual commands are fine too (mdk3 terminates, without error, I guess it's fine because of the example AP mac?)

yesimxev avatar Nov 05 '18 10:11 yesimxev

MDK and airodump are completely irrelevant. Using the latest version, what happens when you run the airodump test command in the terminal?

And do you know at what point it stopped working? There have been 8 releases since 1.4 so it would be helpful if I knew where to look.

chrisk44 avatar Nov 05 '18 12:11 chrisk44

I will try each but I got extremely busy now. Thanks

yesimxev avatar Dec 28 '18 21:12 yesimxev

I'm trying to reproduce this problem since I also have A0001. May I know what wireless network adapter are you using?

sitedev3 avatar Mar 17 '19 04:03 sitedev3

Using Alfa Networks AWUS036NH, also tried with "chinese adapter for kali". I have re-flashed my OPO so will go through this issue finally

yesimxev avatar Mar 17 '19 07:03 yesimxev

App when open say : hijacker is infected. and not open?

rusamer avatar May 08 '19 16:05 rusamer

The command you requested gives this in androidsu

CANNOT LINK EXECUTABLE: library "/vendor/lib/libfakeioctl.so" not found page record for 0xb6eeb02c was not found (block_size=32)

Also checking which versions affected with the following message Screenshot_20190520-010414

yesimxev avatar May 19 '19 23:05 yesimxev

Looks like that issue is there in every release after 1.4. However, I did not compile the ones without apk

FYI, airodump does stop properly on my S6edge, with same adapter but with 1.5-beta7. 1.5-beta8 is still not scanning at all, same error message

yesimxev avatar May 19 '19 23:05 yesimxev

@yesimxev
With the Nethuner rootfs intstalled you could just use the airmon-ng to manage your external adapter

Try to configure the preferences of the Hijacker as following:

- set prefix to blank if there is no nexmon. (I suppose this is the reason of the issue.The default is LD_PRELOAD=/vendor/lib/libfakeioctl.so)

- set interface to wlan1mon

- set Enable Monitor Mode to

chroot /data/local/nhsystem/kali-armhf/ /bin/bash -c "airmon-ng start wlan1"

- set Disable Monitor Mode to

chroot /data/local/nhsystem/kali-armhf/ /bin/bash -c "airmon-ng stop wlan1mon"

And I turn off the Run Airodump on startup option in case the app crashes before I go to the setting Menu 😂


Btw to save your time you could just replace the configuration file com.hijacker_preferences.xml with mine😋.

It's at /path/to/appdata/com.hijacker/shared_prefs/com.hijacker_preferences.xml

bullhead:/ # cat /data/user/0/com.hijacker/shared_prefs/com.hijacker_preferences.xml
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
    <boolean name="airOnStartup" value="false" />
    <boolean name="delete_extra" value="true" />
    <boolean name="cont_on_fail" value="false" />
    <boolean name="debug" value="true" />
    <boolean name="monstart" value="false" />
    <boolean name="show_details" value="true" />
    <string name="prefix"></string>
    <string name="enable_monMode">chroot /data/local/nhsystem/kali-armhf/ /bin/bash -c "airmon-ng start wlan1"</string>
    <boolean name="show_client_count" value="true" />
    <string name="disable_monMode">chroot /data/local/nhsystem/kali-armhf/ /bin/bash -c "airmon-ng stop wlan1mon"</string>
    <string name="deauthWait">20</string>
    <string name="iface">wlan1mon</string>
    <boolean name="enable_on_airodump" value="true" />
    <boolean name="watchdog" value="true" />
    <boolean name="update_on_startup" value="true" />
    <string name="chroot_dir">/data/local/nhsystem/kali-armhf</string>
    <string name="custom_chroot_cmd"></string>
    <boolean name="always_cap" value="false" />
    <int name="tools_version" value="32" />
    <boolean name="disclaimerAccepted" value="true" />
    <string name="band">1</string>
    <boolean name="target_deauth" value="false" />
    <boolean name="show_notif" value="true" />
</map>
bullhead:/ #

S-Ex1t avatar Jun 09 '19 12:06 S-Ex1t