# 2025.03.30 - [ranoz] Fix to handle new cookie requirements
# 2025.03.28 - [up_ranoz] Fix to handle new cookie requirements # 2025.03.28 - [up_anonfileio] Add anonfile.io as upload host # 2025.03.28 - [anonfileio] Add anonfile.io as download host # 2025.03.25 - [up_ranoz] Disable MAD randomized extension on uploads (7z block disabled) # 2025.03.21 - [mad] Update random user agents 2025.03 # 2025.03.20 - [jira hosts] Update 3 jira hosts (retention and maxsize) # 2025.03.16 - [torup] Fix torup cookies # 2025.03.15 - [1fichier] Get new node prior to cdn download (greater possibility of a faster node) # 2025.03.10 - [uploadscloud] Add uploadscloud.com as download host
This commit is contained in:
parent
a62ac882de
commit
270e378e08
18 changed files with 1338 additions and 630 deletions
|
|
@ -1,4 +1,4 @@
|
|||
DateTime: 25.03.08
|
||||
DateTime: 25.03.30
|
||||
|
||||
Files:
|
||||
./hosts/1fichier.sh
|
||||
|
|
@ -6,6 +6,7 @@ Files:
|
|||
./hosts/acid.sh
|
||||
./hosts/anarchaserver.sh
|
||||
./hosts/anonfile.sh
|
||||
./hosts/anonfileio.sh
|
||||
./hosts/anonsharing.sh
|
||||
./hosts/archived/nekofile.sh
|
||||
./hosts/ateasystems.sh
|
||||
|
|
@ -79,10 +80,12 @@ Files:
|
|||
./hosts/uploadev.sh
|
||||
./hosts/uploadflix.sh
|
||||
./hosts/uploadhive.sh
|
||||
./hosts/uploadscloud.sh
|
||||
./hosts/up_1fichier.sh
|
||||
./hosts/up_acid.sh
|
||||
./hosts/up_anarchaserver.sh
|
||||
./hosts/up_anonfile.sh
|
||||
./hosts/up_anonfileio.sh
|
||||
./hosts/up_anonsharing.sh
|
||||
./hosts/up_ateasystems.sh
|
||||
./hosts/up_axfc.sh
|
||||
|
|
@ -199,29 +202,29 @@ _________________________________________________________________________
|
|||
./hosts/1fichier.sh:203: if [[ -z "$file_header" ]] || [[ -z "$file_size_bytes" ]]; then
|
||||
./hosts/1fichier.sh:204: continue
|
||||
--
|
||||
./hosts/1fichier.sh:261: tor_curl_request --insecure -e "${remote_url}" "${target_file_link}" -C - -o "${file_path}"
|
||||
./hosts/1fichier.sh:262: rm -f "$flockDownload";
|
||||
./hosts/1fichier.sh:263: received_file_size=0
|
||||
./hosts/1fichier.sh:264: if [[ -f "$file_path" ]] ; then
|
||||
./hosts/1fichier.sh:265: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./hosts/1fichier.sh:266: fi
|
||||
./hosts/1fichier.sh:267: if [[ "${received_file_size}" -ne "${file_size_bytes}" ]]; then
|
||||
./hosts/1fichier.sh:268: echo -e "${RED}ERROR: Size mismatch after downloading${NC}\nPerhaps you or 1fichier lost connection for a while?"
|
||||
./hosts/1fichier.sh:269: if [[ "${finalAttempt}" == "true" ]] ; then
|
||||
./hosts/1fichier.sh:270: droppedSizeBadDownload "${remote_url}" "${filename}" "${received_file_size}"
|
||||
./hosts/1fichier.sh:271: fi
|
||||
./hosts/1fichier.sh:262: tor_curl_request --insecure -e "${remote_url}" "${target_file_link}" -C - -o "${file_path}"
|
||||
./hosts/1fichier.sh:263: rm -f "$flockDownload";
|
||||
./hosts/1fichier.sh:264: received_file_size=0
|
||||
./hosts/1fichier.sh:265: if [[ -f "$file_path" ]] ; then
|
||||
./hosts/1fichier.sh:266: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./hosts/1fichier.sh:267: fi
|
||||
./hosts/1fichier.sh:268: if [[ "${received_file_size}" -ne "${file_size_bytes}" ]]; then
|
||||
./hosts/1fichier.sh:269: echo -e "${RED}ERROR: Size mismatch after downloading${NC}\nPerhaps you or 1fichier lost connection for a while?"
|
||||
./hosts/1fichier.sh:270: if [[ "${finalAttempt}" == "true" ]] ; then
|
||||
./hosts/1fichier.sh:271: droppedSizeBadDownload "${remote_url}" "${filename}" "${received_file_size}"
|
||||
./hosts/1fichier.sh:272: fi
|
||||
--
|
||||
./hosts/1fichier.sh:354: PAGE=$(tor_curl_request --insecure --max-time "$ConnectTimeout" -c "${fich_cookie_jar}" -s "${remote_url}")
|
||||
./hosts/1fichier.sh:355: if [[ -z ${PAGE} ]]; then
|
||||
./hosts/1fichier.sh:356: rm -f "${fich_cookie_jar}"
|
||||
./hosts/1fichier.sh:357: continue
|
||||
./hosts/1fichier.sh:358: fi
|
||||
./hosts/1fichier.sh:359: if grep -Eqi '<span style="color:red">Warning !</span>|<span style="color:red">Attention !</span>' <<< "${PAGE}"; then
|
||||
./hosts/1fichier.sh:360: rm -f "${fich_cookie_jar}"
|
||||
./hosts/1fichier.sh:361: continue
|
||||
./hosts/1fichier.sh:362: else
|
||||
./hosts/1fichier.sh:363: fich_adz_parameter=$(grep -oPi 'name="adz" value="\K[^"]+' <<< "${PAGE}")
|
||||
./hosts/1fichier.sh:364: if [[ $fich_adz_parameter ]]; then
|
||||
./hosts/1fichier.sh:355: PAGE=$(tor_curl_request --insecure --max-time "$ConnectTimeout" -c "${fich_cookie_jar}" -s "${remote_url}")
|
||||
./hosts/1fichier.sh:356: if [[ -z ${PAGE} ]]; then
|
||||
./hosts/1fichier.sh:357: rm -f "${fich_cookie_jar}"
|
||||
./hosts/1fichier.sh:358: continue
|
||||
./hosts/1fichier.sh:359: fi
|
||||
./hosts/1fichier.sh:360: if grep -Eqi '<span style="color:red">Warning !</span>|<span style="color:red">Attention !</span>' <<< "${PAGE}"; then
|
||||
./hosts/1fichier.sh:361: rm -f "${fich_cookie_jar}"
|
||||
./hosts/1fichier.sh:362: continue
|
||||
./hosts/1fichier.sh:363: else
|
||||
./hosts/1fichier.sh:364: fich_adz_parameter=$(grep -oPi 'name="adz" value="\K[^"]+' <<< "${PAGE}")
|
||||
./hosts/1fichier.sh:365: if [[ $fich_adz_parameter ]]; then
|
||||
--
|
||||
./hosts/9saves.sh:90: response=$(tor_curl_request --insecure -L -s -b "${ns_cookie_jar}" -c "${ns_cookie_jar}" "$remote_url")
|
||||
./hosts/9saves.sh:91: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
|
|
@ -1935,62 +1938,62 @@ _________________________________________________________________________
|
|||
./hosts/quax.sh:187: containsHtml=true
|
||||
./hosts/quax.sh:188: fi
|
||||
--
|
||||
./hosts/ranoz.sh:90: response=$(tor_curl_request --insecure -L -s "$remote_url")
|
||||
./hosts/ranoz.sh:91: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/ranoz.sh:92: debugHtml "${remote_url##*/}" "rz_fetch$i" "${response}"
|
||||
./hosts/ranoz.sh:93: fi
|
||||
./hosts/ranoz.sh:94: if [[ -z $response ]] ; then
|
||||
./hosts/ranoz.sh:95: if [[ $i == $maxfetchretries ]] ; then
|
||||
./hosts/ranoz.sh:96: printf "\\n"
|
||||
./hosts/ranoz.sh:97: echo -e "${RED}| Failed to extract download url [1]${NC}"
|
||||
./hosts/ranoz.sh:98: warnAndRetryUnknownError=true
|
||||
./hosts/ranoz.sh:99: if [[ "${finalAttempt}" == "true" ]] ; then
|
||||
./hosts/ranoz.sh:100: failedRetryDownload "${remote_url}" "Failed to extract download url [1]" ""
|
||||
./hosts/ranoz.sh:92: response=$(tor_curl_request --insecure -L -i -s \
|
||||
./hosts/ranoz.sh:93: -b "${rz_cookie_jar}" -c "${rz_cookie_jar}" \
|
||||
./hosts/ranoz.sh:94: "$remote_url")
|
||||
./hosts/ranoz.sh:95: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/ranoz.sh:96: debugHtml "${remote_url##*/}" "rz_fetch$i" "${response}"
|
||||
./hosts/ranoz.sh:97: fi
|
||||
./hosts/ranoz.sh:98: if [[ -z $response ]] ; then
|
||||
./hosts/ranoz.sh:99: if [[ $i == $maxfetchretries ]] ; then
|
||||
./hosts/ranoz.sh:100: rm -f "${rz_cookie_jar}";
|
||||
./hosts/ranoz.sh:101: printf "\\n"
|
||||
./hosts/ranoz.sh:102: echo -e "${RED}| Failed to extract download url [1]${NC}"
|
||||
--
|
||||
./hosts/ranoz.sh:160: file_header=$(tor_curl_request --insecure --head -L -i -s "$download_url")
|
||||
./hosts/ranoz.sh:161: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/ranoz.sh:162: debugHtml "${remote_url##*/}" "rz_head$j" "download_url: ${download_url}"$'\n'"${file_header}"
|
||||
./hosts/ranoz.sh:163: fi
|
||||
./hosts/ranoz.sh:164: if [[ -z $file_header ]] ; then
|
||||
./hosts/ranoz.sh:165: if [[ $j == $maxfetchretries ]] ; then
|
||||
./hosts/ranoz.sh:166: rm -f "${rz_cookie_jar}";
|
||||
./hosts/ranoz.sh:167: printf "\\n"
|
||||
./hosts/ranoz.sh:168: echo -e "${RED}| Failed to extract file info${NC}"
|
||||
./hosts/ranoz.sh:169: warnAndRetryUnknownError=true
|
||||
./hosts/ranoz.sh:170: if [[ "${finalAttempt}" == "true" ]] ; then
|
||||
./hosts/ranoz.sh:168: file_header=$(tor_curl_request --insecure --head -L -i -s \
|
||||
./hosts/ranoz.sh:169: -b "${rz_cookie_jar}" -c "${rz_cookie_jar}" \
|
||||
./hosts/ranoz.sh:170: "$download_url")
|
||||
./hosts/ranoz.sh:171: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/ranoz.sh:172: debugHtml "${remote_url##*/}" "rz_head$j" "download_url: ${download_url}"$'\n'"${file_header}"
|
||||
./hosts/ranoz.sh:173: fi
|
||||
./hosts/ranoz.sh:174: if [[ -z $file_header ]] ; then
|
||||
./hosts/ranoz.sh:175: if [[ $j == $maxfetchretries ]] ; then
|
||||
./hosts/ranoz.sh:176: rm -f "${rz_cookie_jar}";
|
||||
./hosts/ranoz.sh:177: printf "\\n"
|
||||
./hosts/ranoz.sh:178: echo -e "${RED}| Failed to extract file info${NC}"
|
||||
--
|
||||
./hosts/ranoz.sh:272: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:273: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/ranoz.sh:274: "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/ranoz.sh:275: else
|
||||
./hosts/ranoz.sh:276: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:277: "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/ranoz.sh:278: fi
|
||||
./hosts/ranoz.sh:279: else
|
||||
./hosts/ranoz.sh:280: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./hosts/ranoz.sh:281: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:282: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/ranoz.sh:283: -H "User-Agent: $RandomUA" \
|
||||
./hosts/ranoz.sh:284: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/ranoz.sh:285: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/ranoz.sh:286: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/ranoz.sh:287: -H "Connection: keep-alive" \
|
||||
./hosts/ranoz.sh:288: -H "Cookie: lng=eng" \
|
||||
./hosts/ranoz.sh:289: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/ranoz.sh:290: -H "Sec-Fetch-Dest: document" \
|
||||
./hosts/ranoz.sh:291: -H "Sec-Fetch-Mode: navigate" \
|
||||
./hosts/ranoz.sh:283: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:284: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/ranoz.sh:285: "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/ranoz.sh:286: else
|
||||
./hosts/ranoz.sh:287: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:288: "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/ranoz.sh:289: fi
|
||||
./hosts/ranoz.sh:290: else
|
||||
./hosts/ranoz.sh:291: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./hosts/ranoz.sh:292: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:293: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/ranoz.sh:294: -H "User-Agent: $RandomUA" \
|
||||
./hosts/ranoz.sh:295: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/ranoz.sh:296: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/ranoz.sh:297: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/ranoz.sh:298: -H "Connection: keep-alive" \
|
||||
./hosts/ranoz.sh:299: -H "Cookie: lng=eng" \
|
||||
./hosts/ranoz.sh:300: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/ranoz.sh:301: -H "Sec-Fetch-Dest: document" \
|
||||
./hosts/ranoz.sh:302: -H "Sec-Fetch-Mode: navigate" \
|
||||
--
|
||||
./hosts/ranoz.sh:296: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:297: -H "User-Agent: $RandomUA" \
|
||||
./hosts/ranoz.sh:298: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/ranoz.sh:299: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/ranoz.sh:300: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/ranoz.sh:301: -H "Connection: keep-alive" \
|
||||
./hosts/ranoz.sh:302: -H "Cookie: lng=eng" \
|
||||
./hosts/ranoz.sh:303: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/ranoz.sh:304: -H "Sec-Fetch-Dest: document" \
|
||||
./hosts/ranoz.sh:305: -H "Sec-Fetch-Mode: navigate" \
|
||||
./hosts/ranoz.sh:306: -H "Sec-Fetch-Site: same-origin" \
|
||||
./hosts/ranoz.sh:307: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/ranoz.sh:308: -H "User-Agent: $RandomUA" \
|
||||
./hosts/ranoz.sh:309: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/ranoz.sh:310: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/ranoz.sh:311: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/ranoz.sh:312: -H "Connection: keep-alive" \
|
||||
./hosts/ranoz.sh:313: -H "Cookie: lng=eng" \
|
||||
./hosts/ranoz.sh:314: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/ranoz.sh:315: -H "Sec-Fetch-Dest: document" \
|
||||
./hosts/ranoz.sh:316: -H "Sec-Fetch-Mode: navigate" \
|
||||
./hosts/ranoz.sh:317: -H "Sec-Fetch-Site: same-origin" \
|
||||
--
|
||||
./hosts/sendnow.sh:89: response=$(tor_curl_request --insecure -L -s -b "${snow_cookie_jar}" -c "${snow_cookie_jar}" "$remote_url")
|
||||
./hosts/sendnow.sh:90: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
|
|
@ -2276,7 +2279,7 @@ _________________________________________________________________________
|
|||
./hosts/tempsh.sh:260: -H "Sec-Fetch-User: ?1" \
|
||||
--
|
||||
./hosts/torup.sh:92: response=$(tor_curl_request --insecure -L -s \
|
||||
./hosts/torup.sh:93: -c "${fdot_cookie_jar}" \
|
||||
./hosts/torup.sh:93: -b "${torp_cookie_jar}" -c "${torp_cookie_jar}" \
|
||||
./hosts/torup.sh:94: "$fixed_url")
|
||||
./hosts/torup.sh:95: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/torup.sh:96: debugHtml "${remote_url##*/}" "torp_fetch$i" "${response}"
|
||||
|
|
@ -2287,42 +2290,44 @@ _________________________________________________________________________
|
|||
./hosts/torup.sh:101: printf "\\n"
|
||||
./hosts/torup.sh:102: echo -e "${RED}| Failed to extract download url [1]${NC}"
|
||||
--
|
||||
./hosts/torup.sh:193: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:194: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/torup.sh:195: -b "${torp_cookie_jar}" -c "${torp_cookie_jar}" \
|
||||
./hosts/torup.sh:196: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:197: "$download_url" --output "$file_path"
|
||||
./hosts/torup.sh:198: else
|
||||
./hosts/torup.sh:199: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:200: -b "${torp_cookie_jar}" -c "${torp_cookie_jar}" \
|
||||
./hosts/torup.sh:201: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:202: "$download_url" --output "$file_path"
|
||||
./hosts/torup.sh:203: fi
|
||||
./hosts/torup.sh:204: else
|
||||
./hosts/torup.sh:205: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./hosts/torup.sh:206: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:207: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/torup.sh:208: -H "User-Agent: $RandomUA" \
|
||||
./hosts/torup.sh:209: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:210: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/torup.sh:211: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/torup.sh:212: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/torup.sh:213: -H "Connection: keep-alive" \
|
||||
./hosts/torup.sh:214: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/torup.sh:215: -H "Sec-Fetch-Dest: document" \
|
||||
./hosts/torup.sh:216: -H "Sec-Fetch-Mode: navigate" \
|
||||
./hosts/torup.sh:194: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:195: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/torup.sh:196: -b "${torp_cookie_jar}" -c "${torp_cookie_jar}" \
|
||||
./hosts/torup.sh:197: -H "Host: ktgzpea2b76u7fgemiibp4a76onyybo4fw5gbsagtm6jrjzmgivppyyd.onion" \
|
||||
./hosts/torup.sh:198: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:199: "$download_url" --output "$file_path"
|
||||
./hosts/torup.sh:200: else
|
||||
./hosts/torup.sh:201: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:202: -b "${torp_cookie_jar}" -c "${torp_cookie_jar}" \
|
||||
./hosts/torup.sh:203: -H "Host: ktgzpea2b76u7fgemiibp4a76onyybo4fw5gbsagtm6jrjzmgivppyyd.onion" \
|
||||
./hosts/torup.sh:204: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:205: "$download_url" --output "$file_path"
|
||||
./hosts/torup.sh:206: fi
|
||||
./hosts/torup.sh:207: else
|
||||
./hosts/torup.sh:208: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./hosts/torup.sh:209: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:210: --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval \
|
||||
./hosts/torup.sh:211: -H "User-Agent: $RandomUA" \
|
||||
./hosts/torup.sh:212: -H "Host: ktgzpea2b76u7fgemiibp4a76onyybo4fw5gbsagtm6jrjzmgivppyyd.onion" \
|
||||
./hosts/torup.sh:213: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:214: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/torup.sh:215: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/torup.sh:216: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/torup.sh:217: -H "Connection: keep-alive" \
|
||||
./hosts/torup.sh:218: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/torup.sh:219: -H "Sec-Fetch-Dest: document" \
|
||||
--
|
||||
./hosts/torup.sh:222: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:223: -H "User-Agent: $RandomUA" \
|
||||
./hosts/torup.sh:224: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:225: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/torup.sh:226: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/torup.sh:227: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/torup.sh:228: -H "Connection: keep-alive" \
|
||||
./hosts/torup.sh:229: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/torup.sh:230: -H "Sec-Fetch-Dest: document" \
|
||||
./hosts/torup.sh:231: -H "Sec-Fetch-Mode: navigate" \
|
||||
./hosts/torup.sh:232: -H "Sec-Fetch-Site: same-origin" \
|
||||
./hosts/torup.sh:226: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:227: -H "User-Agent: $RandomUA" \
|
||||
./hosts/torup.sh:228: -H "Host: ktgzpea2b76u7fgemiibp4a76onyybo4fw5gbsagtm6jrjzmgivppyyd.onion" \
|
||||
./hosts/torup.sh:229: -H "Referer: $fixed_url" \
|
||||
./hosts/torup.sh:230: -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
|
||||
./hosts/torup.sh:231: -H "Accept-Language: en-US,en;q=0.5" \
|
||||
./hosts/torup.sh:232: -H "Accept-Encoding: gzip, deflate, br" \
|
||||
./hosts/torup.sh:233: -H "Connection: keep-alive" \
|
||||
./hosts/torup.sh:234: -H "Upgrade-Insecure-Requests: 1" \
|
||||
./hosts/torup.sh:235: -H "Sec-Fetch-Dest: document" \
|
||||
./hosts/torup.sh:236: -H "Sec-Fetch-Mode: navigate" \
|
||||
--
|
||||
./hosts/up2share.sh:91: response=$(tor_curl_request --insecure -L -s -b "${up2share_cookie_jar}" -c "${up2share_cookie_jar}" \
|
||||
./hosts/up2share.sh:92: -w "\n\nHTTP_CODE: %{http_code}\nEFFECTIVE_URL: %{url_effective}\n" \
|
||||
|
|
@ -2620,6 +2625,56 @@ _________________________________________________________________________
|
|||
./hosts/uploadhive.sh:260: containsHtml=true
|
||||
./hosts/uploadhive.sh:261: fi
|
||||
--
|
||||
./hosts/uploadscloud.sh:90: response=$(tor_curl_request --insecure -L -s -b "${upsc_cookie_jar}" -c "${upsc_cookie_jar}" "$remote_url")
|
||||
./hosts/uploadscloud.sh:91: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/uploadscloud.sh:92: debugHtml "${remote_url##*/}" "upsc_dwnpage$i" "${response}"
|
||||
./hosts/uploadscloud.sh:93: fi
|
||||
./hosts/uploadscloud.sh:94: if [[ -z $response ]] ; then
|
||||
./hosts/uploadscloud.sh:95: rm -f "${upsc_cookie_jar}";
|
||||
./hosts/uploadscloud.sh:96: if [[ $i == $maxfetchretries ]] ; then
|
||||
./hosts/uploadscloud.sh:97: printf "\\n"
|
||||
./hosts/uploadscloud.sh:98: echo -e "${RED}| Failed to extract download link.${NC}"
|
||||
./hosts/uploadscloud.sh:99: warnAndRetryUnknownError=true
|
||||
./hosts/uploadscloud.sh:100: if [[ "${finalAttempt}" == "true" ]] ; then
|
||||
--
|
||||
./hosts/uploadscloud.sh:142: response=$(tor_curl_request --insecure -svo. -X POST \
|
||||
./hosts/uploadscloud.sh:143: -b "${upsc_cookie_jar}" -c "${upsc_cookie_jar}" \
|
||||
./hosts/uploadscloud.sh:144: --data-raw "$form_data" "$remote_url" 2>&1)
|
||||
./hosts/uploadscloud.sh:145: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/uploadscloud.sh:146: debugHtml "${remote_url##*/}" "upsc_post" "post_action: ${post_action}"$'\n'"form_data: ${form_data}"$'\n'"${response}"
|
||||
./hosts/uploadscloud.sh:147: fi
|
||||
./hosts/uploadscloud.sh:148: if [[ -z $response ]] ; then
|
||||
./hosts/uploadscloud.sh:149: echo -e "${RED}| Failed to extract download link [1]${NC}"
|
||||
./hosts/uploadscloud.sh:150: warnAndRetryUnknownError=true
|
||||
./hosts/uploadscloud.sh:151: if [[ "${finalAttempt}" == "true" ]] ; then
|
||||
./hosts/uploadscloud.sh:152: rm -f "${upsc_cookie_jar}";
|
||||
--
|
||||
./hosts/uploadscloud.sh:183: file_header=$(tor_curl_request --insecure --head -L -s -b "${upsc_cookie_jar}" -c "${upsc_cookie_jar}" --referer "$remote_url" "$download_url")
|
||||
./hosts/uploadscloud.sh:184: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/uploadscloud.sh:185: debugHtml "${remote_url##*/}" "upsc_head$j" "download_url: ${download_url}"$'\n'"${file_header}"
|
||||
./hosts/uploadscloud.sh:186: fi
|
||||
./hosts/uploadscloud.sh:187: if [[ -z $file_header ]] ; then
|
||||
./hosts/uploadscloud.sh:188: if [[ $j == $maxfetchretries ]] ; then
|
||||
./hosts/uploadscloud.sh:189: rm -f "${upsc_cookie_jar}";
|
||||
./hosts/uploadscloud.sh:190: printf "\\n"
|
||||
./hosts/uploadscloud.sh:191: echo -e "${RED}| Failed to extract file info.${NC}"
|
||||
./hosts/uploadscloud.sh:192: warnAndRetryUnknownError=true
|
||||
./hosts/uploadscloud.sh:193: if [[ "${finalAttempt}" == "true" ]] ; then
|
||||
--
|
||||
./hosts/uploadscloud.sh:306: tor_curl_request --insecure -L -G --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/uploadscloud.sh:307: else
|
||||
./hosts/uploadscloud.sh:308: tor_curl_request --insecure -L -G "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/uploadscloud.sh:309: fi
|
||||
./hosts/uploadscloud.sh:310: received_file_size=0
|
||||
./hosts/uploadscloud.sh:311: if [[ -f "$file_path" ]] ; then
|
||||
./hosts/uploadscloud.sh:312: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./hosts/uploadscloud.sh:313: fi
|
||||
./hosts/uploadscloud.sh:314: if CheckNoHtml "$remote_url" "$filename" "$file_path" "$((received_file_size - pd_presize))" ; then
|
||||
./hosts/uploadscloud.sh:315: containsHtml=false
|
||||
./hosts/uploadscloud.sh:316: else
|
||||
./hosts/uploadscloud.sh:317: containsHtml=true
|
||||
./hosts/uploadscloud.sh:318: fi
|
||||
--
|
||||
./hosts/up_1fichier.sh:107: response=$(tor_curl_request --insecure -L -s "https://1fichier.com/")
|
||||
./hosts/up_1fichier.sh:108: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/up_1fichier.sh:109: debugHtml "${filepath##*/}" "${_hostCode}_up_getid_$i" "url: https://1fichier.com/"$'\n'"${response}"
|
||||
|
|
@ -2656,6 +2711,18 @@ _________________________________________________________________________
|
|||
./hosts/up_anonfile.sh:111: -F "upload=Start upload" \
|
||||
./hosts/up_anonfile.sh:112: -F "keepalive=1" \
|
||||
--
|
||||
./hosts/up_anonfileio.sh:102: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_anonfileio.sh:103: -H "Content-Type: multipart/form-data" \
|
||||
./hosts/up_anonfileio.sh:104: -F "keepalive=1" \
|
||||
./hosts/up_anonfileio.sh:105: -F "file=@${filepath}" \
|
||||
./hosts/up_anonfileio.sh:106: "${PostUrlHost}")
|
||||
./hosts/up_anonfileio.sh:107: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/up_anonfileio.sh:108: debugHtml "${filepath##*/}" "${_hostCode}_upload" "post_url: ${PostUrlHost}"$'\n'"${response}"
|
||||
./hosts/up_anonfileio.sh:109: fi
|
||||
./hosts/up_anonfileio.sh:110: if grep -Eqi '"success":true,"code":"' <<< "${response}" ; then
|
||||
./hosts/up_anonfileio.sh:111: hash=$(grep -oPi -m 1 '(?<="code":").*?(?=".*$)' <<< "$response")
|
||||
./hosts/up_anonfileio.sh:112: filesize=$(GetFileSize "$filepath" "false")
|
||||
--
|
||||
./hosts/up_anonsharing.sh:102: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_anonsharing.sh:103: -H "Content-Type: multipart/form-data" \
|
||||
./hosts/up_anonsharing.sh:104: -F "files[]=@${arrFiles[@]}" \
|
||||
|
|
@ -3052,29 +3119,36 @@ _________________________________________________________________________
|
|||
./hosts/up_quax.sh:111: url=$(grep -oPi '(?<="url": ").*?(?=".*$)' <<< "$response")
|
||||
./hosts/up_quax.sh:112: filesize=$(GetFileSize "$filepath" "false")
|
||||
--
|
||||
./hosts/up_ranoz.sh:129: response=$(tor_curl_upload --insecure -L -i -s \
|
||||
./hosts/up_ranoz.sh:130: "$PostUrlHost" \
|
||||
./hosts/up_ranoz.sh:131: -H "Content-Type: application/json" \
|
||||
./hosts/up_ranoz.sh:132: -d "{ \
|
||||
./hosts/up_ranoz.sh:133: \"filename\": \"$tmpfilename\", \
|
||||
./hosts/up_ranoz.sh:134: \"size\": $fsize}")
|
||||
./hosts/up_ranoz.sh:135: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/up_ranoz.sh:136: debugHtml "${filepath##*/}" "${_hostCode}_ticket" "post_url: ${PostUrlHost}"$'\n'"data: ${filepath}, ${fsize}"$'\n'"${response}"
|
||||
./hosts/up_ranoz.sh:137: fi
|
||||
./hosts/up_ranoz.sh:138: if grep -Eqi '"upload_url":"https://' <<< "$response" ; then
|
||||
./hosts/up_ranoz.sh:139: PostUrlHost=$(grep -oPi '(?<="upload_url":").*?(?=".*$)' <<< "$response")
|
||||
./hosts/up_ranoz.sh:133: response=$(tor_curl_upload --insecure -L -i -s \
|
||||
./hosts/up_ranoz.sh:134: -b "${up_rz_cookie_jar}" -c "${up_rz_cookie_jar}" \
|
||||
./hosts/up_ranoz.sh:135: "$PrePostUrl")
|
||||
./hosts/up_ranoz.sh:136: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/up_ranoz.sh:137: debugHtml "${filepath##*/}" "${_hostCode}_prepost" "prepost_url: ${PrePostUrl}"$'\n'"${response}"
|
||||
./hosts/up_ranoz.sh:138: fi
|
||||
./hosts/up_ranoz.sh:139: trap "rm -f ${UploadTicket}; rm -f ${up_rz_cookie_jar}; echo ""; tput cnorm; exit" 0 1 2 3 6 15
|
||||
./hosts/up_ranoz.sh:140: response=$(tor_curl_upload --insecure -Lis \
|
||||
./hosts/up_ranoz.sh:141: "$PostUrlHost" \
|
||||
./hosts/up_ranoz.sh:142: -b "${up_rz_cookie_jar}" -c "${up_rz_cookie_jar}" \
|
||||
./hosts/up_ranoz.sh:143: -H "Content-Type: application/json" \
|
||||
./hosts/up_ranoz.sh:144: -d "{ \
|
||||
./hosts/up_ranoz.sh:145: \"filename\": \"$tmpfilename\", \
|
||||
./hosts/up_ranoz.sh:146: \"size\": $fsize}")
|
||||
./hosts/up_ranoz.sh:147: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/up_ranoz.sh:148: debugHtml "${filepath##*/}" "${_hostCode}_ticket" "post_url: ${PostUrlHost}"$'\n'"data: ${filepath}, ${fsize}"$'\n'"${response}"
|
||||
./hosts/up_ranoz.sh:149: fi
|
||||
./hosts/up_ranoz.sh:150: if grep -Eqi '"upload_url":"https://' <<< "$response" ; then
|
||||
--
|
||||
./hosts/up_ranoz.sh:156: response=$(tor_curl_upload --insecure -i -X PUT \
|
||||
./hosts/up_ranoz.sh:157: "${PostUrlHost}" \
|
||||
./hosts/up_ranoz.sh:158: --upload-file "$filepath" \
|
||||
./hosts/up_ranoz.sh:159: -H "Content-Length: $fsize")
|
||||
./hosts/up_ranoz.sh:160: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/up_ranoz.sh:161: debugHtml "${filepath##*/}" "${_hostCode}_upload" "post_url: ${PostUrlHost}"$'\n'"${response}"
|
||||
./hosts/up_ranoz.sh:162: fi
|
||||
./hosts/up_ranoz.sh:163: if grep -Eqi 'HTTP/.* 200' <<< "${response}" ; then
|
||||
./hosts/up_ranoz.sh:164: filesize=$(GetFileSize "$filepath" "false")
|
||||
./hosts/up_ranoz.sh:165: echo -e "${GREEN}| Upload Success${NC}"
|
||||
./hosts/up_ranoz.sh:166: echo -e "| Size: ${BLUE}${filesize}${NC} bytes${NC}"
|
||||
./hosts/up_ranoz.sh:169: response=$(tor_curl_upload --insecure -i -X PUT \
|
||||
./hosts/up_ranoz.sh:170: "${PostUrlHost}" \
|
||||
./hosts/up_ranoz.sh:171: --upload-file "$filepath" \
|
||||
./hosts/up_ranoz.sh:172: -b "${up_rz_cookie_jar}" -c "${up_rz_cookie_jar}" \
|
||||
./hosts/up_ranoz.sh:173: -H "Content-Length: $fsize")
|
||||
./hosts/up_ranoz.sh:174: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./hosts/up_ranoz.sh:175: debugHtml "${filepath##*/}" "${_hostCode}_upload" "post_url: ${PostUrlHost}"$'\n'"${response}"
|
||||
./hosts/up_ranoz.sh:176: fi
|
||||
./hosts/up_ranoz.sh:177: rm -f ${up_rz_cookie_jar};
|
||||
./hosts/up_ranoz.sh:178: if grep -Eqi 'HTTP/.* 200' <<< "${response}" ; then
|
||||
./hosts/up_ranoz.sh:179: filesize=$(GetFileSize "$filepath" "false")
|
||||
--
|
||||
./hosts/up_sendnow.sh:101: response=$(tor_curl_request --insecure -L -s 'https://send.now/upload')
|
||||
./hosts/up_sendnow.sh:102: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
|
|
@ -3366,235 +3440,235 @@ _________________________________________________________________________
|
|||
./hosts/youdbox.sh:287: containsHtml=true
|
||||
./hosts/youdbox.sh:288: fi
|
||||
--
|
||||
./mad.sh:397:tor_curl_request() {
|
||||
./mad.sh:398: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:399: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeout} --compressed --globoff "$@"
|
||||
./mad.sh:400: else
|
||||
./mad.sh:401: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeout} --compressed --globoff "$@"
|
||||
./mad.sh:402: fi
|
||||
./mad.sh:403:}
|
||||
./mad.sh:404:tor_curl_request_extended() {
|
||||
./mad.sh:405: randomtimeout=$((30 + RANDOM % (60 - 30)))
|
||||
./mad.sh:406: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:407: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout $randomtimeout --compressed --globoff "$@"
|
||||
./mad.sh:408: else
|
||||
./mad.sh:409: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout $randomtimeout --compressed --globoff "$@"
|
||||
./mad.sh:410: fi
|
||||
./mad.sh:411:}
|
||||
./mad.sh:412:tor_curl_upload() {
|
||||
./mad.sh:413: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:414: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./mad.sh:415: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} --speed-limit $UploadSpeedMin --speed-time $UploadTimeoutInterval --compressed --globoff "$@"
|
||||
./mad.sh:416: else
|
||||
./mad.sh:417: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} --compressed --globoff "$@"
|
||||
./mad.sh:418: fi
|
||||
./mad.sh:419: else
|
||||
./mad.sh:420: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./mad.sh:421: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} --speed-limit $UploadSpeedMin --speed-time $UploadTimeoutInterval -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Origin: null' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: cross-site' -H 'Sec-Fetch-User: ?1' -H 'TE: trailers' --compressed --globoff "$@"
|
||||
./mad.sh:422: else
|
||||
./mad.sh:367:tor_curl_request() {
|
||||
./mad.sh:368: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:369: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeout} --compressed --globoff "$@"
|
||||
./mad.sh:370: else
|
||||
./mad.sh:371: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeout} --compressed --globoff "$@"
|
||||
./mad.sh:372: fi
|
||||
./mad.sh:373:}
|
||||
./mad.sh:374:tor_curl_request_extended() {
|
||||
./mad.sh:375: randomtimeout=$((30 + RANDOM % (60 - 30)))
|
||||
./mad.sh:376: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:377: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout $randomtimeout --compressed --globoff "$@"
|
||||
./mad.sh:378: else
|
||||
./mad.sh:379: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout $randomtimeout --compressed --globoff "$@"
|
||||
./mad.sh:380: fi
|
||||
./mad.sh:381:}
|
||||
./mad.sh:382:tor_curl_upload() {
|
||||
./mad.sh:383: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:384: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./mad.sh:385: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} --speed-limit $UploadSpeedMin --speed-time $UploadTimeoutInterval --compressed --globoff "$@"
|
||||
./mad.sh:386: else
|
||||
./mad.sh:387: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} --compressed --globoff "$@"
|
||||
./mad.sh:388: fi
|
||||
./mad.sh:389: else
|
||||
./mad.sh:390: if [[ "${RateMonitorEnabled}" == "true" ]]; then
|
||||
./mad.sh:391: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} --speed-limit $UploadSpeedMin --speed-time $UploadTimeoutInterval -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Origin: null' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: cross-site' -H 'Sec-Fetch-User: ?1' -H 'TE: trailers' --compressed --globoff "$@"
|
||||
./mad.sh:392: else
|
||||
--
|
||||
./mad.sh:1470: response=$(tor_curl_request --insecure -L -s https://github.com/lwthiker/curl-impersonate/releases/latest)
|
||||
./mad.sh:1471: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1472: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1473: fi
|
||||
./mad.sh:1474: if [[ ! -z "$response" ]]; then
|
||||
./mad.sh:1475: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1476: latestBinaryDate=$(grep -oPi -m 1 '(?<=<relative-time class="no-wrap" prefix="" datetime=").*?(?=T)' <<< "$response")
|
||||
./mad.sh:1477: break
|
||||
./mad.sh:1478: fi
|
||||
./mad.sh:1479: done
|
||||
./mad.sh:1480: if [[ -z $latestTag ]]; then
|
||||
./mad.sh:1437: response=$(tor_curl_request --insecure -L -s https://github.com/lwthiker/curl-impersonate/releases/latest)
|
||||
./mad.sh:1438: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1439: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1440: fi
|
||||
./mad.sh:1441: if [[ ! -z "$response" ]]; then
|
||||
./mad.sh:1442: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1443: latestBinaryDate=$(grep -oPi -m 1 '(?<=<relative-time class="no-wrap" prefix="" datetime=").*?(?=T)' <<< "$response")
|
||||
./mad.sh:1444: break
|
||||
./mad.sh:1445: fi
|
||||
./mad.sh:1446: done
|
||||
./mad.sh:1447: if [[ -z $latestTag ]]; then
|
||||
--
|
||||
./mad.sh:1490: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1491: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1492: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1493: fi
|
||||
./mad.sh:1494: if ! grep -Eqi 'HTTP/2 200|HTTP/1.1 200|200 OK' <<< $file_header ; then
|
||||
./mad.sh:1495: if ((j == 8)) ; then
|
||||
./mad.sh:1496: return 1
|
||||
./mad.sh:1497: else
|
||||
./mad.sh:1498: continue
|
||||
./mad.sh:1499: fi
|
||||
./mad.sh:1500: fi
|
||||
./mad.sh:1457: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1458: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1459: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1460: fi
|
||||
./mad.sh:1461: if ! grep -Eqi 'HTTP/2 200|HTTP/1.1 200|200 OK' <<< $file_header ; then
|
||||
./mad.sh:1462: if ((j == 8)) ; then
|
||||
./mad.sh:1463: return 1
|
||||
./mad.sh:1464: else
|
||||
./mad.sh:1465: continue
|
||||
./mad.sh:1466: fi
|
||||
./mad.sh:1467: fi
|
||||
--
|
||||
./mad.sh:1540: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1541: received_file_size=0
|
||||
./mad.sh:1542: if [[ -f "$file_path" ]] ; then
|
||||
./mad.sh:1543: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./mad.sh:1544: fi
|
||||
./mad.sh:1545: if ((received_file_size == file_size_bytes)) ; then
|
||||
./mad.sh:1546: break
|
||||
./mad.sh:1547: elif ((received_file_size < file_size_bytes)) ; then
|
||||
./mad.sh:1548: if ((j >= MaxDownloadRetries)) ; then
|
||||
./mad.sh:1549: echo -e "${RED}| FAILED: Size mismatch after downloading${NC}"
|
||||
./mad.sh:1550: exit 1
|
||||
./mad.sh:1507: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1508: received_file_size=0
|
||||
./mad.sh:1509: if [[ -f "$file_path" ]] ; then
|
||||
./mad.sh:1510: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./mad.sh:1511: fi
|
||||
./mad.sh:1512: if ((received_file_size == file_size_bytes)) ; then
|
||||
./mad.sh:1513: break
|
||||
./mad.sh:1514: elif ((received_file_size < file_size_bytes)) ; then
|
||||
./mad.sh:1515: if ((j >= MaxDownloadRetries)) ; then
|
||||
./mad.sh:1516: echo -e "${RED}| FAILED: Size mismatch after downloading${NC}"
|
||||
./mad.sh:1517: exit 1
|
||||
--
|
||||
./mad.sh:1593: response=$(tor_curl_request --insecure -L -s https://github.com/lexiforest/curl-impersonate/releases/latest)
|
||||
./mad.sh:1594: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1595: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1596: fi
|
||||
./mad.sh:1597: if [[ ! -z "$response" ]]; then
|
||||
./mad.sh:1598: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1599: latestBinaryDate=$(grep -oPi -m 1 '(?<=<relative-time class="no-wrap" prefix="" datetime=").*?(?=T)' <<< "$response")
|
||||
./mad.sh:1600: break
|
||||
./mad.sh:1601: fi
|
||||
./mad.sh:1602: done
|
||||
./mad.sh:1603: if [[ -z $latestTag ]]; then
|
||||
./mad.sh:1560: response=$(tor_curl_request --insecure -L -s https://github.com/lexiforest/curl-impersonate/releases/latest)
|
||||
./mad.sh:1561: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1562: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1563: fi
|
||||
./mad.sh:1564: if [[ ! -z "$response" ]]; then
|
||||
./mad.sh:1565: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1566: latestBinaryDate=$(grep -oPi -m 1 '(?<=<relative-time class="no-wrap" prefix="" datetime=").*?(?=T)' <<< "$response")
|
||||
./mad.sh:1567: break
|
||||
./mad.sh:1568: fi
|
||||
./mad.sh:1569: done
|
||||
./mad.sh:1570: if [[ -z $latestTag ]]; then
|
||||
--
|
||||
./mad.sh:1613: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1614: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1615: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1616: fi
|
||||
./mad.sh:1617: if ! grep -Eqi 'HTTP/2 200|HTTP/1.1 200|200 OK' <<< $file_header ; then
|
||||
./mad.sh:1618: if ((j == 8)) ; then
|
||||
./mad.sh:1619: return 1
|
||||
./mad.sh:1620: else
|
||||
./mad.sh:1621: continue
|
||||
./mad.sh:1622: fi
|
||||
./mad.sh:1623: fi
|
||||
./mad.sh:1580: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1581: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:1582: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1583: fi
|
||||
./mad.sh:1584: if ! grep -Eqi 'HTTP/2 200|HTTP/1.1 200|200 OK' <<< $file_header ; then
|
||||
./mad.sh:1585: if ((j == 8)) ; then
|
||||
./mad.sh:1586: return 1
|
||||
./mad.sh:1587: else
|
||||
./mad.sh:1588: continue
|
||||
./mad.sh:1589: fi
|
||||
./mad.sh:1590: fi
|
||||
--
|
||||
./mad.sh:1663: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1664: received_file_size=0
|
||||
./mad.sh:1665: if [[ -f "$file_path" ]] ; then
|
||||
./mad.sh:1666: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./mad.sh:1667: fi
|
||||
./mad.sh:1668: if ((received_file_size == file_size_bytes)) ; then
|
||||
./mad.sh:1669: break
|
||||
./mad.sh:1670: elif ((received_file_size < file_size_bytes)) ; then
|
||||
./mad.sh:1671: if ((j >= MaxDownloadRetries)) ; then
|
||||
./mad.sh:1672: echo -e "${RED}| FAILED: Size mismatch after downloading${NC}"
|
||||
./mad.sh:1673: exit 1
|
||||
./mad.sh:1630: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1631: received_file_size=0
|
||||
./mad.sh:1632: if [[ -f "$file_path" ]] ; then
|
||||
./mad.sh:1633: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./mad.sh:1634: fi
|
||||
./mad.sh:1635: if ((received_file_size == file_size_bytes)) ; then
|
||||
./mad.sh:1636: break
|
||||
./mad.sh:1637: elif ((received_file_size < file_size_bytes)) ; then
|
||||
./mad.sh:1638: if ((j >= MaxDownloadRetries)) ; then
|
||||
./mad.sh:1639: echo -e "${RED}| FAILED: Size mismatch after downloading${NC}"
|
||||
./mad.sh:1640: exit 1
|
||||
--
|
||||
./mad.sh:1868: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1869: echo -e "Files:"
|
||||
./mad.sh:1870: echo -e "${BLUE}${fil}${NC}"
|
||||
./mad.sh:1835: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1836: echo -e "Files:"
|
||||
./mad.sh:1837: echo -e "${BLUE}${fil}${NC}"
|
||||
./mad.sh:1838: echo -e ""
|
||||
./mad.sh:1839: echo -e ""
|
||||
./mad.sh:1840: echo -e "${PINK}MAD Audit of http lines:${NC} (${GREEN}grep \"http:\" or \"https:\"${NC})"
|
||||
./mad.sh:1841: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1842: echo -e "$maud_http"
|
||||
./mad.sh:1843: echo -e ""
|
||||
./mad.sh:1844: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1845: echo -e "_________________________________________________________________________"
|
||||
--
|
||||
./mad.sh:1848: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1849: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1850: echo -e "$maud_torcurl"
|
||||
./mad.sh:1851: echo -e ""
|
||||
./mad.sh:1852: echo -e ""
|
||||
./mad.sh:1853: done
|
||||
./mad.sh:1854: else
|
||||
./mad.sh:1855: cd "$ScriptDir"
|
||||
./mad.sh:1856: readarray -d $'' arrFiles < <(find . -name "*.sh" -printf '%p\n' | sort -Vk1)
|
||||
./mad.sh:1857: cd "$WorkDir"
|
||||
./mad.sh:1858: readarray -d $'' arrFiles2 < <(find . -name "*.sh" -printf '%p\n' | sort -Vk1)
|
||||
--
|
||||
./mad.sh:1863: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1864: echo -e "Files:"
|
||||
./mad.sh:1865: echo -e "${BLUE}${fil}${NC}"
|
||||
./mad.sh:1866: echo -e ""
|
||||
./mad.sh:1867: echo -e ""
|
||||
./mad.sh:1868: echo -e "${PINK}MAD Audit of http lines:${NC} (${GREEN}grep \"http:\" or \"https:\"${NC})"
|
||||
./mad.sh:1869: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1870: echo -e "$maud_http"
|
||||
./mad.sh:1871: echo -e ""
|
||||
./mad.sh:1872: echo -e ""
|
||||
./mad.sh:1873: echo -e "${PINK}MAD Audit of http lines:${NC} (${GREEN}grep \"http:\" or \"https:\"${NC})"
|
||||
./mad.sh:1874: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1875: echo -e "$maud_http"
|
||||
./mad.sh:1876: echo -e ""
|
||||
./mad.sh:1877: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1878: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1872: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl \"${NC})"
|
||||
./mad.sh:1873: echo -e "_________________________________________________________________________"
|
||||
--
|
||||
./mad.sh:1881: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1882: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1883: echo -e "$maud_torcurl"
|
||||
./mad.sh:1884: echo -e ""
|
||||
./mad.sh:1885: echo -e ""
|
||||
./mad.sh:1886: done
|
||||
./mad.sh:1887: else
|
||||
./mad.sh:1888: cd "$ScriptDir"
|
||||
./mad.sh:1889: readarray -d $'' arrFiles < <(find . -name "*.sh" -printf '%p\n' | sort -Vk1)
|
||||
./mad.sh:1890: cd "$WorkDir"
|
||||
./mad.sh:1891: readarray -d $'' arrFiles2 < <(find . -name "*.sh" -printf '%p\n' | sort -Vk1)
|
||||
./mad.sh:1876: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1877: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1878: echo -e "$maud_torcurl"
|
||||
./mad.sh:1879: echo -e ""
|
||||
./mad.sh:1880: done
|
||||
./mad.sh:1881: for fil in "${arrFiles2[@]}";
|
||||
./mad.sh:1882: do
|
||||
./mad.sh:1883: maud_http=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei '(http|https):')
|
||||
./mad.sh:1884: maud_curl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei 'curl')
|
||||
./mad.sh:1885: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1886: echo -e "Files:"
|
||||
./mad.sh:1887: echo -e "${BLUE}${fil}${NC}"
|
||||
./mad.sh:1888: echo -e ""
|
||||
./mad.sh:1889: echo -e ""
|
||||
./mad.sh:1890: echo -e "${PINK}MAD Audit of http lines:${NC} (${GREEN}grep \"http:\" or \"https:\"${NC})"
|
||||
./mad.sh:1891: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1892: echo -e "$maud_http"
|
||||
./mad.sh:1893: echo -e ""
|
||||
./mad.sh:1894: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1895: echo -e "_________________________________________________________________________"
|
||||
--
|
||||
./mad.sh:1896: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1897: echo -e "Files:"
|
||||
./mad.sh:1898: echo -e "${BLUE}${fil}${NC}"
|
||||
./mad.sh:1899: echo -e ""
|
||||
./mad.sh:1900: echo -e ""
|
||||
./mad.sh:1901: echo -e "${PINK}MAD Audit of http lines:${NC} (${GREEN}grep \"http:\" or \"https:\"${NC})"
|
||||
./mad.sh:1902: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1903: echo -e "$maud_http"
|
||||
./mad.sh:1904: echo -e ""
|
||||
./mad.sh:1905: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl \"${NC})"
|
||||
./mad.sh:1906: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1898: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1899: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1900: echo -e "$maud_torcurl"
|
||||
./mad.sh:1901: echo -e ""
|
||||
./mad.sh:1902: done
|
||||
./mad.sh:1903: fi
|
||||
./mad.sh:1904:}
|
||||
./mad.sh:1905:madStatus() {
|
||||
./mad.sh:1906: local InputFile="$1"
|
||||
./mad.sh:1907: if [[ "$arg1" == "status" ]] ; then
|
||||
./mad.sh:1908: clear
|
||||
--
|
||||
./mad.sh:1909: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1910: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1911: echo -e "$maud_torcurl"
|
||||
./mad.sh:1912: echo -e ""
|
||||
./mad.sh:1913: done
|
||||
./mad.sh:1914: for fil in "${arrFiles2[@]}";
|
||||
./mad.sh:1915: do
|
||||
./mad.sh:1916: maud_http=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei '(http|https):')
|
||||
./mad.sh:1917: maud_curl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei 'curl')
|
||||
./mad.sh:1918: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1919: echo -e "Files:"
|
||||
./mad.sh:1920: echo -e "${BLUE}${fil}${NC}"
|
||||
./mad.sh:1921: echo -e ""
|
||||
./mad.sh:1922: echo -e ""
|
||||
./mad.sh:1923: echo -e "${PINK}MAD Audit of http lines:${NC} (${GREEN}grep \"http:\" or \"https:\"${NC})"
|
||||
./mad.sh:1924: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1925: echo -e "$maud_http"
|
||||
./mad.sh:1926: echo -e ""
|
||||
./mad.sh:1927: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1928: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:3231: file_header=$(tor_curl_request --insecure -m 8 -s -D - -o /dev/null \
|
||||
./mad.sh:3232: -H "Connection: keep-alive" \
|
||||
./mad.sh:3233: -w 'EffectiveUrl=%{url_effective}' \
|
||||
./mad.sh:3234: "$download_url")
|
||||
./mad.sh:3235: else
|
||||
./mad.sh:3236: printf "| Retrieving Head: attempt #$j"
|
||||
./mad.sh:3237: rm -f "${WorkDir}/.temp/directhead"
|
||||
./mad.sh:3238: file_header=$(tor_curl_request --insecure --head -H "Connection: keep-alive" -L -s -i "$download_url" |
|
||||
./mad.sh:3239: tee "${WorkDir}/.temp/directhead" &
|
||||
./mad.sh:3240: sleep 6
|
||||
./mad.sh:3241: [ -s "${WorkDir}/.temp/directhead" ]
|
||||
./mad.sh:3242: kill $! 2>/dev/null
|
||||
./mad.sh:3243: )
|
||||
./mad.sh:3244: if [[ ! -f "${WorkDir}/.flocks/${remote_url//[^a-zA-Z0-9]/}" ]]; then
|
||||
./mad.sh:3245: touch "${WorkDir}/.flocks/${remote_url//[^a-zA-Z0-9]/}"
|
||||
./mad.sh:3246: fi
|
||||
./mad.sh:3247: rm -f "${WorkDir}/.temp/directhead"
|
||||
./mad.sh:3248: fi
|
||||
--
|
||||
./mad.sh:1931: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1932: echo -e "_________________________________________________________________________"
|
||||
./mad.sh:1933: echo -e "$maud_torcurl"
|
||||
./mad.sh:1934: echo -e ""
|
||||
./mad.sh:1935: done
|
||||
./mad.sh:1936: fi
|
||||
./mad.sh:1937:}
|
||||
./mad.sh:1938:madStatus() {
|
||||
./mad.sh:1939: local InputFile="$1"
|
||||
./mad.sh:1940: if [[ "$arg1" == "status" ]] ; then
|
||||
./mad.sh:1941: clear
|
||||
./mad.sh:3375: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --output "$file_path"
|
||||
./mad.sh:3376: rc=$?
|
||||
./mad.sh:3377: if ((rc != 0 )) ; then
|
||||
./mad.sh:3378: printf "${RED}Download Failed (bad exit status).${NC}"
|
||||
./mad.sh:3379: if [[ -f ${file_path} ]]; then
|
||||
./mad.sh:3380: printf "${YELLOW} Partial removed...${NC}"
|
||||
./mad.sh:3381: printf "\n\n"
|
||||
./mad.sh:3382: rm -f "${file_path}"
|
||||
./mad.sh:3383: else
|
||||
./mad.sh:3384: printf "\n\n"
|
||||
./mad.sh:3385: fi
|
||||
--
|
||||
./mad.sh:3264: file_header=$(tor_curl_request --insecure -m 8 -s -D - -o /dev/null \
|
||||
./mad.sh:3265: -H "Connection: keep-alive" \
|
||||
./mad.sh:3266: -w 'EffectiveUrl=%{url_effective}' \
|
||||
./mad.sh:3267: "$download_url")
|
||||
./mad.sh:3268: else
|
||||
./mad.sh:3269: printf "| Retrieving Head: attempt #$j"
|
||||
./mad.sh:3270: rm -f "${WorkDir}/.temp/directhead"
|
||||
./mad.sh:3271: file_header=$(tor_curl_request --insecure --head -H "Connection: keep-alive" -L -s -i "$download_url" |
|
||||
./mad.sh:3272: tee "${WorkDir}/.temp/directhead" &
|
||||
./mad.sh:3273: sleep 6
|
||||
./mad.sh:3274: [ -s "${WorkDir}/.temp/directhead" ]
|
||||
./mad.sh:3275: kill $! 2>/dev/null
|
||||
./mad.sh:3276: )
|
||||
./mad.sh:3277: if [[ ! -f "${WorkDir}/.flocks/${remote_url//[^a-zA-Z0-9]/}" ]]; then
|
||||
./mad.sh:3278: touch "${WorkDir}/.flocks/${remote_url//[^a-zA-Z0-9]/}"
|
||||
./mad.sh:3279: fi
|
||||
./mad.sh:3280: rm -f "${WorkDir}/.temp/directhead"
|
||||
./mad.sh:3281: fi
|
||||
./mad.sh:3432: tor_curl_request --insecure -L --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3433: else
|
||||
./mad.sh:3434: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3435: fi
|
||||
./mad.sh:3436: received_file_size=0
|
||||
./mad.sh:3437: if [[ -f "$file_path" ]] ; then
|
||||
./mad.sh:3438: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./mad.sh:3439: fi
|
||||
./mad.sh:3440: if CheckNoHtml "$remote_url" "$filename" "$file_path" "$((received_file_size - pd_presize))" ; then
|
||||
./mad.sh:3441: containsHtml=false
|
||||
./mad.sh:3442: else
|
||||
./mad.sh:3443: containsHtml=true
|
||||
./mad.sh:3444: fi
|
||||
--
|
||||
./mad.sh:3408: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --output "$file_path"
|
||||
./mad.sh:3409: rc=$?
|
||||
./mad.sh:3410: if ((rc != 0 )) ; then
|
||||
./mad.sh:3411: printf "${RED}Download Failed (bad exit status).${NC}"
|
||||
./mad.sh:3412: if [[ -f ${file_path} ]]; then
|
||||
./mad.sh:3413: printf "${YELLOW} Partial removed...${NC}"
|
||||
./mad.sh:3414: printf "\n\n"
|
||||
./mad.sh:3415: rm -f "${file_path}"
|
||||
./mad.sh:3416: else
|
||||
./mad.sh:3417: printf "\n\n"
|
||||
./mad.sh:3418: fi
|
||||
--
|
||||
./mad.sh:3465: tor_curl_request --insecure -L --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3466: else
|
||||
./mad.sh:3467: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3468: fi
|
||||
./mad.sh:3469: received_file_size=0
|
||||
./mad.sh:3470: if [[ -f "$file_path" ]] ; then
|
||||
./mad.sh:3471: received_file_size=$(stat --format="%s" "$file_path" | tr -d '[:space:]')
|
||||
./mad.sh:3472: fi
|
||||
./mad.sh:3473: if CheckNoHtml "$remote_url" "$filename" "$file_path" "$((received_file_size - pd_presize))" ; then
|
||||
./mad.sh:3474: containsHtml=false
|
||||
./mad.sh:3475: else
|
||||
./mad.sh:3476: containsHtml=true
|
||||
./mad.sh:3477: fi
|
||||
--
|
||||
./mad.sh:3665: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3666: -H "Content-Type: multipart/form-data" \
|
||||
./mad.sh:3667: -F "key=" \
|
||||
./mad.sh:3668: -F "time=$jira_timeval" \
|
||||
./mad.sh:3669: -F "file=@${filepath}" \
|
||||
./mad.sh:3670: "${jira_PostUrlHost}")
|
||||
./mad.sh:3671: else
|
||||
./mad.sh:3672: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3673: -H "Content-Type: multipart/form-data" \
|
||||
./mad.sh:3674: -F "key=" \
|
||||
./mad.sh:3675: -F "time=$jira_timeval" \
|
||||
./mad.sh:3676: -F "files[]=@${arrFiles[@]}" \
|
||||
./mad.sh:3677: "${jira_PostUrlHost}")
|
||||
./mad.sh:3678: fi
|
||||
./mad.sh:3679: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:3680: debugHtml "${filepath##*/}" "${_hostCode}_upload" "post_url: ${jira_PostUrlHost}"$'\n'"${response}"
|
||||
./mad.sh:3681: fi
|
||||
./mad.sh:3682: if grep -Eqi ' 200 ' <<< "${response}" ; then
|
||||
./mad.sh:3632: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3633: -H "Content-Type: multipart/form-data" \
|
||||
./mad.sh:3634: -F "key=" \
|
||||
./mad.sh:3635: -F "time=$jira_timeval" \
|
||||
./mad.sh:3636: -F "file=@${filepath}" \
|
||||
./mad.sh:3637: "${jira_PostUrlHost}")
|
||||
./mad.sh:3638: else
|
||||
./mad.sh:3639: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3640: -H "Content-Type: multipart/form-data" \
|
||||
./mad.sh:3641: -F "key=" \
|
||||
./mad.sh:3642: -F "time=$jira_timeval" \
|
||||
./mad.sh:3643: -F "files[]=@${arrFiles[@]}" \
|
||||
./mad.sh:3644: "${jira_PostUrlHost}")
|
||||
./mad.sh:3645: fi
|
||||
./mad.sh:3646: if [[ "${DebugAllEnabled}" == "true" ]] ; then
|
||||
./mad.sh:3647: debugHtml "${filepath##*/}" "${_hostCode}_upload" "post_url: ${jira_PostUrlHost}"$'\n'"${response}"
|
||||
./mad.sh:3648: fi
|
||||
./mad.sh:3649: if grep -Eqi ' 200 ' <<< "${response}" ; then
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue