Open akhmed2001 opened 7 years ago
did you install the libfakeioctl.so files to /system/lib?
On Tue, Nov 14, 2017 at 6:11 PM, akhmed2001 notifications@github.com wrote:
While i enter smt like LD_PRELOAD=/system/lib/libfakeioctl.so aireplay-ng --test wlan0, its wrote this ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ioctl(SIOCSIWMODE) failed: Operation not supported ioctl(SIOCSIWMODE) failed: Operation not supported Error setting monitor mode on wlan0
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/nexmon/issues/149#issuecomment-344329325, or mute the thread https://github.com/notifications/unsubscribe-auth/ALP_7gGGljpPbixuC1uvwWazAD9XEErRks5s2cnNgaJpZM4Qdrqg .
-- Matthias Schulz Secure Mobile Networking Lab - SEEMOO
Email: matthias.schulz@seemoo.tu-darmstadt.de Web: http://www.seemoo.de/mschulz Phone (new): +49 6151 16-25478 Fax: +49 6151 16-25471
Department of Computer Science Center for Advanced Security Research Darmstadt Technische Universität Darmstadt Mornewegstr. 32 (Office 4.2.10, Building S4/14) D-64293 Darmstadt, Germany
Yes
It works, if i use android shell, but if i use kali shell, its wrote this mistake
Are you kali root user? are you using nethunter?
I use nethunter
And in nethunter terminal, while u use kali shell, it automaticly log in with su permisions
Agreed it does but you have to remember that the nethunter kali sits on top of android, and the libfakeio.ctl sits and the android layer so that why it works with a android su prompt. All you need to do is make a call from the kali side to the android side for the card to enter monitor mode. I am sure that BB integrated nexmon into the latest NH.
The problem is, that we only support injection on PCI-E connected chips through sending ioctls. To be able to inject on these devices without changing your programs, you need to preload libnexmon.so. Currently, I don't know how to do it with Kali, on Android it works though.
On Wed, Nov 15, 2017 at 2:17 PM, TheD4rkC00d3r notifications@github.com wrote:
Agreed it does but you have to remember that the nethunter kali sits on top of android, and the libfakeio.ctl sits and the android layer so that why it works with a android su prompt. All you need to do is make a call from the kali side to the android side for the card to enter monitor mode. I am sure that BB integrated nexmon into the latest NH.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/nexmon/issues/149#issuecomment-344589309, or mute the thread https://github.com/notifications/unsubscribe-auth/ALP_7u5uXrgtx0Q0RuHu4WIs0ap_sqRdks5s2uRmgaJpZM4Qdrqg .
-- Matthias Schulz Secure Mobile Networking Lab - SEEMOO
Email: matthias.schulz@seemoo.tu-darmstadt.de Web: http://www.seemoo.de/mschulz Phone (new): +49 6151 16-25478 Fax: +49 6151 16-25471
Department of Computer Science Center for Advanced Security Research Darmstadt Technische Universität Darmstadt Mornewegstr. 32 (Office 4.2.10, Building S4/14) D-64293 Darmstadt, Germany
Any news on this issue ?
You have to compile libfakeioctlkali.so in chroot place it outside the chroot /system/lib and get the monstart-nh scripts then run source monstart-nh in Kali the iwconfig to confirm it.Of course this won't work and you will have a hard-bricked phone if you are lucky or else it will damage the ic and the will fry the chipset to crisp
While i enter smt like LD_PRELOAD=/system/lib/libfakeioctl.so aireplay-ng --test wlan0, its wrote this ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/system/lib/libfakeioctl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ioctl(SIOCSIWMODE) failed: Operation not supported ioctl(SIOCSIWMODE) failed: Operation not supported Error setting monitor mode on wlan0