artyom_h31

itmages

Apr 24th, 2018
663
0
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.93 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Please write your username and password
  4. username=""
  5. password=""
  6.  
  7. cookie_jar_file_path="/tmp/itmages-cookie-jar"
  8.  
  9. token=$(curl --silent "https://itmages.ru/user/login" | grep -Po '(?<=value=").+?(?=" name="token")')
  10.  
  11. curl --cookie-jar "$cookie_jar_file_path" --cookie "token=$token" --data "token=$token" --data-urlencode "itmages_modules_account_forms_Login%5Busername%5D=$username" --data-urlencode "itmages_modules_account_forms_Login%5Bpassword%5D=$password" --data "itmages_modules_account_forms_Login%5BrememberMe%5D=0" --data "yt0=" "https://itmages.ru/user/login"
  12.  
  13. download_command="curl --silent --cookie \"$cookie_jar_file_path\""
  14.  
  15. # The last page number
  16. page_count=$(eval $download_command "https://itmages.ru/home" | grep -Po '(?<=home\?itmages_models_Data_page=)[0-9]+(?=">[0-9]+</a>)' | tail -n 1)
  17.  
  18. echo "Found $page_count pages"
  19.  
  20. downloaded_count=0
  21.  
  22. for i in $(seq 1 $page_count); do
  23.     downloaded_from_single_page_count=0
  24.     links=$(eval $download_command "https://itmages.ru/home?itmages_models_Data_page=$i" | grep -Po '(?<=href=")/image/.+?(?=")' | sed 's/view/preview/')
  25.     while read in; do
  26.         page=$(eval $download_command "https://itmages.ru$in");
  27.         name=$(echo "$page" | grep -Po "(?<=<th>Имя изображения</th><td>).+(?=</td>)")
  28.         prefix=$(echo "$in" | sed 's/\/image\/preview\///' | sed 's/\//-/')
  29.         direct_link=$(echo "$page" | grep "<th>Прямая ссылка</th>" | grep -Po '(?<=value=")http.+?(?=")')
  30.         echo "$name in $in at $direct_link"
  31.         wget --quiet -O "$prefix-$name" "$direct_link"
  32.         wget_exitcode=$?
  33.         if ! [ $wget_exitcode -eq 0 ]; then
  34.             echo "Error while downloading $name"
  35.             continue
  36.         fi
  37.         downloaded_from_single_page_count=$((downloaded_from_single_page_count+1))
  38.         downloaded_count=$((downloaded_count+1));
  39.     done <<< "$links";
  40.     echo " --- $downloaded_from_single_page_count images downloaded from the page $i --- ";
  41. done;
  42. echo "$downloaded_count images downloaded"
Advertisement
Comments
  • User was banned
  • User was banned
  • Vormilir
    212 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • User was banned
Add Comment
Please, Sign In to add comment