proxytools

- collection of scripts for harvesting & testing proxies
git clone git://git.acid.vegas/proxytools.git
Log | Files | Refs | Archive | README | LICENSE

commit 56a6a129949f4902b8d256e11b85cc53ed0ff498
parent 3cc0558cc534ab484b8145764881c650badc9ac8
Author: Dionysus <acidvegas@users.noreply.github.com>
Date: Sat, 11 Nov 2023 13:40:17 -0500

Merge pull request #4 from limonatasuyu/patch-1 Fixed syntax error.

Diffstat:
Mshellsocked | 5++---

1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/shellsocked b/shellsocked
@@ -13,7 +13,7 @@ scrape_url() {
     echo -e "Found \033[32m${count}\033[0m proxies on \033[33m${url}\033[0m"
 }
 
-if [ -n "$1" ]
+if [ -n "$1" ]; then
     PROXIES=""
     if [ -f "$1" ]; then
         while IFS= read -r url; do
@@ -31,4 +31,4 @@ PROXIES=$(printf "%s\n" "$PROXIES" | sort -u)
 printf "%s\n" "$PROXIES" > proxies.txt
 
 total_count=$(echo "$PROXIES" | wc -l)
-echo "Grand Total: ${total_count} proxies"
-\ No newline at end of file
+echo "Grand Total: ${total_count} proxies"