Last active
September 5, 2018 22:32
-
-
Save Davidnet/257c3be99e2d6aa3dcc35b2ab07c72f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sh import iw, grep | |
print(grep(iw("wlan0", "scan"), "-P", "\"(^|\s)KiwiNet(?=\s|$)\"", "-B", "2")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment