Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Fix filename for oshi

six2dez1b83898be415
diff --git a/reconftw.sh b/reconftw.sh
index c5e3a6f..7cbe6ae 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -2742,13 +2742,13 @@ function transfer {
fi
if [[ -d $file ]]; then
file_name="$file_name.zip"
- (cd "$file" && zip -r -q - .) | curl --progress-bar --upload-file "-" "https://oshi.at" | tee /dev/null
+ (cd "$file" && zip -r -q - .) | curl --progress-bar --upload-file "-" "https://oshi.at/${file_name}" | tee /dev/null
else
- cat "$file" | curl --progress-bar --upload-file "-" "https://oshi.at" | tee /dev/null
+ cat "$file" | curl --progress-bar --upload-file "-" "https://oshi.at/${file_name}" | tee /dev/null
fi
else
file_name=$1
- curl --progress-bar --upload-file "-" "https://oshi.at" | tee /dev/null
+ curl --progress-bar --upload-file "-" "https://oshi.at/${file_name}" | tee /dev/null
fi
}