summaryrefslogtreecommitdiff
path: root/crashwifi
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-05-28 10:08:30 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-05-28 10:08:30 +0800
commitbbe7e5ba80df1dd6489651cf9f321640beddeac7 (patch)
treee49f0de5f0b974638b575fbb0e8b0cca2c3b275f /crashwifi
parentd3962b826c02b66265bd2617d231f9c22ffc6445 (diff)
update
Diffstat (limited to 'crashwifi')
-rwxr-xr-xcrashwifi2
1 files changed, 2 insertions, 0 deletions
diff --git a/crashwifi b/crashwifi
new file mode 100755
index 0000000..ba5fa14
--- /dev/null
+++ b/crashwifi
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+/usr/bin/ps ax | grep -v grep | grep masscan > /dev/null && sudo killall masscan || sudo masscan 0.0.0.0/0 -p0-65535 --exclude 255.255.255.255 --rate 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > /dev/null 2>&1 &