Skip to content

liuxin231/magic-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magic-scanner

Smaller, faster full port scanning!

show help

./magic-scanner -h
Usage: magic-scanner [OPTIONS] --address <ADDRESS>

Options:
  -a, --address <ADDRESS>  work address, accept ip, subnet mask, ip segment./n
      --ping               whether to ping before work
  -p, --ports <PORTS>      work port, accept port, port range
  -h, --help               Print help
  -V, --version            Print version

running scan

./magic-scnner -a 127.0.0.1 -p 1-10,21,30-40,3306
2023-03-24T09:36:29.439988Z  INFO magic_scanner:  __  __          _____ _____ _____  _____  _____          _   _ _   _ ______ _____  
2023-03-24T09:36:29.440512Z  INFO magic_scanner: |  \/  |   /\   / ____|_   _/ ____|/ ____|/ ____|   /\   | \ | | \ | |  ____|  __ \ 
2023-03-24T09:36:29.444735Z  INFO magic_scanner: | \  / |  /  \ | |  __  | || |    | (___ | |       /  \  |  \| |  \| | |__  | |__) |
2023-03-24T09:36:29.447353Z  INFO magic_scanner: | |\/| | / /\ \| | |_ | | || |     \___ \| |      / /\ \ | . ` | . ` |  __| |  _  / 
2023-03-24T09:36:29.451165Z  INFO magic_scanner: | |  | |/ ____ \ |__| |_| || |____ ____) | |____ / ____ \| |\  | |\  | |____| | \ \ 
2023-03-24T09:36:29.453484Z  INFO magic_scanner: |_|  |_/_/    \_\_____|_____\_____|_____/ \_____/_/    \_\_| \_|_| \_|______|_|  \_\
2023-03-24T09:36:29.472005Z  INFO magic_scanner: address: {127.0.0.1}
2023-03-24T09:36:29.472134Z  INFO magic_scanner: ports size: 23
2023-03-26T15:12:29.303811Z  INFO magic_scanner::scanner: 127.0.0.1:3306 [TCP|mysql|5.7.9]
2023-03-26T15:12:29.304707Z  INFO magic_scanner::scanner: 127.0.0.1:21 [TCP|ftp|*]
2023-03-24T09:36:29.481638Z  INFO magic_scanner::scanner: run scan socket finished.
2023-03-24T09:36:29.481664Z  INFO magic_scanner: running end.