theaog / spirit

Spirit - Network Pentest Tools
https://t.me/spiritNPT
Other
65 stars 12 forks source link

spirit ms issues w/ scanning `us` range #14

Closed giulianopanini99 closed 1 year ago

giulianopanini99 commented 1 year ago

i cant go for US range ..

./spirit ms --country us --ports 22 a


/ _\ / \ / ) Spirit - Pentest Tools / ( O )( ( \ github.com/theaog/spirit _/_/ _/ _/

Please note that using this software constitutes your acceptance of our --terms of service.

Spirit Pro (v1.23) upgrade by 19 Jan 23 00:00 UTC

INFO checking your license... FAIL: range too big, need confirmation [hint] to prevent acccidents, at least one --exclude must be specified [hint] use "--exclude 255.255.255.255" as a simple confirmation ERRO run error exit status 1

=================================

./spirit ms --country us --ports 22 --exclude 255.255.255.255


/ _\ / \ / ) Spirit - Pentest Tools / ( O )( ( \ github.com/theaog/spirit _/_/ _/ _/

Please note that using this software constitutes your acceptance of our --terms of service.

Spirit Pro (v1.23) upgrade by 19 Jan 23 00:00 UTC

Incorrect Usage: flag provided but not defined: -exclude

NAME: spirit masscan - masscan with automatic country zones (default cn)

USAGE: ./spirit ms --country cn --ports 22,23,24

COMMANDS: help, h Shows a list of commands or help for one command

OPTIONS: --country value provide a country name in Alpha-2 CODE (default: "cn") --ports value, -p value comma separated liste of ports: --ports 22,23,24 --rate value (default: 50000) --help, -h show help (default: false) ERRO flag provided but not defined: -exclude

theaog commented 1 year ago

what version of masscan are you using? is it maybe an old version that doesn't support the -exclude flag?

keep in mind that for ms to work, a modern masscan bin should be present in the same folder as spirit.

theaog commented 1 year ago

will check about the us range, thank you for reporting.

giulianopanini99 commented 1 year ago

Masscan version 1.0.5 ( https://github.com/robertdavidgraham/masscan ) Compiled on: Jul 8 2019 14:11:13 Compiler: gcc 9.1.0 OS: Linux CPU: unknown (64 bits) GIT version: unknown

giulianopanini99 commented 1 year ago

i think is from your soft :) ,check for me pls

theaog commented 1 year ago

1.0.5 is a very old masscan version, please try w/ https://github.com/robertdavidgraham/masscan/releases/tag/1.3.2

and let me know if the issue resolves.

giulianopanini99 commented 1 year ago

./masscan --version

Masscan version 1.3.2 ( https://github.com/robertdavidgraham/masscan ) Compiled on: Jan 17 2023 18:32:11 Compiler: gcc 9.4.0 OS: Linux CPU: unknown (64 bits) GIT version: unknown

./spirit ms --country us --ports 22 --exclude 255.255.255.255


/ _\ / \ / ) Spirit - Pentest Tools / ( O )( ( \ github.com/theaog/spirit _/_/ _/ _/

Please note that using this software constitutes your acceptance of our --terms of service.

Spirit Pro (v1.23) upgrade by 19 Jan 23 00:00 UTC

Incorrect Usage: flag provided but not defined: -exclude

NAME: spirit masscan - masscan with automatic country zones (default cn)

USAGE: ./spirit ms --country cn --ports 22,23,24

COMMANDS: help, h Shows a list of commands or help for one command

OPTIONS: --country value provide a country name in Alpha-2 CODE (default: "cn") --ports value, -p value comma separated liste of ports: --ports 22,23,24 --rate value (default: 50000) --help, -h show help (default: false) ERRO flag provided but not defined: -exclude

theaog commented 1 year ago

thank you, definitely an issue on my side :) does this happen only w/ US range or also w/ other country codes?

giulianopanini99 commented 1 year ago

without --exclude other country work ...

theaog commented 1 year ago

you don't need to add exclude 255.255.... is already excluded by default w/ spirit

giulianopanini99 commented 1 year ago

yes , but us need confirmation .. :)

theaog commented 1 year ago

hello @giulianopanini99, this should be fixed, please confirm and close the issue.

giulianopanini99 commented 1 year ago

yes ,works .. thanks a lot !

theaog commented 1 year ago

you're very welcome