Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki Addition #648

Open
ladderlogix opened this issue Aug 18, 2024 · 2 comments
Open

Wiki Addition #648

ladderlogix opened this issue Aug 18, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@ladderlogix
Copy link

Under Things-you-may-want-to-do-with-RustScan-but-don't-understand-how.md add this section

Exporting Nmap Reports

Create a place on the machine for the output

mkdir -p /report

Give it permissions for docker to write to

chmod 777 /report

Adding the docker options for a mapped file

docker run -it --rm --name rustscan -v /report:/output rustscan/rustscan:2.1.1 -a 10.1.1.2 -- -oA /output/xml
@bee-san bee-san added the good first issue Good for newcomers label Nov 26, 2024
@thelatesthuman
Copy link

Hey,
I am new to open source and rust, so I want to get more experience with both by getting more involved in a project like this.

First, I have been running tests on the docker version (2.1.1) based on the commands described above and the docker version doesn't seem to be able to use the -oA,-oN,-oX,-oG flags. I tried variations on the command by trying the latest docker version, changing/removing flags, and trying other nmap flags such as -A and -sV (these other nmap flags work). I also tried all this on the version from kali (2.3.0) and that one works just fine. It seems that just with the docker versions of rustscan, the output write flags for nmap don't work.

Second, as more of a procedural open source question, I want to know how I can add information like the info above to the Under Things-you-may-want-to-do-with-RustScan-but-don't-understand-how.md considering it isn't part of the source code, but is on a separate page I can't clone from the main repo.

And lastly, I have found spelling/grammar errors in the comments for scripts/mod.rs. Is it cool if I change them in the fork I made then perform a pull request?

Thank you!

@ladderlogix
Copy link
Author

First, I have been running tests on the docker version (2.1.1) based on the commands described above and the docker version doesn't seem to be able to use the -oA,-oN,-oX,-oG flags. I tried variations on the command by trying the latest docker version, changing/removing flags, and trying other nmap flags such as -A and -sV (these other nmap flags work). I also tried all this on the version from kali (2.3.0) and that one works just fine. It seems that just with the docker versions of rustscan, the output write flags for nmap don't work.

How did you install docker? If it was installed through snap it runs into issues with appguard. It works just fine on my machine when installed through apt on kali.
image

Second, as more of a procedural open source question, I want to know how I can add information like the info above to the Under Things-you-may-want-to-do-with-RustScan-but-don't-understand-how.md considering it isn't part of the source code, but is on a separate page I can't clone from the main repo.

Correct that is why i created this issue so a contributor can edit it. Like @bee-san

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants