Comments (6)
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)
from rustscan.
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.
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.
hey i will try this out!
from rustscan.
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.
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)
- add RTT in output once it is able to detect the open port HOT 1
- Local docker build fails HOT 1
- unable to run custom scripts on windows HOT 2
- The -q option does not work HOT 3
- --range <start-end>, only contain start, But not end port
- Front PAge Website HOT 1
- Broken Links
- How to install rustscan under Linux arm HOT 1
- Rustscan crash with failed memory allocation HOT 1
- Small inconsistency with your banner
- RustScan scripts parser error
- Hit or Miss on ports HOT 1
- The --no-nmap option does not work HOT 1
- ADD EXCLUDING PORTS DURING SCAN HOT 1
- Add stable tag to docker HOT 1
- Markdown Link Check Job Fails
- Rustscan hallucinating open ports on non-existent IPs HOT 3
- rustscan-2.2.2-x86_64-linux.tar.xz still contains the old version HOT 11
- Could you please make an Arm Debian package? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustscan.