Skip to content

Instantly share code, notes, and snippets.

@ertush
Last active April 12, 2020 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ertush/68e650d90df71ee75c4b6411674cf482 to your computer and use it in GitHub Desktop.
Save ertush/68e650d90df71ee75c4b6411674cf482 to your computer and use it in GitHub Desktop.
ping_scan module release notes

Ping Scan Wiki

About the tool

Ping Scan is a module that allows you to ping a range of addresses at one go and can be used alongside other programs like nmap by through pipe ridirection. It is much faster than nmap when ping a range of IPs or hostnames and offers you extra statistics on the ping results. Below is an example of the output to expect

Name           Value
----           -----
Num_alive_host 30
Host_alive     {192.168.8.62, 192.168.8.44, 192.168.8.34, 192.168.8.48…}
Localhost      192.168.27.182
Host_scanned   60

The output is basically a hashmap object with key value pairs fields. In future versions of ping scan module, there will be support for saving results to a file in any of the following formats i.e json or yaml. The app will also support config files and accept input read from files

Motivation

The inspiration that lead me to create this tool is, the fact that I was trying to get a grasp of how many machines in my school network are usually 'alive' whether on idle state or actively being used; at any given point in time. I tried using nmap to scan 100 hosts and it took too long. I though why not build a fast tool which would be more effective. I know there are other alternatives to this, like angryIP and others but I couldnt find anything command line base other than nmap.

Support

If for some reason the module doesn't work after installing try

import-module -Path ${env:ProgramFiles(x86)}\WindowsPowerShell\Modules\ping_scan\<version>\ping_scan.psm1

where 'version' is 0.1.2 or 0.0.1. For any questions please find my email below.

Contribution

Anyone willing to cheap in is welcome; Please find my email

(c) Eric Mutua 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment