# 2025.03.08 - [mad] Only check files in determining which curl header
# 2025.03.06 - [uploadhive] Disable global resume for servers without resume # 2025.03.05 - [torup] Fix torup removed response change from prior # 2025.03.05 - [mad] Add uploadflix.cc back to recommended download upload host lists (working) # 2025.03.04 - [mad] Add "expect100-timeout" header to curl upload request # 2025.03.03 - [up_sendspace] Add sendspace.com as upload host (300MB) # 2025.03.01 - [filedot] Fix filename parsing. Add 3 second wait for Free Download post. # 2025.03.01 - [torup] Update file removed response # 2025.02.26 - [uploadhive] Fix "Wrong IP" error -- use uploadhive.com IP4 address to connect for post # 2025.02.26 - [up_lainsafe] Fix retry terminal output
This commit is contained in:
parent
83d17967d6
commit
a62ac882de
11 changed files with 817 additions and 570 deletions
|
|
@ -1,4 +1,4 @@
|
|||
DateTime: 25.02.24
|
||||
DateTime: 25.03.08
|
||||
|
||||
Files:
|
||||
./hosts/1fichier.sh
|
||||
|
|
@ -131,6 +131,7 @@ Files:
|
|||
./hosts/up_ramsgaard.sh
|
||||
./hosts/up_ranoz.sh
|
||||
./hosts/up_sendnow.sh
|
||||
./hosts/up_sendspace.sh
|
||||
./hosts/up_shareonline.sh
|
||||
./hosts/up_skrepr.sh
|
||||
./hosts/up_soyjak.sh
|
||||
|
|
@ -291,11 +292,11 @@ _________________________________________________________________________
|
|||
./hosts/fileditch.sh:189: tor_curl_request --insecure "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/filedot.sh:112: PAGE=$(tor_curl_request --insecure --max-time "$ConnectTimeout" -L -s \
|
||||
./hosts/filedot.sh:153: resp_login=$(tor_curl_request --insecure -L -s \
|
||||
./hosts/filedot.sh:240: response=$(tor_curl_request --insecure -L -s \
|
||||
./hosts/filedot.sh:320: response=$(tor_curl_request --insecure -L -s \
|
||||
./hosts/filedot.sh:406: file_header=$(tor_curl_request --insecure -L --head -s --referer "${fixed_url}" "$download_url")
|
||||
./hosts/filedot.sh:499: tor_curl_request --insecure -L -G --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/filedot.sh:501: tor_curl_request --insecure -L -G "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/filedot.sh:241: response=$(tor_curl_request --insecure -L -s \
|
||||
./hosts/filedot.sh:321: response=$(tor_curl_request --insecure -L -s \
|
||||
./hosts/filedot.sh:407: file_header=$(tor_curl_request --insecure -L --head -s --referer "${fixed_url}" "$download_url")
|
||||
./hosts/filedot.sh:500: tor_curl_request --insecure -L -G --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/filedot.sh:502: tor_curl_request --insecure -L -G "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/filehaus.sh:101: file_header=$(tor_curl_request_extended --insecure -L --head -s --referer "${remote_url//\.org/\.cc}" "$download_url")
|
||||
./hosts/filehaus.sh:191: tor_curl_request_extended --insecure --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval --referer "$download_url" "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/filehaus.sh:193: tor_curl_request_extended --insecure --referer "$download_url" "$download_url" --continue-at - --output "$file_path"
|
||||
|
|
@ -397,11 +398,11 @@ _________________________________________________________________________
|
|||
./hosts/tempsh.sh:236: tor_curl_request --insecure -X POST \
|
||||
./hosts/tempsh.sh:250: tor_curl_request --insecure -X POST \
|
||||
./hosts/torup.sh:92: response=$(tor_curl_request --insecure -L -s \
|
||||
./hosts/torup.sh:188: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./hosts/torup.sh:190: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:196: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:203: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:219: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:191: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./hosts/torup.sh:193: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:199: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:206: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/torup.sh:222: tor_curl_request --insecure -L -G --no-alpn \
|
||||
./hosts/up2share.sh:91: response=$(tor_curl_request --insecure -L -s -b "${up2share_cookie_jar}" -c "${up2share_cookie_jar}" \
|
||||
./hosts/up2share.sh:144: response=$(tor_curl_request --insecure -L -s -b "${up2share_cookie_jar}" -c "${up2share_cookie_jar}" \
|
||||
./hosts/up2share.sh:195: file_header=$(tor_curl_request --insecure -L -s --head \
|
||||
|
|
@ -431,9 +432,9 @@ _________________________________________________________________________
|
|||
./hosts/uploadflix.sh:286: tor_curl_request --insecure -L -G --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/uploadflix.sh:288: tor_curl_request --insecure -L -G "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/uploadhive.sh:88: response=$(tor_curl_request --insecure -L -s "$remote_url")
|
||||
./hosts/uploadhive.sh:135: response=$(tor_curl_request --insecure -L -s -X POST --data "$form_data" "$remote_url")
|
||||
./hosts/uploadhive.sh:247: tor_curl_request --insecure -L -G --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/uploadhive.sh:249: tor_curl_request --insecure -L -G "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/uploadhive.sh:135: response=$(tor_curl_request --insecure -L -s -X POST --data "$form_data" "$remote_url" --connect-to uploadhive.com::172.67.130.243)
|
||||
./hosts/uploadhive.sh:249: tor_curl_request --insecure -L -G --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/uploadhive.sh:251: tor_curl_request --insecure -L -G "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/up_1fichier.sh:107: response=$(tor_curl_request --insecure -L -s "https://1fichier.com/")
|
||||
./hosts/up_1fichier.sh:180: response=$(tor_curl_upload --insecure -L \
|
||||
./hosts/up_anonfile.sh:102: response=$(tor_curl_upload --insecure -i \
|
||||
|
|
@ -463,7 +464,7 @@ _________________________________________________________________________
|
|||
./hosts/up_kouploader.sh:108: response=$(tor_curl_request --insecure -L -s -b "${ko_cookie_jar}" -c "${ko_cookie_jar}" "$PostUrlHost")
|
||||
./hosts/up_kouploader.sh:132: response=$(tor_curl_upload --insecure -L -i \
|
||||
./hosts/up_kraken.sh:115: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_lainsafe.sh:111: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_lainsafe.sh:112: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_nippy.sh:125: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_nofile.sh:102: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_offshorecat.sh:104: response=$(tor_curl_upload --insecure -i \
|
||||
|
|
@ -474,6 +475,8 @@ _________________________________________________________________________
|
|||
./hosts/up_ranoz.sh:156: response=$(tor_curl_upload --insecure -i -X PUT \
|
||||
./hosts/up_sendnow.sh:101: response=$(tor_curl_request --insecure -L -s 'https://send.now/upload')
|
||||
./hosts/up_sendnow.sh:138: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_sendspace.sh:106: response=$(tor_curl_request --insecure -L -s -b "${ss_cookie_jar}" -c "${ss_cookie_jar}" "https://sendspace.com")
|
||||
./hosts/up_sendspace.sh:160: response=$(tor_curl_upload --insecure -i -L \
|
||||
./hosts/up_shareonline.sh:102: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_syspro.sh:102: response=$(tor_curl_upload --insecure -i \
|
||||
./hosts/up_tempfileme.sh:102: response=$(tor_curl_upload --insecure -i \
|
||||
|
|
@ -495,119 +498,119 @@ _________________________________________________________________________
|
|||
./hosts/youdbox.sh:183: file_header=$(tor_curl_request --insecure -L --head -s --referer "${fixed_url}" "$download_url")
|
||||
./hosts/youdbox.sh:276: tor_curl_request --insecure -L -G --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./hosts/youdbox.sh:278: tor_curl_request --insecure -L -G "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:91:UseTorCurlImpersonate=false
|
||||
./mad.sh:387:tor_curl_request() {
|
||||
./mad.sh:388: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:389: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeout} --compressed --globoff "$@"
|
||||
./mad.sh:391: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeout} --compressed --globoff "$@"
|
||||
./mad.sh:394:tor_curl_request_extended() {
|
||||
./mad.sh:396: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:397: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout $randomtimeout --compressed --globoff "$@"
|
||||
./mad.sh:399: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout $randomtimeout --compressed --globoff "$@"
|
||||
./mad.sh:402:tor_curl_upload() {
|
||||
./mad.sh:403: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:405: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeoutUpload} --speed-limit $UploadSpeedMin --speed-time $UploadTimeoutInterval --compressed --globoff "$@"
|
||||
./mad.sh:407: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeoutUpload} --compressed --globoff "$@"
|
||||
./mad.sh:411: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --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:413: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeoutUpload} -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:1415:install_curl_impersonate() {
|
||||
./mad.sh:1417: echo -e "${BLUE}lwthiker curl_impersonate${NC} is the original dev, but it is relatively inactive."
|
||||
./mad.sh:1418: echo -e "- Currently uses curl v8.1.1."
|
||||
./mad.sh:1422: echo -e "${BLUE}lexiforest curl_impersonate${NC} is an active fork of curl_impersonate."
|
||||
./mad.sh:1423: echo -e "+ Currently uses curl v8.7.1"
|
||||
./mad.sh:1427: PS3='Please select which curl_impersonate to install: '
|
||||
./mad.sh:1435: install_curl_impersonate_lwthiker_orig
|
||||
./mad.sh:1439: install_curl_impersonate_lexiforest_fork
|
||||
./mad.sh:1449:install_curl_impersonate_lwthiker_orig() {
|
||||
./mad.sh:1453: echo -e "${BLUE}lwthiker curl_impersonate${NC} is the original curl_impersonate."
|
||||
./mad.sh:1454: echo -e "+ Currently uses curl v8.1.1, and has low activity for updates"
|
||||
./mad.sh:1457: echo -e "${GREEN}| Fetching:${NC} latest ${BLUE}lwthiker curl_impersonate${NC} info from github...${NC}"
|
||||
./mad.sh:1460: response=$(tor_curl_request --insecure -L -s https://github.com/lwthiker/curl-impersonate/releases/latest)
|
||||
./mad.sh:1462: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1465: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1475: yes_or_no "Do you wish to download and extract curl_impersonate $latestTag (using tor+curl)?" && {
|
||||
./mad.sh:1477: download_url='https://github.com/lwthiker/curl-impersonate/releases/download/'"$latestTag"'/curl-impersonate-'"$latestTag"'.x86_64-linux-gnu.tar.gz'
|
||||
./mad.sh:1480: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1482: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1530: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1559: echo -e "| Extracting curl_impersonate..."
|
||||
./mad.sh:1561: rm -f "${ScriptDir}"/curl*
|
||||
./mad.sh:1562: mv "$extract_location/curl-impersonate-ff" "${ScriptDir}/"
|
||||
./mad.sh:1563: mv "$extract_location/curl_ff109" "${ScriptDir}/"
|
||||
./mad.sh:1564: echo -e "${GREEN}| Done.${NC} Update ${BLUE}\"UseTorCurlImpersonate=true\"${NC} in script to use..."
|
||||
./mad.sh:1572:install_curl_impersonate_lexiforest_fork() {
|
||||
./mad.sh:1576: echo -e "${BLUE}lexiforest curl_impersonate${NC} is an active fork of curl_impersonate."
|
||||
./mad.sh:1577: echo -e "+ Currently uses curl v8.7.1, and is patched for latest CVEs"
|
||||
./mad.sh:1580: echo -e "${GREEN}| Fetching:${NC} latest ${BLUE}lexiforest curl_impersonate fork${NC} info from github...${NC}"
|
||||
./mad.sh:1583: response=$(tor_curl_request --insecure -L -s https://github.com/lexiforest/curl-impersonate/releases/latest)
|
||||
./mad.sh:1585: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1588: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1598: yes_or_no "Do you wish to download and extract curl_impersonate $latestTag (using tor+curl)?" && {
|
||||
./mad.sh:1600: download_url='https://github.com/lexiforest/curl-impersonate/releases/download/'"$latestTag"'/curl-impersonate-'"$latestTag"'.x86_64-linux-gnu.tar.gz'
|
||||
./mad.sh:1603: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1605: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1653: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1682: echo -e "| Extracting curl_impersonate..."
|
||||
./mad.sh:1684: rm -f "${ScriptDir}"/curl*
|
||||
./mad.sh:1685: mv "$extract_location/curl-impersonate-chrome" "${ScriptDir}/"
|
||||
./mad.sh:1686: mv "$extract_location/curl_chrome131" "${ScriptDir}/"
|
||||
./mad.sh:1687: echo -e "${GREEN}| Done.${NC} Update ${BLUE}\"UseTorCurlImpersonate=true\"${NC} in script to use..."
|
||||
./mad.sh:1849: echo -e ":${NC} ${GREEN}MAD${PINK} Audit${NC} : Reports usage of http & curl in scripts${PINK}${BLD} :"
|
||||
./mad.sh:1857: maud_curl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei 'curl')
|
||||
./mad.sh:1858: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1867: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1869: echo -e "$maud_curl"
|
||||
./mad.sh:1871: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1873: echo -e "$maud_torcurl"
|
||||
./mad.sh:1885: maud_curl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei 'curl')
|
||||
./mad.sh:1886: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1895: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl \"${NC})"
|
||||
./mad.sh:1897: echo -e "$maud_curl"
|
||||
./mad.sh:1899: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1901: echo -e "$maud_torcurl"
|
||||
./mad.sh:1907: maud_curl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei 'curl')
|
||||
./mad.sh:1908: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1917: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1919: echo -e "$maud_curl"
|
||||
./mad.sh:1921: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1923: echo -e "$maud_torcurl"
|
||||
./mad.sh:2878: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:2879: printf "client: ${GREEN}Tor${NC} + ${BLUE}curl_impersonate${NC}\\n"
|
||||
./mad.sh:2881: printf "client: ${GREEN}Tor${NC} + ${GREEN}curl${NC}\\n"
|
||||
./mad.sh:3053: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:3054: printf "client: ${GREEN}Tor${NC} + ${BLUE}curl_impersonate${NC}\\n"
|
||||
./mad.sh:3056: printf "client: ${GREEN}Tor${NC} + ${GREEN}curl${NC}\\n"
|
||||
./mad.sh:3254: file_header=$(tor_curl_request --insecure -m 8 -s -D - -o /dev/null \
|
||||
./mad.sh:3261: file_header=$(tor_curl_request --insecure --head -H "Connection: keep-alive" -L -s -i "$download_url" |
|
||||
./mad.sh:3398: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --output "$file_path"
|
||||
./mad.sh:3455: tor_curl_request --insecure -L --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3457: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3655: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3662: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3733:if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:3734: curl_impersonate=()
|
||||
./mad.sh:3735: readarray -d $'' arrFiles < <(find "$ScriptDir" -maxdepth 1 -name "curl_*" -printf '%p\n' | sort -Vk1)
|
||||
./mad.sh:3736: bFoundCurlHeader=false
|
||||
./mad.sh:3740: curl_impersonate=($fil)
|
||||
./mad.sh:3741: bFoundCurlHeader=true
|
||||
./mad.sh:3745: if [[ "$bFoundCurlHeader" == "false" ]]; then
|
||||
./mad.sh:3746: echo -e "${RED}[ERROR] Missing dependency \"curl-impersonate\"!${NC}"
|
||||
./mad.sh:3749: echo -e "You'll need to download ${GREEN}\"curl-impersonate\"${NC}."
|
||||
./mad.sh:3752: echo -e "The latest binary can be obtained on GitHub, search for \"curl-impersonate\""
|
||||
./mad.sh:3754: echo -e " 1. Visit the page of curl-impersonate and add \"/releases/latest/\" at end of URL."
|
||||
./mad.sh:3758: echo -e " 4. Download archive ${GREEN}\"curl-impersonate-vX.Y.Z.x86_64-linux-gnu.tar.gz\"${YELLOW}."
|
||||
./mad.sh:3759: echo -e " 5. Extract files ${GREEN}\"curl-impersonate-ff\"${NC} and ${GREEN}\"curl_ff109\"${NC} next to this script."
|
||||
./mad.sh:3762: echo -e "run $0 install_curl_impersonate\\n"
|
||||
./mad.sh:3764: yes_or_no "Do you wish to download and extract latest curl_impersonate (using tor+curl)?" && {
|
||||
./mad.sh:3765: UseTorCurlImpersonate=false
|
||||
./mad.sh:3766: install_curl_impersonate
|
||||
./mad.sh:3850: echo -e "[${YELLOW}Install curl_impersonate${NC}]: Downloads the latest binary for curl_impersonate from github repo (3 choices)"
|
||||
./mad.sh:3851: printf " %s install_curl_impersonate\\n" "$0"
|
||||
./mad.sh:3929:elif [[ "$arg1" == "install_curl_impersonate" ]]; then
|
||||
./mad.sh:3930: install_curl_impersonate
|
||||
./mad.sh:3961:if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:3962: printf "client: ${GREEN}Tor${NC} + ${BLUE}curl_impersonate${NC}\\n"
|
||||
./mad.sh:3964: printf "client: ${GREEN}Tor${NC} + ${GREEN}curl${NC}\\n"
|
||||
./mad.sh:101:UseTorCurlImpersonate=false
|
||||
./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:401: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout ${ConnectTimeout} --compressed --globoff "$@"
|
||||
./mad.sh:404:tor_curl_request_extended() {
|
||||
./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:409: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --connect-timeout $randomtimeout --compressed --globoff "$@"
|
||||
./mad.sh:412:tor_curl_upload() {
|
||||
./mad.sh:413: if [[ "${UseTorCurlImpersonate}" == "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:417: "${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} --compressed --globoff "$@"
|
||||
./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:423: curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" -4 --expect100-timeout 10 --connect-timeout ${ConnectTimeoutUpload} -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:1425:install_curl_impersonate() {
|
||||
./mad.sh:1427: echo -e "${BLUE}lwthiker curl_impersonate${NC} is the original dev, but it is relatively inactive."
|
||||
./mad.sh:1428: echo -e "- Currently uses curl v8.1.1."
|
||||
./mad.sh:1432: echo -e "${BLUE}lexiforest curl_impersonate${NC} is an active fork of curl_impersonate."
|
||||
./mad.sh:1433: echo -e "+ Currently uses curl v8.7.1"
|
||||
./mad.sh:1437: PS3='Please select which curl_impersonate to install: '
|
||||
./mad.sh:1445: install_curl_impersonate_lwthiker_orig
|
||||
./mad.sh:1449: install_curl_impersonate_lexiforest_fork
|
||||
./mad.sh:1459:install_curl_impersonate_lwthiker_orig() {
|
||||
./mad.sh:1463: echo -e "${BLUE}lwthiker curl_impersonate${NC} is the original curl_impersonate."
|
||||
./mad.sh:1464: echo -e "+ Currently uses curl v8.1.1, and has low activity for updates"
|
||||
./mad.sh:1467: echo -e "${GREEN}| Fetching:${NC} latest ${BLUE}lwthiker curl_impersonate${NC} info from github...${NC}"
|
||||
./mad.sh:1470: response=$(tor_curl_request --insecure -L -s https://github.com/lwthiker/curl-impersonate/releases/latest)
|
||||
./mad.sh:1472: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1475: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1485: yes_or_no "Do you wish to download and extract curl_impersonate $latestTag (using tor+curl)?" && {
|
||||
./mad.sh:1487: download_url='https://github.com/lwthiker/curl-impersonate/releases/download/'"$latestTag"'/curl-impersonate-'"$latestTag"'.x86_64-linux-gnu.tar.gz'
|
||||
./mad.sh:1490: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1492: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1540: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1569: echo -e "| Extracting curl_impersonate..."
|
||||
./mad.sh:1571: rm -f "${ScriptDir}"/curl*
|
||||
./mad.sh:1572: mv "$extract_location/curl-impersonate-ff" "${ScriptDir}/"
|
||||
./mad.sh:1573: mv "$extract_location/curl_ff109" "${ScriptDir}/"
|
||||
./mad.sh:1574: echo -e "${GREEN}| Done.${NC} Update ${BLUE}\"UseTorCurlImpersonate=true\"${NC} in script to use..."
|
||||
./mad.sh:1582:install_curl_impersonate_lexiforest_fork() {
|
||||
./mad.sh:1586: echo -e "${BLUE}lexiforest curl_impersonate${NC} is an active fork of curl_impersonate."
|
||||
./mad.sh:1587: echo -e "+ Currently uses curl v8.7.1, and is patched for latest CVEs"
|
||||
./mad.sh:1590: echo -e "${GREEN}| Fetching:${NC} latest ${BLUE}lexiforest curl_impersonate fork${NC} info from github...${NC}"
|
||||
./mad.sh:1593: response=$(tor_curl_request --insecure -L -s https://github.com/lexiforest/curl-impersonate/releases/latest)
|
||||
./mad.sh:1595: debugHtml "github" "lbf_inst_curlimp$j" "$response"
|
||||
./mad.sh:1598: latestTag=$(grep -oPi -m 1 '(?<=/curl-impersonate/releases/tag/).*?(?=")' <<< "$response")
|
||||
./mad.sh:1608: yes_or_no "Do you wish to download and extract curl_impersonate $latestTag (using tor+curl)?" && {
|
||||
./mad.sh:1610: download_url='https://github.com/lexiforest/curl-impersonate/releases/download/'"$latestTag"'/curl-impersonate-'"$latestTag"'.x86_64-linux-gnu.tar.gz'
|
||||
./mad.sh:1613: file_header=$(tor_curl_request --insecure --head -Ls "$download_url")
|
||||
./mad.sh:1615: debugHtml "github" "head_inst_curlimp$j" "${file_header}"
|
||||
./mad.sh:1663: tor_curl_request --insecure -L "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:1692: echo -e "| Extracting curl_impersonate..."
|
||||
./mad.sh:1694: rm -f "${ScriptDir}"/curl*
|
||||
./mad.sh:1695: mv "$extract_location/curl-impersonate-chrome" "${ScriptDir}/"
|
||||
./mad.sh:1696: mv "$extract_location/curl_chrome131" "${ScriptDir}/"
|
||||
./mad.sh:1697: echo -e "${GREEN}| Done.${NC} Update ${BLUE}\"UseTorCurlImpersonate=true\"${NC} in script to use..."
|
||||
./mad.sh:1859: echo -e ":${NC} ${GREEN}MAD${PINK} Audit${NC} : Reports usage of http & curl in scripts${PINK}${BLD} :"
|
||||
./mad.sh:1867: maud_curl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei 'curl')
|
||||
./mad.sh:1868: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1877: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1879: echo -e "$maud_curl"
|
||||
./mad.sh:1881: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1883: echo -e "$maud_torcurl"
|
||||
./mad.sh:1895: maud_curl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep --color='always' -Ei 'curl')
|
||||
./mad.sh:1896: maud_torcurl=$(grep -n -vxE '[[:blank:]]*([#].*)?' $fil | grep -A 12 --color='always' -Ei 'tor_curl')
|
||||
./mad.sh:1905: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl \"${NC})"
|
||||
./mad.sh:1907: echo -e "$maud_curl"
|
||||
./mad.sh:1909: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1911: echo -e "$maud_torcurl"
|
||||
./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:1927: echo -e "${PINK}MAD Audit of curl:${NC} (${GREEN}grep \"curl\"${NC})"
|
||||
./mad.sh:1929: echo -e "$maud_curl"
|
||||
./mad.sh:1931: echo -e "${PINK}MAD Audit of tor_curl (+12 lines after):${NC} (${GREEN}grep \"tor_curl\"${NC})"
|
||||
./mad.sh:1933: echo -e "$maud_torcurl"
|
||||
./mad.sh:2888: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:2889: printf "client: ${GREEN}Tor${NC} + ${BLUE}curl_impersonate${NC}\\n"
|
||||
./mad.sh:2891: printf "client: ${GREEN}Tor${NC} + ${GREEN}curl${NC}\\n"
|
||||
./mad.sh:3063: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:3064: printf "client: ${GREEN}Tor${NC} + ${BLUE}curl_impersonate${NC}\\n"
|
||||
./mad.sh:3066: printf "client: ${GREEN}Tor${NC} + ${GREEN}curl${NC}\\n"
|
||||
./mad.sh:3264: file_header=$(tor_curl_request --insecure -m 8 -s -D - -o /dev/null \
|
||||
./mad.sh:3271: file_header=$(tor_curl_request --insecure --head -H "Connection: keep-alive" -L -s -i "$download_url" |
|
||||
./mad.sh:3408: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --output "$file_path"
|
||||
./mad.sh:3465: tor_curl_request --insecure -L --speed-limit $DownloadSpeedMin --speed-time $DownloadTimeoutInterval "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3467: tor_curl_request --insecure -L --referer "$file_url" "$download_url" --continue-at - --output "$file_path"
|
||||
./mad.sh:3665: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3672: response=$(tor_curl_upload --insecure -i \
|
||||
./mad.sh:3743:if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:3744: curl_impersonate=()
|
||||
./mad.sh:3745: readarray -d $'' arrFiles < <(find "$ScriptDir" -maxdepth 1 -type f -name "curl_*" -printf '%p\n' | sort -Vk1)
|
||||
./mad.sh:3746: bFoundCurlHeader=false
|
||||
./mad.sh:3750: curl_impersonate=($fil)
|
||||
./mad.sh:3751: bFoundCurlHeader=true
|
||||
./mad.sh:3755: if [[ "$bFoundCurlHeader" == "false" ]]; then
|
||||
./mad.sh:3756: echo -e "${RED}[ERROR] Missing dependency \"curl-impersonate\"!${NC}"
|
||||
./mad.sh:3759: echo -e "You'll need to download ${GREEN}\"curl-impersonate\"${NC}."
|
||||
./mad.sh:3762: echo -e "The latest binary can be obtained on GitHub, search for \"curl-impersonate\""
|
||||
./mad.sh:3764: echo -e " 1. Visit the page of curl-impersonate and add \"/releases/latest/\" at end of URL."
|
||||
./mad.sh:3768: echo -e " 4. Download archive ${GREEN}\"curl-impersonate-vX.Y.Z.x86_64-linux-gnu.tar.gz\"${YELLOW}."
|
||||
./mad.sh:3769: echo -e " 5. Extract files ${GREEN}\"curl-impersonate-ff\"${NC} and ${GREEN}\"curl_ff109\"${NC} next to this script."
|
||||
./mad.sh:3772: echo -e "run $0 install_curl_impersonate\\n"
|
||||
./mad.sh:3774: yes_or_no "Do you wish to download and extract latest curl_impersonate (using tor+curl)?" && {
|
||||
./mad.sh:3775: UseTorCurlImpersonate=false
|
||||
./mad.sh:3776: install_curl_impersonate
|
||||
./mad.sh:3860: echo -e "[${YELLOW}Install curl_impersonate${NC}]: Downloads the latest binary for curl_impersonate from github repo (3 choices)"
|
||||
./mad.sh:3861: printf " %s install_curl_impersonate\\n" "$0"
|
||||
./mad.sh:3939:elif [[ "$arg1" == "install_curl_impersonate" ]]; then
|
||||
./mad.sh:3940: install_curl_impersonate
|
||||
./mad.sh:3971:if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./mad.sh:3972: printf "client: ${GREEN}Tor${NC} + ${BLUE}curl_impersonate${NC}\\n"
|
||||
./mad.sh:3974: printf "client: ${GREEN}Tor${NC} + ${GREEN}curl${NC}\\n"
|
||||
./plugins/pjscloud.sh:44: if [[ "${UseTorCurlImpersonate}" == "true" ]]; then
|
||||
./plugins/pjscloud.sh:45: response=$("${curl_impersonate[@]}" --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" \
|
||||
./plugins/pjscloud.sh:53: response=$(curl --proxy "socks5h://${tor_identity}@${TorIp}:${torPort}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue