We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7fce2 commit 0fc01c2Copy full SHA for 0fc01c2
tools/network/masscan-wrapper.sh
@@ -1,9 +1,7 @@
1
-#!/bin/bash
2
-# Masscan Wrapper - 516 Hackers Toolkit
3
4
set -e
5
6
-LOG_DIR="../../logs"
+LOG_DIR="./logs"
7
mkdir -p "$LOG_DIR"
8
LOG_FILE="$LOG_DIR/masscan_$(date +%Y%m%d_%H%M%S).log"
9
@@ -18,8 +16,9 @@ if ! command -v masscan &> /dev/null; then
18
16
fi
19
17
20
if [ $# -lt 1 ]; then
21
- echo "Usage: $0 <target> [ports]"
+ echo "Usage: $0 <target> [ports] [rate]"
22
echo "Example: $0 192.168.1.0/24 1-1000"
+ echo "Example: $0 192.168.1.0/24 80,443,22 1000"
23
exit 1
24
25
0 commit comments