Giter Club home page Giter Club logo

Comments (6)

CMNatic avatar CMNatic commented on June 11, 2024 2

Hey @w0lfcat 👋🏻 yes this is indeed a Nmap fault. I tested this on the same version of Nmap that the rustscan:2.1.1 docker image uses (nmap 7.80) on a seperate VM (and just installing nmap, not even using RustScan) and could replicate it.

Updating to Nmap 7.93 worked docker run -it --rm --name rustscan rustscan:nmap793-a scanme.nmap.org -- -oN /tmp/test (note that you'll need to provide a path that has write permissions. (/tmp worked).

Simply building a RustScan image from the Dockerfile in the repo will update everything. I'll see about updating the images on the DockerHub to use at least Nmap 7.93, but i'll need to review the Nmap changelogs to see if it might break anything (I.e. different syntax/formatted expected)

image

from rustscan.

zevelix avatar zevelix commented on June 11, 2024 1

These are both nmap issues.

@sakyb7 Your error is because you switched the capitalization of the nmap flags. You want -sV -sC not -Sv -Sc

from rustscan.

sakyb7 avatar sakyb7 commented on June 11, 2024

facing same issue.

rustscan -a 10.10.55.125 -r 1-1000  -- -Sc -Sv
.----. .-. .-. .----..---.  .----. .---.   .--.  .-. .-.
| {}  }| { } |{ {__ {_   _}{ {__  /  ___} / {} \ |  `| |
| .-. \| {_} |.-._} } | |  .-._} }\     }/  /\  \| |\  |
`-' `-'`-----'`----'  `-'  `----'  `---' `-'  `-'`-' `-'
The Modern Day Port Scanner.
________________________________________
: http://discord.skerritt.blog           :
: https://github.com/RustScan/RustScan :
 --------------------------------------
🌍HACK THE PLANET🌍

[~] The config file is expected to be at "/home/kali/.rustscan.toml"
[!] File limit is lower than default batch size. Consider upping with --ulimit. May cause harm to sensitive servers
[!] Your file limit is very small, which negatively impacts RustScan's speed. Use the Docker image, or up the Ulimit with '--ulimit 5000'. 
Open 10.10.55.125:80
Open 10.10.55.125:135
[~] Starting Script(s)
[>] Running script "nmap -vvv -p {{port}} {{ip}} -Sc -Sv" on ip 10.10.55.125
Depending on the complexity of the script, results may take some time to appear.
You can only use the source option once!  Use -D <decoy1> -D <decoy2> etc. for decoys

QUITTING!
[!] Error Exit code = 1

someone please help to resolve this issue

from rustscan.

chintanpuggalok avatar chintanpuggalok commented on June 11, 2024

hey i will try this out!

from rustscan.

w0lfcat avatar w0lfcat commented on June 11, 2024

Thanks @CMNatic CMNatic, I did try to build this with the following command, but still can't save the output with similar error.

git clone https://github.com/RustScan/RustScan
cd RustScan
docker build -t rustscan .

What was the exact command did you use to build it?

I have write permission as the output is saved in my home directory.

Second question, how do you find out the nmap version in the rustscan docker container? I tried the following to get access to bash but did not work

docker exec -it RustScan bash

from rustscan.

w0lfcat avatar w0lfcat commented on June 11, 2024

Can you try to run the command inside /tmp instead of -oN /tmp/test

Try this

cd /tmp
docker run -it rustscan -a 10.10.10.10 -p 88 -- -oN test

instead of

docker run -it rustscan -a 10.10.10.10 -p 88 -- -oN /tmp/test

Did you see the file /tmp/test created?

$ pwd
/tmp

$ docker run -it rustscan -a 10.10.10.10 -p 88 -- -oN test
.----. .-. .-. .----..---.  .----. .---.   .--.  .-. .-.
| {}  }| { } |{ {__ {_   _}{ {__  /  ___} / {} \ |  `| |
| .-. \| {_} |.-._} } | |  .-._} }\     }/  /\  \| |\  |
`-' `-'`-----'`----'  `-'  `----'  `---' `-'  `-'`-' `-'
The Modern Day Port Scanner.
________________________________________
: http://discord.skerritt.blog/         :
: https://github.com/RustScan/RustScan :
 --------------------------------------
I don't always scan ports, but when I do, I prefer RustScan.

[~] The config file is expected to be at "/home/rustscan/.rustscan.toml"
[~] File limit higher than batch size. Can increase speed by increasing batch size '-b 1048476'.
Open 10.10.10.10:88
[~] Starting Script(s)
[>] Running script "nmap -vvv -p {{port}} {{ip}} -oN test" on ip 10.10.10.10
Depending on the complexity of the script, results may take some time to appear.
Failed to open normal output file output for writing: Permission denied (13)
[!] Error Exit code = 1

$ ls -lh                           
total 0

from rustscan.

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.