mirror of
https://github.com/bee-san/RustScan.git
synced 2026-11-07 09:46:04 -10:00
Merge pull request #176 from niklasmohrin/improve-readme
README.md tweaks
This commit is contained in:
1 file changed
+13
-15
@@ -136,7 +136,7 @@ We strongly recommend using the `alpine` tag, as this is the latest major - stab
|
||||
|
||||
Simply run this command against the IP you want to target:
|
||||
|
||||
```
|
||||
```bash
|
||||
docker run -it --rm --name rustscan rustscan/rustscan:alpine <rustscan arguments here> <ip address to scan>
|
||||
```
|
||||
|
||||
@@ -146,30 +146,30 @@ Once done, you will no longer need to re-download the image (except when RustSca
|
||||
|
||||
You will have to run this command every time, so we suggest aliasing it to something memorable.
|
||||
|
||||
```
|
||||
alias rustscan='docker run -it --rm --name rustscan rustscan/rustscan:alpine <rustscan arguments here> <ip address to scan>'
|
||||
```bash
|
||||
alias rustscan='docker run -it --rm --name rustscan rustscan/rustscan:alpine'
|
||||
```
|
||||
|
||||
Then we can:
|
||||
|
||||
```
|
||||
```bash
|
||||
rustscan 127.0.0.1 -t 500 -b 1500 -- -A
|
||||
```
|
||||
|
||||
#### To build your own image:
|
||||
|
||||
Download the repo:
|
||||
```
|
||||
```bash
|
||||
git clone https://github.com/RustScan/RustScan.git
|
||||
```
|
||||
|
||||
Ensure you navigate to the download location of the repo:
|
||||
```
|
||||
```bash
|
||||
cd /path/to/download/RustScan
|
||||
```
|
||||
|
||||
Build away!
|
||||
```
|
||||
```bash
|
||||
docker build -t <yourimagename> .
|
||||
```
|
||||
|
||||
@@ -179,13 +179,13 @@ docker build -t <yourimagename> .
|
||||
|
||||
Tap the brew:
|
||||
|
||||
```
|
||||
```bash
|
||||
brew tap brandonskerritt/rustscan
|
||||
```
|
||||
|
||||
Install it:
|
||||
|
||||
```
|
||||
```bash
|
||||
brew install rustscan
|
||||
```
|
||||
|
||||
@@ -208,11 +208,9 @@ If you maintain a community distribution and want it listed here, leave an issue
|
||||
|
||||
# 🤸 Usage
|
||||
|
||||
```
|
||||
rustscan -h
|
||||
```
|
||||
```console
|
||||
$ rustscan -h
|
||||
|
||||
```
|
||||
Fast Port Scanner built in Rust. WARNING Do not use this program against sensitive infrastructure since the specified
|
||||
server may not be able to handle this many socket connections at once. - Discord https://discord.gg/GFrQsGy - GitHub
|
||||
https://github.com/RustScan/RustScan
|
||||
@@ -287,7 +285,7 @@ Decreasing batch size slows down the program, so as long as it isn't too drastic
|
||||
|
||||
Run these 3 commands:
|
||||
|
||||
```
|
||||
```bash
|
||||
ulimit -a
|
||||
ulimit -Hn
|
||||
ulimit -Sn
|
||||
@@ -301,7 +299,7 @@ Increasing the open file limit increases speed, but poses danger. Although, **op
|
||||
|
||||
To open more, set the ulimit to a higher number:
|
||||
|
||||
```
|
||||
```bash
|
||||
ulimit -n 5000
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user