Giter Club home page Giter Club logo

Comments (12)

yu210148 avatar yu210148 commented on July 30, 2024 6

Gotcha, Okay, cool.

Given how quickly the scans complete I'm skeptical that the issue is with the timeout setting so that leaves the scan config not including a port scanner. Sure enough, when I cloned a copy of the 'Full and Fast' scan config then took a look at it in the edit screen the 'Port Scanners' line was unchecked (see screenshot below).

image

So, I checked off the box, then clicked to edit the line and checked off the box for 'NMAP (NASL wrapper).

image

When I changed the task to use the cloned scan config it appears to be working as expected.

So, now I at least know what's going on. I'm not sure why it's unchecked in the default Full & Fast scan config; more importantly, I'm not sure yet how to change it as that config is read-only. I'll poke around with it a bit more but I wanted to document what I've got so far 👍

kev.

from gvm_install.

yu210148 avatar yu210148 commented on July 30, 2024 1

Humm, okay, so there's something else going on here as there're no errors reported in the report for the scans done from that instance. What was leading me there was this output in the results:

image

The Solutions section below where the screenshot cuts off says:


Solution Type:
Based on the script output please:

  • add a Port scanner plugin from the 'Port scanners' family to this scan
    configuration. Recommended: Nmap (NASL wrapper).

  • either choose a port range for this target containing less ports or raise
    the 'scanner_plugins_timeout' scanner preference to a higher timeout.

  • install the 'nmap' binary/package or make it accessible to the scanner.


It's in the unfiltered results tab rather than in the error tab though.

kev.

from gvm_install.

GintHub avatar GintHub commented on July 30, 2024 1

Had the same issue using Kali 2021.2 with GVM 20.8.0, this fix worked well, thanks!

from gvm_install.

tillsoil avatar tillsoil commented on July 30, 2024 1

This has been bothering me literally all day, so glad I found this post, I just wish there was a way to make it more visible for more people to find it quicker!
I'm on Parrot OS, and working my way through the metasploit unleashed course, didn't want to use the Nexpose vulnerability scanner.

Such a simple and elegant solution to a rather annoying error.

Many thanks [yu210148], and all who helped :-)

from gvm_install.

yu210148 avatar yu210148 commented on July 30, 2024

A bit more info here; I've tried compiling and installing the 7.80 version of nmap which is the same version as gets installed on Ubuntu 20.04 and it appears to have had no effect. I also tried with the latest 7.91 version. Don't have a solution yet but I'm guessing it might be a path related thing rather than having to do with the version of nmap.

from gvm_install.

cfi-gb avatar cfi-gb commented on July 30, 2024

A missing / not accessible / too new / too old nmap isn't the problem here. In that case you would get an additional output from the mentioned VT including the following:

  • The "nmap" binary/package is not installed or not accessible by the scanner.

I guess it's one of the two mentioned problems, have you verified both? (e.g. check the "Error messages" tab in the scan task you have seen that result).

from gvm_install.

cfi-gb avatar cfi-gb commented on July 30, 2024

The important part is the following:

Based on the script output please:

If nmap is missing the following text would be included in the script output (the description of a NASL can't be changed during run time so this approach had to be chosen) which isn't the case based on your provided screenshot:

if( ! get_kb_item( "Tools/Present/nmap" ) ) {
  report += '\n - The "nmap" binary/package is not installed or not accessible by the scanner.';
}

(see 2018/gb_portscanner_missing.nasl)

from gvm_install.

yu210148 avatar yu210148 commented on July 30, 2024

Interestingly, this doesn't seem to affect GVM version 21 on Debian 10. I did a test install and scan with it earlier today and it worked as expected.

from gvm_install.

c0y0te-git avatar c0y0te-git commented on July 30, 2024

Wow after hours of banging my head against a wall with this problem, I came across your post and it fixed everything perfectly. Seems it was the default Full and Fast scan all along. Thanks Kev!

from gvm_install.

yu210148 avatar yu210148 commented on July 30, 2024

from gvm_install.

itkroplis avatar itkroplis commented on July 30, 2024

Yahh its works well.

from gvm_install.

yu210148 avatar yu210148 commented on July 30, 2024

from gvm_install.

Related Issues (20)

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.