From 7fbef388a72a475cb6678e9a94fdfff7d8413de8 Mon Sep 17 00:00:00 2001 From: lapinou Date: Wed, 1 May 2024 01:25:31 +0200 Subject: [PATCH 1/3] Added Rustscan tool --- update-resources.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/update-resources.sh b/update-resources.sh index de5d7c7..2fbde4b 100755 --- a/update-resources.sh +++ b/update-resources.sh @@ -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" + 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 From ba53161ab0c807efca3e60645fda623651f28e19 Mon Sep 17 00:00:00 2001 From: lapinou Date: Wed, 1 May 2024 01:26:55 +0200 Subject: [PATCH 2/3] Update update-resources.sh --- update-resources.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update-resources.sh b/update-resources.sh index 2fbde4b..faadad0 100755 --- a/update-resources.sh +++ b/update-resources.sh @@ -328,6 +328,7 @@ function add_resources() { add_ysoserial_net add_http-put-server add_chisel + add_rustscan add_ligolo-ng update_submodules } From 9bfd50e984f054347cc466b763737eae7d6af979 Mon Sep 17 00:00:00 2001 From: lapinou Date: Wed, 1 May 2024 01:31:10 +0200 Subject: [PATCH 3/3] Update update-resources.sh --- update-resources.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-resources.sh b/update-resources.sh index faadad0..ddaf66f 100755 --- a/update-resources.sh +++ b/update-resources.sh @@ -255,7 +255,7 @@ function add_chisel() { function add_rustscan() { info "Downloading Rustscan" - chkfs "./windows/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')