[Tutorial] iConnect

Discussion in 'iOS Jailbreak & Cydia' started by Gatzy118, Oct 7, 2008.

  1. Gatzy118

    Gatzy118 New Member

    Joined:
    Jan 7, 2008
    Messages:
    350
    Likes Received:
    0
    Device:
    iPod touch
    A few people have been having problems so i thought id make a tutorial.

    Hey Guys! This is Gatzy118's tutorial for iConnect!

    Step1. Creating the Project and Adding items
    i) Create a new windows forms project in vb.net.
    ii)Add reference to iConnect.dll - Project>Add Reference>Browse for iConnect
    iii)Add resources to enable the use of iConnect - Project>Add Existing item>select all files
    then browse for Manzana.dll, itunesmobiledevice.dll, pscp.exe and plink.exe. Make all these resources
    copy to output
    iv)Add to the top of Form1.vb Imports iConnect

    Step2. Create and use the device

    ssh

    For ssh the code need is...

    Code:
    Dim device as new ssh.sshDevice
    Now you can use the device as you wish.
    The IP address must be set but the username and password are set to a default of root and alpine

    Examples....

    Code:
    device.IPAddress = "192.168.1.254"
    device.copy("/test/test.txt","C:\test.txt")
    device.terminal("rm -rf")

    usb

    For usb the code needed is

    Dim device as new usb.usbdevice

    Now the device needs to be connected

    Code:
    device.connect()
    now you must wait for the device to connect. a safe bet is to add to the onload sub...

    Code:
    device.connect()
    system.threading.thread.sleep(3000)
    now use as you wish!

    examples...

    Code:
    device.copyFile("/test.txt","C:\test.txt")
    device.copyDir("/test","C:\test")

    Thats it! Any more infomation please just ask.

    Attached Files:

  2. crizh4x

    crizh4x Active Member

    Joined:
    Sep 19, 2007
    Messages:
    4,474
    Likes Received:
    17
    Device:
    2G iPod touch
    I'll bet crapware will have been 'released' by the time I get home tonight... Somebody sayin "oh mah gawd I just copyd a file 2 mah itouch d00d, ize l33t haxzor, hear, I gize u mah form wit teh button to copy a file from C to teh ipot"

    I would seriously almost put money on it.
  3. andydam123

    andydam123 Member

    Joined:
    Aug 11, 2008
    Messages:
    447
    Likes Received:
    0
    Me too, Chris.
  4. simonrichards150

    simonrichards150 New Member

    Joined:
    Oct 29, 2007
    Messages:
    2,058
    Likes Received:
    94
    Device:
    iPod touch
    Get a life, Chris. This is all useful information, and I rate Gatzy way above you for not being a self-important arse who guards his code like its gold bars or diamonds.

    Where are your tutorials?
    ...
    ...
    Exactly. So mind your own business.
  5. Gatzy118

    Gatzy118 New Member

    Joined:
    Jan 7, 2008
    Messages:
    350
    Likes Received:
    0
    Device:
    iPod touch
    if people wanna steal my code, go ahead! You may well learn somthing, I'm only doing it to learn so why not help others, which is the reason iDev will NOT be obfuscated at all

Share This Page