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

Rustscan #27

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions update-resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,18 @@ function add_chisel() {
add-to-list "Chisel,https://github.com/jpillora/chisel,A fast TCP/UDP tunnel over HTTP"
}

function add_rustscan() {
info "Downloading Rustscan"
chkfs "./windows/rustscan.exe"
chkfs "./linux/rustscan"
URL="https://github.com/RustScan/RustScan/releases"
VERSION=$(curl "https://api.github.com/repos/RustScan/RustScan/tags" -s | jq -r '.[0].name')
wget -O - "${URL}/download/${VERSION}/rustscan-${VERSION}-x86_64-linux.tar.xz" | tar xJf - --strip-components 1 -C ./linux/
wget -O rustscan.zip "${URL}/download/${VERSION}/rustscan-${VERSION}-x86_64-windows.zip"
unzip -j rustscan.zip -d ./windows/
add-to-list "Rustscan,https://github.com/RustScan/RustScan,The Modern Port Scanner"
}

function update_submodules() {
info "Updating git submodules"
git submodule update --init --recursive --remote --merge
Expand Down Expand Up @@ -316,6 +328,7 @@ function add_resources() {
add_ysoserial_net
add_http-put-server
add_chisel
add_rustscan
add_ligolo-ng
update_submodules
}
Expand Down