Git Product home page Git Product logo

Comments (5)

Ullaakut avatar Ullaakut commented on August 15, 2024 1

Hi @357711589 !

Using the same nmap version you did, on MacOS, I was able to reproduce this issue:

$> /usr/local/bin/nmap baidu.com -T3 --max-retries 2 --version-intensity 7 --max-rtt-timeout 3600000ms -p 1-700 --max-parallelism 20 -oX -

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nmaprun>
<?xml-stylesheet href="file:///usr/local/bin/../share/nmap/nmap.xsl" type="text/xsl"?>
<!-- Nmap 7.80 scan initiated Sat Sep 19 13:21:17 2020 as: /usr/local/bin/nmap -T3 -&#45;max-retries 2 -&#45;version-intensity 7 -&#45;max-rtt-timeout 3600000ms -p 1-700 -&#45;max-parallelism 20 -oX - baidu.com -->
<nmaprun scanner="nmap" args="/usr/local/bin/nmap -T3 -&#45;max-retries 2 -&#45;version-intensity 7 -&#45;max-rtt-timeout 3600000ms -p 1-700 -&#45;max-parallelism 20 -oX - baidu.com" start="1600514477" startstr="Sat Sep 19 13:21:17 2020" version="7.80" xmloutputversion="1.04">
<scaninfo type="connect" protocol="tcp" numservices="700" services="1-700"/>
<verbose level="0"/>
<debugging level="0"/>

Assertion failed: (bmin <= bmax), function box, file ./utils.h, line 163.
fish: '/usr/local/bin/nmap baidu.com -…' terminated by signal SIGABRT (Abort)

It seems like it's a bug with nmap, where it attempts to make an assertion and aborts the execution because it is not met.

In the meantime, I'm not sure what to do besides to try to tweak the parameters until you find something that does not trigger this bug. Also, don't hesitate to report it to the nmap issue tracker.

(as you can see, there have been other similar issues in the past: https://github.com/nmap/nmap/issues?q=assertion+failed)

from nmap.

Ullaakut avatar Ullaakut commented on August 15, 2024

Hi @357711589, thanks for reporting this issue, I'll look into it when I have some time :) unable to parse nmap output should not happen, so it might be due to your version of nmap, I need to check on my side if I get the same result when running the same command.

from nmap.

wuruipeng404 avatar wuruipeng404 commented on August 15, 2024

Hi @357711589, thanks for reporting this issue, I'll look into it when I have some time :) unable to parse nmap output should not happen, so it might be due to your version of nmap, I need to check on my side if I get the same result when running the same command.

nmap version is 7.80
macOS version also the latest version

This error sometimes occurs, sometimes not。
So it makes me very confused

from nmap.

wuruipeng404 avatar wuruipeng404 commented on August 15, 2024

Hi @357711589 !

Using the same nmap version you did, on MacOS, I was able to reproduce this issue:

$> /usr/local/bin/nmap baidu.com -T3 --max-retries 2 --version-intensity 7 --max-rtt-timeout 3600000ms -p 1-700 --max-parallelism 20 -oX -

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nmaprun>
<?xml-stylesheet href="file:///usr/local/bin/../share/nmap/nmap.xsl" type="text/xsl"?>
<!-- Nmap 7.80 scan initiated Sat Sep 19 13:21:17 2020 as: /usr/local/bin/nmap -T3 -&#45;max-retries 2 -&#45;version-intensity 7 -&#45;max-rtt-timeout 3600000ms -p 1-700 -&#45;max-parallelism 20 -oX - baidu.com -->
<nmaprun scanner="nmap" args="/usr/local/bin/nmap -T3 -&#45;max-retries 2 -&#45;version-intensity 7 -&#45;max-rtt-timeout 3600000ms -p 1-700 -&#45;max-parallelism 20 -oX - baidu.com" start="1600514477" startstr="Sat Sep 19 13:21:17 2020" version="7.80" xmloutputversion="1.04">
<scaninfo type="connect" protocol="tcp" numservices="700" services="1-700"/>
<verbose level="0"/>
<debugging level="0"/>

Assertion failed: (bmin <= bmax), function box, file ./utils.h, line 163.
fish: '/usr/local/bin/nmap baidu.com -…' terminated by signal SIGABRT (Abort)

It seems like it's a bug with nmap, where it attempts to make an assertion and aborts the execution because it is not met.

In the meantime, I'm not sure what to do besides to try to tweak the parameters until you find something that does not trigger this bug. Also, don't hesitate to report it to the nmap issue tracker.

(as you can see, there have been other similar issues in the past: https://github.com/nmap/nmap/issues?q=assertion+failed)

OK, thanks a lot.

from nmap.

Ullaakut avatar Ullaakut commented on August 15, 2024

Closing this here, then

from nmap.

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.