added monstart and monstop scripts

This commit is contained in:
evilsocket 2019-09-24 15:46:33 +02:00
parent 7967594b48
commit 83aef1fc75
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E
2 changed files with 4 additions and 0 deletions
sdcard/rootfs/usr/bin

2
sdcard/rootfs/usr/bin/monstart Executable file

@ -0,0 +1,2 @@
#!/bin/bash
iw phy phy0 interface add mon0 type monitor && ifconfig mon0 up

2
sdcard/rootfs/usr/bin/monstop Executable file

@ -0,0 +1,2 @@
#!/bin/bash
ifconfig mon0 down && iw dev mon0 del