This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Modified by Sean Pesce from original source: https://gist.github.com/mervick/18f2f2146125975c06c3fb47639d9a9e | |
| # | |
| # 2025-09-25 Updated: Fixed extraction of "weblink_get" value | |
| # 2018-06-18 Updated: mail.ru changed internals | |
| # 2017-09-22 Original idea: https://novall.net/itnews/bash-skript-dlya-skachivaniya-fajlov-s-mail-ru-cherez-konsol-linux.html | |
| URL="$1" | |
| DST_FILE="$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Akamai-Client-Ip | |
| CACHE_INFO | |
| CF_CONNECTING_IP | |
| CF-Connecting-IP | |
| CLIENT_IP | |
| Client-IP | |
| COMING_FROM | |
| CONNECT_VIA_IP | |
| FORWARD_FOR | |
| FORWARD-FOR |