Advertisement
Guest User

Untitled

a guest
Feb 11th, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. ucode -lnl80211 -e '
  2. nl80211.request(nl80211.const.NL80211_CMD_TRIGGER_SCAN, 0, { dev: "wlan0" });
  3. nl80211.waitfor([ nl80211.const.NL80211_CMD_NEW_SCAN_RESULTS, nl80211.const.NL80211_CMD_SCAN_ABORTED ], 15000);
  4. printf("%.J\n",
  5. nl80211.request(nl80211.const.NL80211_CMD_GET_SCAN, nl80211.const.NLM_F_DUMP, { dev: "wlan0" })
  6. )
  7. '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement