diff --git a/README.md b/README.md index 37380fc..e609d4d 100644 --- a/README.md +++ b/README.md @@ -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 ``` @@ -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. -``` +```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 . ``` @@ -179,13 +179,13 @@ docker build -t . Tap the brew: -``` +```bash brew tap brandonskerritt/rustscan ``` Install it: -``` +```bash brew install rustscan ``` @@ -208,11 +208,11 @@ If you maintain a community distribution and want it listed here, leave an issue # 🤸 Usage -``` +```bash rustscan -h ``` -``` +```console 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 +287,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 +301,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 ```