[How-to] Download files from Rapishare with your Ipod/Iphone

Discussion in 'iOS Jailbreak & Cydia' started by Pf94, Apr 13, 2009.

  1. Pf94

    Pf94 New Member

    Joined:
    Apr 13, 2009
    Messages:
    13
    Likes Received:
    0
    Hi !

    This is my first post, i'm going to explain you how to download files from [PIRACY.rs] with your Ipod Touch or Iphone. I'm sorry my english is bad...

    What you need :
    - a jailbroken Ipod Touch/Iphone
    - a [PIRACY.rs] premium account (free download doesn't work)
    - OpenSSH with SSH turn on
    - Mobileterminal (in Cydia)
    - wget (in Cydia)

    I'm not using Safari DL Plugin, it's not very powerful....
    Very Important : AutoLock must be turn off and Wifi turn on !

    Step 1 : Get cookies

    To download with wget you need cookies first. Browse your device with Winscp or Putty and go to var/mobile. Create a folder ".cookies" with permissions 755 and a file "[PIRACY.rs]" with permissions 755 in this folder. Then return in var/mobile and create a file with permissions 755 "getcookies.sh". Write this code in getcookies.sh :

    Code:
    #!/bin/bash
    wget \--save-cookies ~/.cookies/[PIRACY.rs] \--post-data "login=USERNAME&password=PASSWORD" \--no-check-certificate \-O - \https://ssl.[PIRACY.rs].com/cgi-bin/premiumzone.cgi \> /dev/null
    Replace USERNAME and PASSWORD with your login and your password.

    Step 2 : The script

    In var/mobile create a file named "script.sh" with permissions 755. Write this code in script.sh :

    Code:
    alias wget='wget -c -t 1 --load-cookies ~/.cookies/[PIRACY.rs]'
    wget -i dl.txt
    
    halt
    "halt" turns off your device whan downloads are finish, you can remove this line if you want.

    In var/mobile create a file named "dl.txt" with permissions 755. Write [PIRACY.rs] URL in this file, you can add more than one URL files.

    Step 3 : Use the script

    Launch MobileTerminal. Use root privileges (su), the default password is alpine. If you use the script for the first time type in the terminal :
    Code:
    ./getcookies.sh
    Then you can type this to start downloading files in "dl.txt"
    Code:
    ./script.sh
    When download is finnish the ipod turn off if you didn't remove the last line and use root privileges to launch the script, it's better for your battery

    Please Register or Log in to view images


    You can press home button during download, MobileTerminal can work in background !

    Step 4 : Transfer files to your computer

    I know 3 ways to do that :
    - SSH over wifi using Winscp or Putty
    - SSH over USB using Iphone Tunnel Suite (faster)
    - Classic USB (instructions here) (fastest way)

    Please Register or Log in to view images



    I'm using the third but it's windows only. Downloaded files are in var/mobile (if the script file is in this folder).

    Feel free to correct my mistakes and I hope it's usefull !

    Tips

    You can edit dl.txt on your device with a program like gTxtEdit (copy and paste with Clippy)
  2. studangerous

    studangerous Super Moderator Emeritus Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    5,975
    Likes Received:
    30
    Device:
    iPhone 4 (Black)
    Looks interesting. I'll have a mess around with this when I get round to jailbreaking again.
  3. Fallen Archangel

    Fallen Archangel New Member

    Joined:
    Apr 13, 2009
    Messages:
    8
    Likes Received:
    0
    I think you can do this with the free user....im 85% sure you can
  4. Pf94

    Pf94 New Member

    Joined:
    Apr 13, 2009
    Messages:
    13
    Likes Received:
    0
    I'm sure it's possible but not this way, there is a captcha for free user I think

Share This Page