Skip to content

Commit 6bbbe2c

Browse files
committed
masscan 的引号标错了位置
1 parent d7eb442 commit 6bbbe2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ optional arguments:
113113

114114
+ First, use masscan to scan the surviving host on port 80 or 8000-8008 (you sure can change the port anything else if you want): `masscan -p80,8000-8008 -iL INPUT -oL OUTPUT --rate 8000`
115115

116-
+ After masscan is done, sort out the result file: `grep 'open' OUTPUT | awk '{printf"%s:%s\n", $4, $3} > input'`
116+
+ After masscan is done, sort out the result file: `grep 'open' OUTPUT | awk '{printf"%s:%s\n", $4, $3}' > input`
117117

118118
+ Then: `python run_ingram.py -i input -o output`
119119

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ optional arguments:
116116

117117
+ 这里以 masscan 为例简单演示一下(masscan 的详细用法这里不再赘述),首先用 masscan 扫描 80 或 8000-8008 端口存活的主机:`masscan -p80,8000-8008 -iL 目标文件 -oL 结果文件 --rate 8000`
118118

119-
+ masscan 运行完之后,将结果文件整理一下:`grep 'open' 结果文件 | awk '{printf"%s:%s\n", $4, $3} > targets.txt'`
119+
+ masscan 运行完之后,将结果文件整理一下:`grep 'open' 结果文件 | awk '{printf"%s:%s\n", $4, $3}' > targets.txt`
120120

121121
+ 之后对这些主机进行扫描:`python run_ingram.py -i targets.txt -o out`
122122

0 commit comments

Comments
 (0)