Skip to content

Commit

Permalink
Merge pull request #67 from Killeroo/dev
Browse files Browse the repository at this point in the history
v1.2.0
  • Loading branch information
Killeroo authored Nov 11, 2017
2 parents f81ef5c + f6922b0 commit b59bb87
Show file tree
Hide file tree
Showing 22 changed files with 344 additions and 88 deletions.
2 changes: 1 addition & 1 deletion PowerPing.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerPing", "PowerPing\PowerPing.csproj", "{11872751-7592-42AE-9E9F-DBA96E1FC2D3}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerPing", "src\PowerPing.Net45\PowerPing.csproj", "{11872751-7592-42AE-9E9F-DBA96E1FC2D3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3A8D89A7-733B-4B99-8F3C-F47B720058B4}"
ProjectSection(SolutionItems) = preProject
Expand Down
9 changes: 0 additions & 9 deletions PowerPing/PowerPing.csproj.user

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PowerPing - Advanced Windows Ping

[![version](https://img.shields.io/badge/version-1.1.9-brightgreen.svg)]() ![maintained](https://img.shields.io/maintenance/yes/2017.svg) ![](http://img.badgesize.io/Killeroo/PowerPing/master/build/PowerPing.exe.svg)
[![version](https://img.shields.io/badge/version-1.2.0-brightgreen.svg)]() ![maintained](https://img.shields.io/maintenance/yes/2017.svg) ![](http://img.badgesize.io/Killeroo/PowerPing/master/build/PowerPing.exe.svg)

Small improved command line ICMP ping program lovingly inspired by windows and linux, written in C#.

Expand Down Expand Up @@ -36,6 +36,7 @@ PowerPing contains the following features (with more to come...):
--examples [--ex] Shows example usage
--infinite [--t] Ping the target until stopped (Control-C to stop)
--displaymsg [--dm] Display ICMP messages
--request [--r] Show request packets
--shorthand [--sh] Show less detailed replies
--nocolor [--nc] No colour
--noinput [--ni] Require no user input
Expand Down
Binary file modified build/PowerPing.exe
Binary file not shown.
209 changes: 161 additions & 48 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,68 @@
# PowerPing - Advanced Windows Ping

[![version](https://img.shields.io/badge/version-1.1.8-green.svg)]() ![maintained](https://img.shields.io/maintenance/yes/2017.svg) ![](http://img.badgesize.io/Killeroo/PowerPing/master/build/PowerPing.exe.svg)
[![version](https://img.shields.io/badge/version-1.2.0-brightgreen.svg)]() ![maintained](https://img.shields.io/maintenance/yes/2017.svg) ![](http://img.badgesize.io/Killeroo/PowerPing/master/build/PowerPing.exe.svg)

Small improved command line ICMP ping program lovingly inspired by windows and unix, written in C#.
Small improved command line ICMP ping program lovingly inspired by windows and linux, written in C#.

Download it here: [[Current Build]](https://github.com/Killeroo/PowerPing/tree/master/build) [[Github]](https://github.com/Killeroo/PowerPing/releases) [[Softpedia]](http://www.softpedia.com/progDownload/PowerPing-Download-255701.html)
Download it here: [[Current Build]](https://github.com/Killeroo/PowerPing/tree/master/build) [[Development Build]](https://github.com/Killeroo/PowerPing/blob/dev/build/PowerPing.exe) [[Github]](https://github.com/Killeroo/PowerPing/releases) [[Softpedia]](http://www.softpedia.com/progDownload/PowerPing-Download-255701.html)
***
![](https://github.com/killeroo/PowerPing/Screenshots/readme_screenshot.png "PowerPing in action")
![alt text](docs/screenshots/readme_screenshot.png "PowerPing in action")

## Features

PowerPing contains the following features (with more to come...):

- [x] Basic ping functionality
- [x] Coloured output
- [x] Display options
- [x] [packet customisation](https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages)
- [x] [scanning](https://en.wikipedia.org/wiki/Ping_sweep)
- [x] [flooding](https://en.wikipedia.org/wiki/Ping_flood)
- [x] [packet capture (listening)](docs/screenshots/readme_screenshot3.png)
- [x] [location lookup](docs/screenshots/readme_screenshot4.png)
- [x] [graphing](docs/screenshots/readme_screenshot2.png)
- [ ] [traceroute](https://en.wikipedia.org/wiki/Traceroute)
- [ ] [tunnelling](https://en.wikipedia.org/wiki/ICMP_tunnel)
- [ ] [IPv6/icmpv6](https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_version_6)

## Usage:
PowerPing [--?] | [--li] | [--whoami] | [--loc] | [--g] | [--cg] | [--fl] |
PowerPing [--?] | [--li] | [--whoami] | [--loc] | [--g] | [--cg] | [--sc] | [--fl] |
[--t] [--c count] [--w timeout] [--m message] [--i TTL] [--in interval]
[--pt type] [--pc code] [--dm] [--4] [--sh] [--nc] [--ti timing] target_name
[--pt type] [--pc code] [--dm] [--4] [--sh] [--nc] [--ts] [--ti timing] target_name

## Arguments:
--? Displays this help message
--t Ping the target until stopped (Control-C to stop)
--c count Number of pings to send
--w timeout Time to wait for reply (in milliseconds)
--m message Ping packet message
--i ttl Time To Live
--in interval Interval between each ping (in milliseconds)
--pt type Use custom ICMP type
--pc code use custom ICMP code value
--dm Display ICMP messages
--4 Force using IPv4
--sh Show less detailed replies
--nc No colour
--ti timing Timing level:
0 - Paranoid 4 - Nimble
1 - Sneaky 5 - Speedy
2 - Quiet 6 - Insane
3 - Polite
Options:
--help [--?] Displays this help message
--examples [--ex] Shows example usage
--infinite [--t] Ping the target until stopped (Control-C to stop)
--displaymsg [--dm] Display ICMP messages
--request [--r] Show request packets
--shorthand [--sh] Show less detailed replies
--nocolor [--nc] No colour
--noinput [--ni] Require no user input
--timestamp [--ts] Display timestamp
--decimals [--dp] number Num of decimal places to use (0 to 3)
--count [--c] number Number of pings to send
--timeout [--w] number Time to wait for reply (in milliseconds)
--ttl [--i] number Time To Live
--interval [--in] number Interval between each ping (in milliseconds)
--type [--pt] number Use custom ICMP type
--code [--pc] number Use custom ICMP code value
--message [--m] message Ping packet message
--timing [--ti] timing Timing levels:
0 - Paranoid 4 - Nimble
1 - Sneaky 5 - Speedy
2 - Quiet 6 - Insane
3 - Polite
--li Listen for ICMP packets
--fl Send high volume of ICMP packets to address
--g Graph view
--cg Compact graph view
--loc Location info for an address
--whoami Location info for current host
Features:
--scan [--sc] address Network scanning, specify range "127.0.0.1-55"
--listen [--li] address Listen for ICMP packets
--flood [--fl] address Send high volume of pings to address
--graph [--g] address Graph view
--compact [--cg] address Compact graph view
--location [--loc] address Location info for an address
--whoami Location info for current host

## Examples:
powerping 8.8.8.8 - Send ping to google DNS with default values (3000ms timeout, 5 pings)
Expand All @@ -47,29 +71,118 @@ Download it here: [[Current Build]](https://github.com/Killeroo/PowerPing/tree/m
powerping 127.0.0.1 --m Meow - Send ping with packet message "Meow" to loopback address
powerping 127.0.0.1 --pt 3 --pc 2 - Send ping with ICMP type 3 (dest unreachable) and code 2
powerping 8.8.8.8 /c 5 -w 500 --sh - Different argument switches (/, - or --) can be used in any combination
powerping google.com /ti Paranoid - Sends using the 'Paranoid' timing option
powerping google.com /ti 1 - Same as above
powerping 8.8.8.8 /c 5 -w 500 --sh - Different argument switches (/, - or --) can be used in any combination
powerping google.com /ti Paranoid - Sends using the 'Paranoid' timing option
powerping google.com /ti 1 - Same as above

## Screenshots

![alt text](docs/screenshots/readme_screenshot2.png "Powerping Graph view")
![alt text](docs/screenshots/readme_screenshot3.png "Powerping Listening")
![alt text](docs/screenshots/readme_screenshot4.png "Location functions") ![alt text](docs/screenshots/readme_screenshot5.png "PowerPing stress testing")

## Contribution

Feel free to [file issues or request features](https://github.com/Killeroo/PowerPing/issues) and submit [pull requests](https://github.com/Killeroo/PowerPing/pulls) – contributions are welcome.

## License

PowerPing is licensed under the [MIT license](LICENSE).

### Note:
**Requires _Elevated Rights (Admininstrator)_ to Run**

*Written by Matthew Carney [[email protected]] =^-^=*
# PowerPing - Advanced Windows Ping

[![version](https://img.shields.io/badge/version-1.1.9-brightgreen.svg)]() ![maintained](https://img.shields.io/maintenance/yes/2017.svg) ![](http://img.badgesize.io/Killeroo/PowerPing/master/build/PowerPing.exe.svg)

Small improved command line ICMP ping program lovingly inspired by windows and linux, written in C#.

Download it here: [[Current Build]](https://github.com/Killeroo/PowerPing/tree/master/build) [[Development Build]](https://github.com/Killeroo/PowerPing/blob/dev/build/PowerPing.exe) [[Github]](https://github.com/Killeroo/PowerPing/releases) [[Softpedia]](http://www.softpedia.com/progDownload/PowerPing-Download-255701.html)
***
![alt text](docs/screenshots/readme_screenshot.png "PowerPing in action")

## Features

- [x] Colour coded response times
- [x] Displays type and code of each ICMP packets
- [x] Capture all ICMP communications for a computer
- [x] Customisable ping payloads
- [x] Detailed graph and statistical views
- [x] IP location querying and whoami
- [x] Send pings with custom types and size
- [x] Ping flooding
- [ ] Local network scanning and host discovery
- [ ] Trace route functionality
- [ ] Full IPv6 support
PowerPing contains the following features (with more to come...):

- [x] Basic ping functionality
- [x] Coloured output
- [x] Display options
- [x] [packet customisation](https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages)
- [x] [scanning](https://en.wikipedia.org/wiki/Ping_sweep)
- [x] [flooding](https://en.wikipedia.org/wiki/Ping_flood)
- [x] [packet capture (listening)](docs/screenshots/readme_screenshot3.png)
- [x] [location lookup](docs/screenshots/readme_screenshot4.png)
- [x] [graphing](docs/screenshots/readme_screenshot2.png)
- [ ] [traceroute](https://en.wikipedia.org/wiki/Traceroute)
- [ ] [tunnelling](https://en.wikipedia.org/wiki/ICMP_tunnel)
- [ ] [IPv6/icmpv6](https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_version_6)

## Usage:
PowerPing [--?] | [--li] | [--whoami] | [--loc] | [--g] | [--cg] | [--sc] | [--fl] |
[--t] [--c count] [--w timeout] [--m message] [--i TTL] [--in interval]
[--pt type] [--pc code] [--dm] [--4] [--sh] [--nc] [--ts] [--ti timing] target_name

## Arguments:
Options:
--help [--?] Displays this help message
--examples [--ex] Shows example usage
--infinite [--t] Ping the target until stopped (Control-C to stop)
--displaymsg [--dm] Display ICMP messages
--request [--r] Show request packets
--shorthand [--sh] Show less detailed replies
--nocolor [--nc] No colour
--noinput [--ni] Require no user input
--timestamp [--ts] Display timestamp
--decimals [--dp] number Num of decimal places to use (0 to 3)
--count [--c] number Number of pings to send
--timeout [--w] number Time to wait for reply (in milliseconds)
--ttl [--i] number Time To Live
--interval [--in] number Interval between each ping (in milliseconds)
--type [--pt] number Use custom ICMP type
--code [--pc] number Use custom ICMP code value
--message [--m] message Ping packet message
--timing [--ti] timing Timing levels:
0 - Paranoid 4 - Nimble
1 - Sneaky 5 - Speedy
2 - Quiet 6 - Insane
3 - Polite
Features:
--scan [--sc] address Network scanning, specify range "127.0.0.1-55"
--listen [--li] address Listen for ICMP packets
--flood [--fl] address Send high volume of pings to address
--graph [--g] address Graph view
--compact [--cg] address Compact graph view
--location [--loc] address Location info for an address
--whoami Location info for current host

## Examples:
powerping 8.8.8.8 - Send ping to google DNS with default values (3000ms timeout, 5 pings)
powerping github.com --w 500 --t - Send pings indefinitely to github.com with a 500ms timeout
powerping 127.0.0.1 --m Meow - Send ping with packet message "Meow" to loopback address
powerping 127.0.0.1 --pt 3 --pc 2 - Send ping with ICMP type 3 (dest unreachable) and code 2
powerping 8.8.8.8 /c 5 -w 500 --sh - Different argument switches (/, - or --) can be used in any combination
powerping google.com /ti Paranoid - Sends using the 'Paranoid' timing option
powerping google.com /ti 1 - Same as above

## Screenshots

![](https://github.com/killeroo/PowerPing/Screenshots/readme_screenshot2.png "Powerping Graph view")
![](https://github.com/killeroo/PowerPing/Screenshots/readme_screenshot3.png "Powerping Listening")
![](https://github.com/killeroo/PowerPing/Screenshots/readme_screenshot4.png "Location functions") ![alt text](Screenshots/readme_screenshot5.png "PowerPing stress testing")
![alt text](docs/screenshots/readme_screenshot2.png "Powerping Graph view")
![alt text](docs/screenshots/readme_screenshot3.png "Powerping Listening")
![alt text](docs/screenshots/readme_screenshot4.png "Location functions") ![alt text](docs/screenshots/readme_screenshot5.png "PowerPing stress testing")

## Contribution

Feel free to [file issues or request features](https://github.com/Killeroo/PowerPing/issues) and submit [pull requests](https://github.com/Killeroo/PowerPing/pulls) – contributions are welcome.

## License

PowerPing is licensed under the [MIT license](LICENSE).

### Note:
**Requires _Elevated Rights (Admininstrator)_ to Run**
Expand Down
28 changes: 14 additions & 14 deletions PowerPing/PowerPing.csproj → src/PowerPing.Net45/PowerPing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\build\</OutputPath>
<OutputPath>..\..\build\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>
</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
<ApplicationManifest>..\PowerPing\Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -46,22 +46,22 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Display.cs" />
<Compile Include="Exceptions.cs" />
<Compile Include="Graph.cs" />
<Compile Include="ICMP.cs" />
<Compile Include="Helper.cs" />
<Compile Include="Ping.cs" />
<Compile Include="PingAttributes.cs" />
<Compile Include="PingResults.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="..\PowerPing\Display.cs" />
<Compile Include="..\PowerPing\Exceptions.cs" />
<Compile Include="..\PowerPing\Graph.cs" />
<Compile Include="..\PowerPing\ICMP.cs" />
<Compile Include="..\PowerPing\Helper.cs" />
<Compile Include="..\PowerPing\Ping.cs" />
<Compile Include="..\PowerPing\PingAttributes.cs" />
<Compile Include="..\PowerPing\PingResults.cs" />
<Compile Include="..\PowerPing\Program.cs" />
<Compile Include="..\PowerPing\Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Properties\App.config">
<None Include="..\PowerPing\Properties\App.config">
<SubType>Designer</SubType>
</None>
<None Include="Properties\app.manifest">
<None Include="..\PowerPing\Properties\app.manifest">
<SubType>Designer</SubType>
</None>
</ItemGroup>
Expand Down
28 changes: 28 additions & 0 deletions src/PowerPing/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceRoot}/bin/Debug/netcoreapp2.0/PowerPing.dll",
"args": [],
"cwd": "${workspaceRoot}",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
16 changes: 16 additions & 0 deletions src/PowerPing/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "build",
"args": [
"${workspaceRoot}/PowerPing.csproj"
],
"isBuildCommand": true,
"problemMatcher": "$msCompile"
}
]
}
Loading

0 comments on commit b59bb87

Please sign in to comment.