nmap is a PHP wrapper for Nmap.

Related tags

Miscellaneous nmap
Overview

nmap

nmap is a PHP wrapper for Nmap, a free security scanner for network exploration.

Build Status

Usage

use Nmap\Nmap;

$hosts = Nmap::create()->scan([ 'williamdurand.fr' ]);

$ports = $hosts->getOpenPorts();

You can specify the ports you want to scan:

$nmap = new Nmap();

$nmap->scan([ 'williamdurand.fr' ], [ 21, 22, 80 ]);

OS detection and Service Info are disabled by default, if you want to enable them, use the enableOsDetection() and/or enableServiceInfo() methods:

$nmap
    ->enableOsDetection()
    ->scan([ 'williamdurand.fr' ]);

$nmap
    ->enableServiceInfo()
    ->scan([ 'williamdurand.fr' ]);

// Fluent interface!
$nmap
    ->enableOsDetection()
    ->enableServiceInfo()
    ->scan([ 'williamdurand.fr' ]);

Turn the verbose mode by using the enableVerbose() method:

$nmap
    ->enableVerbose()
    ->scan([ 'williamdurand.fr' ]);

For some reasons, you might want to disable port scan, that is why nmap provides a disablePortScan() method:

$nmap
    ->disablePortScan()
    ->scan([ 'williamdurand.fr' ]);

You can also disable the reverse DNS resolution with disableReverseDNS():

$nmap
    ->disableReverseDNS()
    ->scan([ 'williamdurand.fr' ]);

You can define the process timeout (default to 60 seconds) with setTimeout():

$nmap
    ->setTimeout(120)
    ->scan([ 'williamdurand.fr' ]);

Installation

The recommended way to install nmap is through Composer:

{
    "require": {
        "willdurand/nmap": "@stable"
    }
}

Or:

composer require willdurand/nmap

Protip: you should browse the willdurand/nmap page to choose a stable version to use, avoid the @stable meta constraint.

License

nmap is released under the MIT License. See the bundled LICENSE file for details.

Comments
  • Nmap is not working in laravel

    Nmap is not working in laravel

    Failed to execute "nmap -h" 'nmap' is not recognized as an internal or external command, operable program or batch file.

    (1/1) RuntimeExceptionFailed to execute "nmap -h"'nmap' is not recognized as an internal or external command,operable program or batch file.

    in ProcessExecutor.php line 31 at ProcessExecutor->execute('nmap -h')in Nmap.php line 62 at Nmap->__construct()in Nmap.php line 45 at Nmap::create()in UserController.php line 22 at UserController->index() at call_user_func_array(array(object(UserController), 'index'), array())in Controller.php line 55 at Controller->callAction('index', array())in ControllerDispatcher.php line 44

    opened by IrfanMajeed385 7
  • New flags

    New flags

    I am using this nmap wrapper in a simple project that needed to perform host discovering without scanning ports (ping scans) and returning "down" servers in the same way as the "up" ones, so I added the "verbose" and "disable port scan" flags.

    These changes could help somebody else. :)

    needs tests 
    opened by Falc 7
  • A way to detect if nmap is installed on system

    A way to detect if nmap is installed on system

    It would be really nice if library would notify you if package nmap is missing on system. I installed this library on system and it took me quite a while to detect what was the problem. The nmap package was missing on system and because of that this library did not work.

    Could this kind of detection be added on install (maybe in composer)?

    enhancement 
    opened by matejvelikonja 6
  • Improve addresses

    Improve addresses

    Hi !

    About addresses :

    • address xml tag has 3 attributes : addr, addrtype and vendor.
    • address xml tag can be multiple for example one mac address and one IP address.

    This PR improves this.

    opened by maidmaid 5
  • Timeout on larger scans

    Timeout on larger scans

    great project so far!

    I only have 1 little issue that when i run scans on hosts with a lot of ports i exceed the 60 second default timeout in the ProcessExecutor.php

    My suggestion in Nmap.php add $timeout = 60 when initializing the class and passing that on to the ->execute($command, $timeout) method.

    Inside the processExecutor create the new Process() like this:

    $process = new Process($command,NULL,NULL,NULL,$timeout);

    If you want to i could probably sent a pull request or something

    greetings loeken

    opened by loeken 4
  • Failed to execute

    Failed to execute "nmap"

    Hello,

    I receive the following error: FatalErrorException in Nmap.php line 62: Call to a member function execute() on null

    However, if I change line 62 of Nmap.php from this:

    if ($executor->execute($this->executable) !== 0) {
    

    to this:

    if ($this->executor->execute($this->executable) !== 0) {
    

    I seem to get past it. Unfortunately, I then get this error: RuntimeException in ProcessExecutor.php line 32: Failed to execute "nmap"

    It seems as though the nmap command is not being built up. If I "hard code" the $executable variable on line 55 of Nmap.php to an actual nmap command, for instance....

        public function __construct(ProcessExecutor $executor = null, $outputFile = null, $executable = 'nmap 10.0.0.254')
    

    I DO get what seems to be good data back.

    Here is how I'm building up my Nmap object:

        public function nmapScan()
        {
    
            $hosts = \Nmap\Nmap::create()->enableVerbose()->scan([ 'myhost.mydomain.com' ]);
    
            $ports = $hosts->getOpenPorts();
                    // dd($hosts);
            // dd($ports);
    
        }
    

    Am I using this incorrectly? It seems to completely disregard the host I'm telling it to scan, and unless I "hard code" the hostname into line 55 of Nmap.php, it fails because it's trying to execute 'nmap' alone with only prints the command help information.

    If I can provide other/more data, I will be happy to. Sorry if this isn't the prescribed way to submit this issue. I'm new to pull requests and issue tracking on github, so if I should do this differently, just let me know and I'll be happy to.

    Thanks for what looks like a really awesome package! Any help you can provide will be greatly appreciated.

    Oh, and this is being used in a Laravel 5.1 project. My test box is running PHP 5.5.20.

    opened by goatatwork 3
  • Symfony 5 support

    Symfony 5 support

    Hello,

    Would be possible adding Symfony 5 support too, please, in the same way we have support for Symfony 2, 3, and 4?

    Alternatively, maybe is worth "clean up" the unmaintained versions and just keep support for Symfony 4 and 5?

    Cheers,

    opened by DavidGarciaCat 2
  • Issue in laravel 5.6

    Issue in laravel 5.6

    composer require willdurand/nmap
    Using version ^0.5.0 for willdurand/nmap
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: remove symfony/console v4.2.8
        - Conclusion: don't install symfony/console v4.2.8
        - symfony/process 2.0.4 conflicts with symfony/console[v4.2.8].
        - symfony/process 2.0.5 conflicts with symfony/console[v4.2.8].
        - symfony/process 2.0.6 conflicts with symfony/console[v4.2.8].
        - symfony/process 2.0.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.13 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.14 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.15 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.16 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.17 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.18 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.19 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.20 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.21 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.22 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.23 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.24 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.25 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.0.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.13 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.1.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.2.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.13 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.14 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.15 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.16 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.17 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.18 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.19 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.20 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.21 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.22 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.23 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.24 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.25 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.26 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.27 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.28 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.29 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.30 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.31 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.32 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.33 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.34 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.35 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.36 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.37 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.38 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.39 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.40 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.41 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.42 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.3.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.4.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.5.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.13 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.6.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.13 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.14 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.15 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.16 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.17 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.18 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.19 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.20 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.21 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.22 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.23 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.24 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.25 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.26 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.27 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.28 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.29 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.30 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.31 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.32 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.33 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.34 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.35 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.36 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.37 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.38 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.39 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.40 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.41 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.42 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.43 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.44 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.45 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.46 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.47 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.48 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.49 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.50 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.51 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.7.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.13 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.14 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.15 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.16 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.17 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.18 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.19 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.20 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.21 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.22 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.23 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.24 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.25 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.26 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.27 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.28 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.29 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.30 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.31 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.32 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.33 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.34 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.35 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.36 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.37 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.38 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.39 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.40 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.41 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.42 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.43 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.44 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.45 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.46 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.47 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.48 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.49 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.50 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v2.8.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.0.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.1.9 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.0 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.1 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.10 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.11 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.12 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.13 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.14 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.2 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.3 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.4 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.5 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.6 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.7 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.8 conflicts with symfony/console[v4.2.8].
        - symfony/process v3.2.9 conflicts with symfony/console[v4.2.8].
        - Installation request for symfony/console (locked at v4.2.8) -> satisfiable by symfony/console[v4.2.8].
        - Installation request for willdurand/nmap ^0.5.0 -> satisfiable by willdurand/nmap[0.5.0].
        - Conclusion: don't install symfony/process v4.2.8|install symfony/process 2.0.4|install symfony/process 2.0.5|install symfony/process 2.0.6|install symfony/process 2.0.7|install symfony/process
     v2.0.10|install symfony/process v2.0.12|install symfony/process v2.0.13|install symfony/process v2.0.14|install symfony/process v2.0.15|install symfony/process v2.0.16|install symfony/process v2.0.
    17|install symfony/process v2.0.18|install symfony/process v2.0.19|install symfony/process v2.0.20|install symfony/process v2.0.21|install symfony/process v2.0.22|install symfony/process v2.0.23|ins
    tall symfony/process v2.0.24|install symfony/process v2.0.25|install symfony/process v2.0.9|install symfony/process v2.1.0|install symfony/process v2.1.1|install symfony/process v2.1.10|install symf
    ony/process v2.1.11|install symfony/process v2.1.12|install symfony/process v2.1.13|install symfony/process v2.1.2|install symfony/process v2.1.3|install symfony/process v2.1.4|install symfony/proce
    ss v2.1.5|install symfony/process v2.1.6|install symfony/process v2.1.7|install symfony/process v2.1.8|install symfony/process v2.1.9|install symfony/process v2.2.0|install symfony/process v2.2.1|in
    stall symfony/process v2.2.10|install symfony/process v2.2.11|install symfony/process v2.2.2|install symfony/process v2.2.3|install symfony/process v2.2.4|install symfony/process v2.2.5|install symf
    ony/process v2.2.6|install symfony/process v2.2.7|install symfony/process v2.2.8|install symfony/process v2.2.9|install symfony/process v2.3.0|install symfony/process v2.3.1|install symfony/process
    v2.3.10|install symfony/process v2.3.11|install symfony/process v2.3.12|install symfony/process v2.3.13|install symfony/process v2.3.14|install symfony/process v2.3.15|install symfony/process v2.3.1
    6|install symfony/process v2.3.17|install symfony/process v2.3.18|install symfony/process v2.3.19|install symfony/process v2.3.2|install symfony/process v2.3.20|install symfony/process v2.3.21|insta
    ll symfony/process v2.3.22|install symfony/process v2.3.23|install symfony/process v2.3.24|install symfony/process v2.3.25|install symfony/process v2.3.26|install symfony/process v2.3.27|install sym
    fony/process v2.3.28|install symfony/process v2.3.29|install symfony/process v2.3.3|install symfony/process v2.3.30|install symfony/process v2.3.31|install symfony/process v2.3.32|install symfony/pr
    ocess v2.3.33|install symfony/process v2.3.34|install symfony/process v2.3.35|install symfony/process v2.3.36|install symfony/process v2.3.37|install symfony/process v2.3.38|install symfony/process
    v2.3.39|install symfony/process v2.3.4|install symfony/process v2.3.40|install symfony/process v2.3.41|install symfony/process v2.3.42|install symfony/process v2.3.5|install symfony/process v2.3.6|i
    nstall symfony/process v2.3.7|install symfony/process v2.3.8|install symfony/process v2.3.9|install symfony/process v2.4.0|install symfony/process v2.4.1|install symfony/process v2.4.10|install symf
    ony/process v2.4.2|install symfony/process v2.4.3|install symfony/process v2.4.4|install symfony/process v2.4.5|install symfony/process v2.4.6|install symfony/process v2.4.7|install symfony/process
    v2.4.8|install symfony/process v2.4.9|install symfony/process v2.5.0|install symfony/process v2.5.1|install symfony/process v2.5.10|install symfony/process v2.5.11|install symfony/process v2.5.12|in
    stall symfony/process v2.5.2|install symfony/process v2.5.3|install symfony/process v2.5.4|install symfony/process v2.5.5|install symfony/process v2.5.6|install symfony/process v2.5.7|install symfon
    y/process v2.5.8|install symfony/process v2.5.9|install symfony/process v2.6.0|install symfony/process v2.6.1|install symfony/process v2.6.10|install symfony/process v2.6.11|install symfony/process
    v2.6.12|install symfony/process v2.6.13|install symfony/process v2.6.2|install symfony/process v2.6.3|install symfony/process v2.6.4|install symfony/process v2.6.5|install symfony/process v2.6.6|ins
    tall symfony/process v2.6.7|install symfony/process v2.6.8|install symfony/process v2.6.9|install symfony/process v2.7.0|install symfony/process v2.7.1|install symfony/process v2.7.10|install symfon
    y/process v2.7.11|install symfony/process v2.7.12|install symfony/process v2.7.13|install symfony/process v2.7.14|install symfony/process v2.7.15|install symfony/process v2.7.16|install symfony/proc
    ess v2.7.17|install symfony/process v2.7.18|install symfony/process v2.7.19|install symfony/process v2.7.2|install symfony/process v2.7.20|install symfony/process v2.7.21|install symfony/process v2.
    7.22|install symfony/process v2.7.23|install symfony/process v2.7.24|install symfony/process v2.7.25|install symfony/process v2.7.26|install symfony/process v2.7.27|install symfony/process v2.7.28|i
    nstall symfony/process v2.7.29|install symfony/process v2.7.3|install symfony/process v2.7.30|install symfony/process v2.7.31|install symfony/process v2.7.32|install symfony/process v2.7.33|install
    symfony/process v2.7.34|install symfony/process v2.7.35|install symfony/process v2.7.36|install symfony/process v2.7.37|install symfony/process v2.7.38|install symfony/process v2.7.39|install symfon
    y/process v2.7.4|install symfony/process v2.7.40|install symfony/process v2.7.41|install symfony/process v2.7.42|install symfony/process v2.7.43|install symfony/process v2.7.44|install symfony/proce
    ss v2.7.45|install symfony/process v2.7.46|install symfony/process v2.7.47|install symfony/process v2.7.48|install symfony/process v2.7.49|install symfony/process v2.7.5|install symfony/process v2.7
    .50|install symfony/process v2.7.51|install symfony/process v2.7.6|install symfony/process v2.7.7|install symfony/process v2.7.8|install symfony/process v2.7.9|install symfony/process v2.8.0|install
     symfony/process v2.8.1|install symfony/process v2.8.10|install symfony/process v2.8.11|install symfony/process v2.8.12|install symfony/process v2.8.13|install symfony/process v2.8.14|install symfon
    y/process v2.8.15|install symfony/process v2.8.16|install symfony/process v2.8.17|install symfony/process v2.8.18|install symfony/process v2.8.19|install symfony/process v2.8.2|install symfony/proce
    ss v2.8.20|install symfony/process v2.8.21|install symfony/process v2.8.22|install symfony/process v2.8.23|install symfony/process v2.8.24|install symfony/process v2.8.25|install symfony/process v2.
    8.26|install symfony/process v2.8.27|install symfony/process v2.8.28|install symfony/process v2.8.29|install symfony/process v2.8.3|install symfony/process v2.8.30|install symfony/process v2.8.31|in
    stall symfony/process v2.8.32|install symfony/process v2.8.33|install symfony/process v2.8.34|install symfony/process v2.8.35|install symfony/process v2.8.36|install symfony/process v2.8.37|install
    symfony/process v2.8.38|install symfony/process v2.8.39|install symfony/process v2.8.4|install symfony/process v2.8.40|install symfony/process v2.8.41|install symfony/process v2.8.42|install symfony
    /process v2.8.43|install symfony/process v2.8.44|install symfony/process v2.8.45|install symfony/process v2.8.46|install symfony/process v2.8.47|install symfony/process v2.8.48|install symfony/proce
    ss v2.8.49|install symfony/process v2.8.5|install symfony/process v2.8.50|install symfony/process v2.8.6|install symfony/process v2.8.7|install symfony/process v2.8.8|install symfony/process v2.8.9|
    install symfony/process v3.0.0|install symfony/process v3.0.1|install symfony/process v3.0.2|install symfony/process v3.0.3|install symfony/process v3.0.4|install symfony/process v3.0.5|install symf
    ony/process v3.0.6|install symfony/process v3.0.7|install symfony/process v3.0.8|install symfony/process v3.0.9|install symfony/process v3.1.0|install symfony/process v3.1.1|install symfony/process
    v3.1.10|install symfony/process v3.1.2|install symfony/process v3.1.3|install symfony/process v3.1.4|install symfony/process v3.1.5|install symfony/process v3.1.6|install symfony/process v3.1.7|inst
    all symfony/process v3.1.8|install symfony/process v3.1.9|install symfony/process v3.2.0|install symfony/process v3.2.1|install symfony/process v3.2.10|install symfony/process v3.2.11|install symfon
    y/process v3.2.12|install symfony/process v3.2.13|install symfony/process v3.2.14|install symfony/process v3.2.2|install symfony/process v3.2.3|install symfony/process v3.2.4|install symfony/process
     v3.2.5|install symfony/process v3.2.6|install symfony/process v3.2.7|install symfony/process v3.2.8|install symfony/process v3.2.9
        - Conclusion: remove symfony/process v4.2.8|install symfony/process 2.0.4|install symfony/process 2.0.5|install symfony/process 2.0.6|install symfony/process 2.0.7|install symfony/process v2.0.1
    0|install symfony/process v2.0.12|install symfony/process v2.0.13|install symfony/process v2.0.14|install symfony/process v2.0.15|install symfony/process v2.0.16|install symfony/process v2.0.17|inst
    all symfony/process v2.0.18|install symfony/process v2.0.19|install symfony/process v2.0.20|install symfony/process v2.0.21|install symfony/process v2.0.22|install symfony/process v2.0.23|install sy
    mfony/process v2.0.24|install symfony/process v2.0.25|install symfony/process v2.0.9|install symfony/process v2.1.0|install symfony/process v2.1.1|install symfony/process v2.1.10|install symfony/pro
    cess v2.1.11|install symfony/process v2.1.12|install symfony/process v2.1.13|install symfony/process v2.1.2|install symfony/process v2.1.3|install symfony/process v2.1.4|install symfony/process v2.1
    .5|install symfony/process v2.1.6|install symfony/process v2.1.7|install symfony/process v2.1.8|install symfony/process v2.1.9|install symfony/process v2.2.0|install symfony/process v2.2.1|install s
    ymfony/process v2.2.10|install symfony/process v2.2.11|install symfony/process v2.2.2|install symfony/process v2.2.3|install symfony/process v2.2.4|install symfony/process v2.2.5|install symfony/pro
    cess v2.2.6|install symfony/process v2.2.7|install symfony/process v2.2.8|install symfony/process v2.2.9|install symfony/process v2.3.0|install symfony/process v2.3.1|install symfony/process v2.3.10
    |install symfony/process v2.3.11|install symfony/process v2.3.12|install symfony/process v2.3.13|install symfony/process v2.3.14|install symfony/process v2.3.15|install symfony/process v2.3.16|insta
    ll symfony/process v2.3.17|install symfony/process v2.3.18|install symfony/process v2.3.19|install symfony/process v2.3.2|install symfony/process v2.3.20|install symfony/process v2.3.21|install symf
    ony/process v2.3.22|install symfony/process v2.3.23|install symfony/process v2.3.24|install symfony/process v2.3.25|install symfony/process v2.3.26|install symfony/process v2.3.27|install symfony/pr
    ocess v2.3.28|install symfony/process v2.3.29|install symfony/process v2.3.3|install symfony/process v2.3.30|install symfony/process v2.3.31|install symfony/process v2.3.32|install symfony/process v
    2.3.33|install symfony/process v2.3.34|install symfony/process v2.3.35|install symfony/process v2.3.36|install symfony/process v2.3.37|install symfony/process v2.3.38|install symfony/process v2.3.39
    |install symfony/process v2.3.4|install symfony/process v2.3.40|install symfony/process v2.3.41|install symfony/process v2.3.42|install symfony/process v2.3.5|install symfony/process v2.3.6|install
    symfony/process v2.3.7|install symfony/process v2.3.8|install symfony/process v2.3.9|install symfony/process v2.4.0|install symfony/process v2.4.1|install symfony/process v2.4.10|install symfony/pro
    cess v2.4.2|install symfony/process v2.4.3|install symfony/process v2.4.4|install symfony/process v2.4.5|install symfony/process v2.4.6|install symfony/process v2.4.7|install symfony/process v2.4.8|
    install symfony/process v2.4.9|install symfony/process v2.5.0|install symfony/process v2.5.1|install symfony/process v2.5.10|install symfony/process v2.5.11|install symfony/process v2.5.12|install s
    ymfony/process v2.5.2|install symfony/process v2.5.3|install symfony/process v2.5.4|install symfony/process v2.5.5|install symfony/process v2.5.6|install symfony/process v2.5.7|install symfony/proce
    ss v2.5.8|install symfony/process v2.5.9|install symfony/process v2.6.0|install symfony/process v2.6.1|install symfony/process v2.6.10|install symfony/process v2.6.11|install symfony/process v2.6.12
    |install symfony/process v2.6.13|install symfony/process v2.6.2|install symfony/process v2.6.3|install symfony/process v2.6.4|install symfony/process v2.6.5|install symfony/process v2.6.6|install sy
    mfony/process v2.6.7|install symfony/process v2.6.8|install symfony/process v2.6.9|install symfony/process v2.7.0|install symfony/process v2.7.1|install symfony/process v2.7.10|install symfony/proce
    ss v2.7.11|install symfony/process v2.7.12|install symfony/process v2.7.13|install symfony/process v2.7.14|install symfony/process v2.7.15|install symfony/process v2.7.16|install symfony/process v2.
    7.17|install symfony/process v2.7.18|install symfony/process v2.7.19|install symfony/process v2.7.2|install symfony/process v2.7.20|install symfony/process v2.7.21|install symfony/process v2.7.22|in
    stall symfony/process v2.7.23|install symfony/process v2.7.24|install symfony/process v2.7.25|install symfony/process v2.7.26|install symfony/process v2.7.27|install symfony/process v2.7.28|install
    symfony/process v2.7.29|install symfony/process v2.7.3|install symfony/process v2.7.30|install symfony/process v2.7.31|install symfony/process v2.7.32|install symfony/process v2.7.33|install symfony
    /process v2.7.34|install symfony/process v2.7.35|install symfony/process v2.7.36|install symfony/process v2.7.37|install symfony/process v2.7.38|install symfony/process v2.7.39|install symfony/proce
    ss v2.7.4|install symfony/process v2.7.40|install symfony/process v2.7.41|install symfony/process v2.7.42|install symfony/process v2.7.43|install symfony/process v2.7.44|install symfony/process v2.7
    .45|install symfony/process v2.7.46|install symfony/process v2.7.47|install symfony/process v2.7.48|install symfony/process v2.7.49|install symfony/process v2.7.5|install symfony/process v2.7.50|ins
    tall symfony/process v2.7.51|install symfony/process v2.7.6|install symfony/process v2.7.7|install symfony/process v2.7.8|install symfony/process v2.7.9|install symfony/process v2.8.0|install symfon
    y/process v2.8.1|install symfony/process v2.8.10|install symfony/process v2.8.11|install symfony/process v2.8.12|install symfony/process v2.8.13|install symfony/process v2.8.14|install symfony/proce
    ss v2.8.15|install symfony/process v2.8.16|install symfony/process v2.8.17|install symfony/process v2.8.18|install symfony/process v2.8.19|install symfony/process v2.8.2|install symfony/process v2.8
    .20|install symfony/process v2.8.21|install symfony/process v2.8.22|install symfony/process v2.8.23|install symfony/process v2.8.24|install symfony/process v2.8.25|install symfony/process v2.8.26|in
    stall symfony/process v2.8.27|install symfony/process v2.8.28|install symfony/process v2.8.29|install symfony/process v2.8.3|install symfony/process v2.8.30|install symfony/process v2.8.31|install s
    ymfony/process v2.8.32|install symfony/process v2.8.33|install symfony/process v2.8.34|install symfony/process v2.8.35|install symfony/process v2.8.36|install symfony/process v2.8.37|install symfony
    /process v2.8.38|install symfony/process v2.8.39|install symfony/process v2.8.4|install symfony/process v2.8.40|install symfony/process v2.8.41|install symfony/process v2.8.42|install symfony/proces
    s v2.8.43|install symfony/process v2.8.44|install symfony/process v2.8.45|install symfony/process v2.8.46|install symfony/process v2.8.47|install symfony/process v2.8.48|install symfony/process v2.8
    .49|install symfony/process v2.8.5|install symfony/process v2.8.50|install symfony/process v2.8.6|install symfony/process v2.8.7|install symfony/process v2.8.8|install symfony/process v2.8.9|install
     symfony/process v3.0.0|install symfony/process v3.0.1|install symfony/process v3.0.2|install symfony/process v3.0.3|install symfony/process v3.0.4|install symfony/process v3.0.5|install symfony/pro
    cess v3.0.6|install symfony/process v3.0.7|install symfony/process v3.0.8|install symfony/process v3.0.9|install symfony/process v3.1.0|install symfony/process v3.1.1|install symfony/process v3.1.10
    |install symfony/process v3.1.2|install symfony/process v3.1.3|install symfony/process v3.1.4|install symfony/process v3.1.5|install symfony/process v3.1.6|install symfony/process v3.1.7|install sym
    fony/process v3.1.8|install symfony/process v3.1.9|install symfony/process v3.2.0|install symfony/process v3.2.1|install symfony/process v3.2.10|install symfony/process v3.2.11|install symfony/proce
    ss v3.2.12|install symfony/process v3.2.13|install symfony/process v3.2.14|install symfony/process v3.2.2|install symfony/process v3.2.3|install symfony/process v3.2.4|install symfony/process v3.2.5
    |install symfony/process v3.2.6|install symfony/process v3.2.7|install symfony/process v3.2.8|install symfony/process v3.2.9
        - willdurand/nmap 0.5.0 requires symfony/process ~2.0|~3.0 -> satisfiable by symfony/process[2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v
    2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2
    .1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2
    , v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4,
    v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12,
     v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v
    2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.
    7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.36, v2.7.37, v2.7.38, v2.7.39, v2.7.4, v2.7.40, v2.7.41, v2.7.42, v2.7.43, v2.7.44, v2.7.45, v2.7.46, v2.7.47, v2.7.48, v2.7.49, v2.7.5, v2.7.
    50, v2.7.51, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.
    8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.32, v2.8.33, v2.8.34, v2.8.35, v2.8.36, v2.8.37, v2.8.38, v2.8.39, v2.8.4, v2.8.40, v2.8.41, v2.8.42, v2.8.43, v2.8.
    44, v2.8.45, v2.8.46, v2.8.47, v2.8.48, v2.8.49, v2.8.5, v2.8.50, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1
    .10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3
    .0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.18, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12
    , v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.28, v3.4.3, v3.4.4, v3.4.5, v3.4.6, v3.4.7, v3.4
    .8, v3.4.9].
        - Can only install one of: symfony/process[v3.3.0, v4.2.8].
        - Can only install one of: symfony/process[v3.3.1, v4.2.8].
        - Can only install one of: symfony/process[v3.3.10, v4.2.8].
        - Can only install one of: symfony/process[v3.3.11, v4.2.8].
        - Can only install one of: symfony/process[v3.3.12, v4.2.8].
        - Can only install one of: symfony/process[v3.3.13, v4.2.8].
        - Can only install one of: symfony/process[v3.3.14, v4.2.8].
        - Can only install one of: symfony/process[v3.3.15, v4.2.8].
        - Can only install one of: symfony/process[v3.3.16, v4.2.8].
        - Can only install one of: symfony/process[v3.3.17, v4.2.8].
        - Can only install one of: symfony/process[v3.3.18, v4.2.8].
        - Can only install one of: symfony/process[v3.3.2, v4.2.8].
        - Can only install one of: symfony/process[v3.3.3, v4.2.8].
        - Can only install one of: symfony/process[v3.3.4, v4.2.8].
        - Can only install one of: symfony/process[v3.3.5, v4.2.8].
        - Can only install one of: symfony/process[v3.3.6, v4.2.8].
        - Can only install one of: symfony/process[v3.3.7, v4.2.8].
        - Can only install one of: symfony/process[v3.3.8, v4.2.8].
        - Can only install one of: symfony/process[v3.3.9, v4.2.8].
        - Can only install one of: symfony/process[v3.4.0, v4.2.8].
        - Can only install one of: symfony/process[v3.4.1, v4.2.8].
        - Can only install one of: symfony/process[v3.4.10, v4.2.8].
        - Can only install one of: symfony/process[v3.4.11, v4.2.8].
        - Can only install one of: symfony/process[v3.4.12, v4.2.8].
        - Can only install one of: symfony/process[v3.4.13, v4.2.8].
        - Can only install one of: symfony/process[v3.4.14, v4.2.8].
        - Can only install one of: symfony/process[v3.4.15, v4.2.8].
        - Can only install one of: symfony/process[v3.4.16, v4.2.8].
        - Can only install one of: symfony/process[v3.4.17, v4.2.8].
        - Can only install one of: symfony/process[v3.4.18, v4.2.8].
        - Can only install one of: symfony/process[v3.4.19, v4.2.8].
        - Can only install one of: symfony/process[v3.4.2, v4.2.8].
        - Can only install one of: symfony/process[v3.4.20, v4.2.8].
        - Can only install one of: symfony/process[v3.4.21, v4.2.8].
        - Can only install one of: symfony/process[v3.4.22, v4.2.8].
        - Can only install one of: symfony/process[v3.4.23, v4.2.8].
        - Can only install one of: symfony/process[v3.4.24, v4.2.8].
        - Can only install one of: symfony/process[v3.4.25, v4.2.8].
        - Can only install one of: symfony/process[v3.4.26, v4.2.8].
        - Can only install one of: symfony/process[v3.4.27, v4.2.8].
        - Can only install one of: symfony/process[v3.4.28, v4.2.8].
        - Can only install one of: symfony/process[v3.4.3, v4.2.8].
        - Can only install one of: symfony/process[v3.4.4, v4.2.8].
        - Can only install one of: symfony/process[v3.4.5, v4.2.8].
        - Can only install one of: symfony/process[v3.4.6, v4.2.8].
        - Can only install one of: symfony/process[v3.4.7, v4.2.8].
        - Can only install one of: symfony/process[v3.4.8, v4.2.8].
        - Can only install one of: symfony/process[v3.4.9, v4.2.8].
        - Installation request for symfony/process (locked at v4.2.8) -> satisfiable by symfony/process[v4.2.8].
    
    
    Installation failed, reverting ./composer.json to its original content.
    
    

    PHP Versión: 7.1

    opened by lukeciatt 2
  • some updates

    some updates

    • Update phpunit to v5
    • Add mockery/mockery (dev); change unit tests to use mockery
    • Add vimeo/psalm (static analysis); fix detected error where xml attributes could be null.
    • Fix issues from Symfony\Process >= 4.0 wanting an array of arguments.
    • Update minimum PHP version to 5.6
    opened by DavidGoodwin 2
  • Added IP scan by range and updated phpunit

    Added IP scan by range and updated phpunit

    also I've bumped the required php version to 5.6 (need to update travis.yml) but i don't know if you want to make this change or keep the old compatibility. Then phpunit can be downgraded to 3.7 again.

    opened by hectorgimenez 2
  • Can only install one of: symfony/process[v2.8.0, v3.0.6].

    Can only install one of: symfony/process[v2.8.0, v3.0.6].

    I'm trying to use nmap in laravel 5.2. symfony/process v3.0.6 already installed as dependency for laravel 5.2. nmap require synfony/process ~2.0 . I can't use nmap because dependency conflict problem.

    opened by herzcthu 2
  • Xml file needed for further project development

    Xml file needed for further project development

    The temparay folder dosn't apper for the people and its hard to find the saved XML file , the extension of the files changes for every reload so lets make the change to XML apper where it doesn't take more space for every scan nmap uses the same .XML file.

    opened by katesaikishore 0
  • OS Not Detecting

    OS Not Detecting

    I am using Laravel: 5.8 PHP Version: 7.2.22 willdurand/nmap: dev-master

    I am unable to detect the OS where I can detect with normal nmap terminal command line please look into the screenshot

    Screenshot 2020-03-23 at 12 11 07 AM

    opened by katesaikishore 0
  • Uncaught Error: Class 'Nmap' not found

    Uncaught Error: Class 'Nmap' not found

    Hey! Hey! Hey! i just wanted to try nmap, but php doesn't find the class "Nmap". i installed nmap via "composer require willdurand/nmap" successfully. I created the following script: test.php: `<?php

    require DIR . '/vendor/autoload.php';

    $nmap = new Nmap(); //$nmap->scan([ 'williamdurand.fr' ], [ 21, 22, 80 ]); //$hosts = Nmap::create()->scan([ 'williamdurand.fr' ]); //$ports = $hosts->getOpenPorts(); //echo $ports;

    ?> `

    and my error output: PHP Fatal error: Uncaught Error: Class 'Nmap' not found in /var/www/start/nmap/test.php

    Where's my mistake?

    opened by Gifford47 1
  • Future of this project

    Future of this project

    @willdurand:

    I just installed dev-master (laravel 5.8|php 7.3) and it works. However I get these 2 warnings below.

    PHP Deprecated: Passing a command as string when creating a "Symfony/Component/Process/Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. in ...vendor/symfony/process/Process.php on line 147 PHP Deprecated: Passing a command as string when creating a "Symfony/Component/Process/Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. in ...vendor/symfony/process/Process.php on line 147

    I'm not sure if you want to drop support for older symfony/process or you want to somehow figure out the symfony/process version? I wasn't aware that I have write access to this repo, I made my own little fork over at github.com/repat/nmap but would be willing to maintain this instead if that's ok? (Also accidentally clicked a merge button the wrong way, but it's cleaned up ;-) - that's how I found out)

    So for symfony/process ^4.0 to work without warnings, we have to pass the arguments as an array as you can see here:

    https://github.com/repat/nmap/blob/master/src/Nmap/Nmap.php#L104

    I would now:

    1. Create version 0.6.0 with the warnings
    2. Drop support for symfony/process 2.X, only support ^3.4 (see below, 2.X is not supported anyway)
    3. Pass arguments as array because that's how it's done in ^3.4 and ^4.0
    4. Port over some of the changes I made (PSR4/PHPunit)
    5. Create version 0.7.0
    6. Delete my repo and maintain this (we actively use it)

    Let me know what you think :-)

    image

    question 
    opened by repat 2
Releases(v0.4.0)
Owner
William Durand
William Durand
AI PHP is a wrapper for rubix ml to make AI very approachable

AI PHP Rubix Wrap A wrapper for Rubix ML to make it very approachable Example: $report = RubixService::train($data, 'column_with_label'); Where co

null 15 Nov 5, 2022
PhpGit - A Git wrapper for PHP 7.1+

PhpGit PhpGit - A Git wrapper for PHP 7.1+ The project is forked from https://github.com/kzykhys/PHPGit Requirements PHP 7.1+ Git Installation Update

PHPPkg 9 Nov 1, 2022
Opensource php wrapper to WhatsApp Cloud API.

WhatsApp Latest Cloud API Wrapper for PHP Opensource php wrapper to WhatsApp Cloud API. Features supported Sending messages Sending Media (images, aud

Novath Thomas 58 Nov 30, 2022
A simple Object Oriented wrapper for Linear API, written with PHP.

PHP Linear API A simple Object Oriented wrapper for Linear API, written with PHP. NOTE You should take a look Linear GraphQL API Schema for all nodes

Mustafa KÜÇÜK 6 Sep 2, 2022
An object oriented wrapper around PHP's built-in server.

Statix Server Requirements PHP 8 minumum Installation composer require statix/server Basic Usage To get started, ensure the vendor autoload script is

Statix PHP 113 Dec 27, 2022
A PHP wrapper around Libreoffice for converting documents from one format to another.

Document Converter A PHP wrapper around Libreoffice for converting documents from one format to another. For example: Microsoft Word to PDF OpenOffice

Lukas White 0 Jul 28, 2022
PHP Wrapper for the Help Scout API

Help Scout API PHP Client This is the official Help Scout PHP client. This client contains methods for easily interacting with the Help Scout Mailbox

Help Scout 94 Dec 1, 2022
A simple wrapper around vlucas' PHP dotenv library for Kirby CMS.

kirby-phpdotenv A simple wrapper around vlucas' PHP dotenv library for Kirby CMS. Why? I've been using .env in my Kirby projects for a while, but I go

Steve Jamesson 5 Feb 6, 2020
A simple API with Guzzle wrapper, providing easy access to wppconnect's endpoints.

WPPConnect Team Wppconnect Laravel Client A simple API with Guzzle wrapper, providing easy access to wppconnect's endpoints. Requirements PHP 7.4 or n

null 28 Dec 18, 2022
WordPlate is a wrapper around WordPress. It makes developers life easier. It is just like building any other WordPress website with themes and plugins. Just with sprinkles on top.

WordPlate is simply a wrapper around WordPress. It makes developers life easier. It is just like building any other WordPress website with themes and plugins. Just with sprinkles on top.

WordPlate 1.7k Dec 24, 2022
Kirby wrapper for automated content accessibility checkers Editoria11y and Sa11y

Kirby3 A11yprompter For a comprehensive overview of Sa11y and Editoria11y, how they can assist maintaining an accessible website by supporting content

Sebastian Greger 8 Apr 25, 2022
Standardized wrapper for popular currency rate APIs. Currently supports FixerIO, CurrencyLayer, Open Exchange Rates and Exchange Rates API.

?? Wrapper for popular Currency Exchange Rate APIs A PHP API Wrapper to offer a unified programming interface for popular Currency Rate APIs. Dont wor

Alexander Graf 24 Nov 21, 2022
A Laravel Wrapper for the Binance API. Now easily connect and consume the Binance Public & Private API in your Laravel apps without any hassle.

This package provides a Laravel Wrapper for the Binance API and allows you to easily communicate with it. Important Note This package is in early deve

Moinuddin S. Khaja 7 Dec 7, 2022
Let's Encrypt wrapper for Laravel

Let's Encrypt Laravel A Laravel package for easily generating and renewing SSL certificates using Let's Encrypt. This package is especially useful if

Daan Raatjes 113 Dec 30, 2022
This is a simple Wrapper around the ZipArchive methods with some handy functions

Note I haven't updated this package in a long time except merging PRs. The last time I was using this package was with PHP5. I archived the repository

Nils Plaschke 845 Dec 13, 2022
This is a simple Wrapper around the ZipArchive methods with some handy functions

Note I haven't updated this package in a long time except merging PRs. The last time I was using this package was with PHP5. I archived the repository

Nils Plaschke 836 Jan 26, 2022
This package provides a wrapper for Google Lighthouse to audit the quality of web pages with Laravel.

laravel-google-lighthouse This package is based on octoper/lighthouse-php. This package provides a wrapper for Google Lighthouse to audit the quality

Logiek 5 Jun 1, 2022
An un-offical API wrapper for logsnag.com to get notifications and track your project events

An un-offical API wrapper for logsnag.com to get notifications and track your project events

David Oti 3 Oct 15, 2022
Enhanced Yii2 wrapper for the bootstrap timepicker plugin

yii2-widget-timepicker The TimePicker widget allows you to easily select a time for a text input using your mouse or keyboards arrow keys. The widget

Kartik Visweswaran 40 Apr 12, 2022