robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
GNU Affero General Public License v3.0
22.97k stars 3.02k forks source link

--readscan produces "unknown file format (expeced "masscan/1.1")" #752

Closed mikedesu closed 3 months ago

mikedesu commented 6 months ago
masscan --version
Masscan version 1.3.2 ( https://github.com/robertdavidgraham/masscan )
Compiled on: Mar  2 2023 21:21:59
Compiler: gcc 11.3.0
OS: Linux
CPU: unknown (64 bits)
GIT version: 1.3.2-54-g144c527

Command ran originally before running into unknown file format:

masscan `cat ips-1 | tr '\n' ','` -p- -oG masscan-2.bin --rate 20
mzpqnxow commented 6 months ago

masscan --version

Masscan version 1.3.2 ( https://github.com/robertdavidgraham/masscan )

Compiled on: Mar  2 2023 21:21:59

Compiler: gcc 11.3.0

OS: Linux

CPU: unknown (64 bits)

GIT version: 1.3.2-54-g144c527

Command ran originally before running into unknown file format:


masscan `cat ips-1 | tr '\n' ','` -p- -oG masscan-2.bin --rate 20

--readscan is only for reading files produced by -oB. You can't --readscan on the greppable (or any other) output formats