macfromip@1.0.1

On given an IP Address, will attempt to identify that IP's MAC address.

  • latest version

    1.1.1

  • first published

    11 years ago

  • latest version published

    11 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the macfromip package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Command Injection

    macfromip is a module that gets a MAC address from a LAN IP address

    Affected versions of this package are vulnerable to Command Injection. The injection points are located in lines 66 and 96 in macfromip.js.

    PoC

    var a = require("macfromip");
    a.getMacInLinux("& touch JHU", function(){});
    a.getMacInWin32("& touch JHU2 &", function(){});
    

    How to fix Command Injection?

    There is no fixed version for macfromip.

    *