Coder Social home page Coder Social logo

ctmcisco / psdecode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prateekkumarsingh/psdecode

0.0 0.0 0.0 2.64 MB

PowerShell based module that can decode System Errors, Exit codes, port numbers, HTTP Statuses and more. This module can be used to quick lookup Error descriptions, to add verbosity to your custom error messages and for a better Error Handling, Investigation and Analysis.

Home Page: https://ridicurious.com/2017/12/14/decoding-errors-http-return-codes-using-powershell/

PowerShell 100.00%

psdecode's Introduction

PSDecode

PowerShell based module that can decode System Errors, Exit codes, port numbers, HTTP Statuses and more. This module can be used to quick lookup Error descriptions, to add verbosity to your custom error messages and for a better Error Handling, Investigation and Analysis. Read more on my blog about this module and how I web scraped the error code data.

Technically the module offers a set of cmdlets that query a database of Error/Exit codes, port numbers, and MAC addresses which totals to 83049 individual records as of now when Iโ€™m writing this.

Type Range Count Comments
System Errors 0-15999 2764 Windows System Errors and Exit Codes
Internet Errors 12000-12175 114 Subset of System Errors
Port Numbers 0-65535 56506 Registered and Unregistered ports
HTTP Status Codes 100-599 63 Status codes - Informational, Success, Redirection, Client/Server Error
MAC Vendor Codes N/A 23602 16754 Manufacturers mapped to 23602 MAC Vendor bits

Use-Case

  • Decode Exit Codes and Windows System errors

  • List all 'Listening' ports and service with description

  • Identify MAC vendors for Network related troubleshooting

  • Adds verbosity to you HTTP requests

Installation

PowerShell V5 and Later

You can install the Gridify module directly from the PowerShell Gallery

  • [Recommended] Install to your personal PowerShell Modules folder
Install-Module PSDecode -scope CurrentUser

  • [Requires Elevation] Install for Everyone (computer PowerShell Modules folder)
Install-Module PSDecode

PowerShell V4 and Earlier

To install to your personal modules folder run:

iex (new-object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/PrateekKumarSingh/PSDecode/master/Install.ps1')

psdecode's People

Contributors

corbob avatar tadas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.