arismelachroinos / lscript

The LAZY script will make your life easier, and of course faster.
GNU General Public License v3.0
4.06k stars 1.08k forks source link

Monitor mode is not enabled thought It looks like it is enabled #309

Open JustVladKaz opened 3 years ago

JustVladKaz commented 3 years ago

Describe the bug In handshake mode (10th in LAZY script) I can't enable Monitor mode.

To Reproduce Steps to reproduce the behavior: 1) i enter 10 in LAZY script menu 2) then write "yes" 3) my network sets to disable mode, but it is expected: image 4) then some lines of code executed and again i see the same message: Monitor mode is not enabled Do you want to enable monitor mode? (...): 5) so what??? if i enter yes/y/YES it the problem still exist...

Expected behavior just enable monitor mode and go forward

Screenshots image image *here a catch a moment with executed lines

Output of cat /etc/os-release 2021 - kali version

Output of whoami root

JustVladKaz commented 3 years ago

@arismelachroinos

JustVladKaz commented 3 years ago

I guess problem is here: image

JustVladKaz commented 3 years ago

Who know this programming language or what is it... help pls

JustVladKaz commented 3 years ago

UPD: I find solution. I my case I have Macbook Pro A1286.

As I understand usually people can see wlan0, when monitor mode is disabled and wlan0mon when monitor mode is enabled.

So to speak it my case, when I activate monitor mode -> name of my wireless adapter does not change. So I still have a wlan0 in monitor mode instead of wlan0mon. *You can check it: ifconfig wlan0 down iwconfog wlan0 mode monitor ifconfig wlan0 up iwconfig

then check your mode -> photo_2021-05-13_18-14-57

then try command: sudo airmon-ng start wlan0mon IF YOU CAN SEE requested device "wlan0mon" does not exist, YOU CAN APPLY SOLUTION BELOW: next steps as root!!!!

cd /root/lscript/l interface y wlan0 wlan0 eth0 press enter

Congrats!!!))