From 5df701f9ff6615f24f2a105ac34fbfca55b496ca Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Thu, 4 Apr 2024 00:07:55 +0800 Subject: [PATCH] Fix --- functions/opensquat.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/functions/opensquat.sh b/functions/opensquat.sh index 7008f8f7b..f9138eb40 100644 --- a/functions/opensquat.sh +++ b/functions/opensquat.sh @@ -31,31 +31,31 @@ opensquat() { # Filter out previously processed domains and known dead or parked domains comm -23 "$NRD" <(sort old_nrd.tmp "$DEAD_DOMAINS" "$PARKED_DOMAINS") > new_nrd.tmp - # Split file into 12 equal files - split -d -l $(( $(wc -l < new_nrd.txt) / 12 )) new_nrd.txt + # Split file into 12 equal files + split -d -l $(( $(wc -l < new_nrd.tmp) / 12 )) new_nrd.tmp # Run checks in parallel - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x00 -o results_x00.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x01 -o results_x01.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x02 -o results_x02.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x03 -o results_x03.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x04 -o results_x04.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x05 -o results_x05.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x06 -o results_x06.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x07 -o results_x07.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x08 -o results_x08.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x09 -o results_x09.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x10 -o results_x10.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x11 -o results_x11.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x12 -o results_x12.txt & - python3 opensquat.py -k "$KEYWORDS" -c 0 -d x13 -o results_x13.txt + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x00 -o results_x00.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x01 -o results_x01.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x02 -o results_x02.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x03 -o results_x03.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x04 -o results_x04.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x05 -o results_x05.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x06 -o results_x06.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x07 -o results_x07.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x08 -o results_x08.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x09 -o results_x09.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x10 -o results_x10.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x11 -o results_x11.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x12 -o results_x12.tmp & + python3 opensquat.py -k "$KEYWORDS" -c 0 -d x13 -o results_x13.tmp wait rm x?? mkdir -p data/pending - cat results_x??.txt > data/pending/domains_opensquat.tmp 2> /dev/null - rm results_x??.txt 2> /dev/null + cat results_x??.tmp > data/pending/domains_opensquat.tmp 2> /dev/null + rm results_x??.tmp 2> /dev/null format_file data/pending/domains_opensquat.tmp }