Results 1 to 10 of 10
Discuss WiFi Password: how is it stored and where? at the General - Hackint0sh.org; Anyone knows how and where the WiFi passwords are stored on the iPhone. I'm not ...
  1. #1
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default WiFi Password: how is it stored and where?

    Anyone knows how and where the WiFi passwords are stored on the iPhone. I'm not looking into cracking it, but into saving and restoring whatever "container" holds it.



  2. #2
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by aviegas View Post
    Anyone knows how and where the WiFi passwords are stored on the iPhone. I'm not looking into cracking it, but into saving and restoring whatever "container" holds it.
    You should be able to set/get wifi passwords via the PSKeychainUtilities class from the Preferences framework.

  3. #3
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by timschuerewegen View Post
    You should be able to set/get wifi passwords via the PSKeychainUtilities class from the Preferences framework.
    I will look into that. Thanks.

  4. #4
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    252
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    19

    Default

    I'd be very interested in your findings!

  5. #5
    Newbie Array

    Join Date
    Feb 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Someone pointed me towards this, knowing I did something with it. Bit of poking around will net you the code you want:

    To add a key, say, "b45152d7e2747e5368b7d604a9" for network "eircom1111 2222":*

    Code:
    [PSKeychainUtilities setPassword: @"b45152d7e2747e5368b7d604a9" forServiceName: @"Airport" accountName: @"eircom1111 2222"];
    To read that key:
    Code:
    [PSKeychainUtilities _passwordForGenericAccount: @"eircom1111 2222" service: @"AirPort"];
    You may need a PSKeychainUtilities interface definition, which can be found by searching the tubes for PSKeychainUtilities. You'll also need to compile your program with the "-framework Preferences" option

    *This may be a real key for a real network. This is purely coincidental.


  6. #6
    Administrator Array

    Join Date
    Oct 2007
    Posts
    4,145
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    thanks for this info...
    Very useful ....

  7. #7
    Newbie Array

    Join Date
    Mar 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Does anybody know how the algorithm of this function works in detail? The information of the passphrase is stored as 512 Bit inside /Library/Keychains/keychain-2.db. Could be a symmetrical encryption but which keys are used for that? I just want to edit my passphrase on filesystem level because i need some special chars like "" in my passphrase wich i cannot enter on the iphone.

    Thanks,
    fusel

  8. #8
    boz
    boz is offline
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    159
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Default

    so actually, if you entered a dictionary (thus making an entry for each and every word, or script it..) for for example the network 'default', you could crack it? or try to, might take long though, while you could do the same to each and every default network name like sitecom, linksys etc,....

    might be a bad idea, but just wanted to share
    'There is no I in threesome'

  9. #9
    Newbie Array

    Join Date
    Jul 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by eoinmcl View Post
    Someone pointed me towards this, knowing I did something with it. Bit of poking around will net you the code you want:

    To add a key, say, "b45152d7e2747e5368b7d604a9" for network "eircom1111 2222":*

    Code:
    [PSKeychainUtilities setPassword: @"b45152d7e2747e5368b7d604a9" forServiceName: @"Airport" accountName: @"eircom1111 2222"];
    To read that key:
    Code:
    [PSKeychainUtilities _passwordForGenericAccount: @"eircom1111 2222" service: @"AirPort"];
    You may need a PSKeychainUtilities interface definition, which can be found by searching the tubes for PSKeychainUtilities. You'll also need to compile your program with the "-framework Preferences" option

    *This may be a real key for a real network. This is purely coincidental.
    I'd like to be able to retrieve a wifi network key that was put into my phone for me so i can access the net on my laptop also, is this possible? and also how can i use these commands.

    Also i was wondering if you had any luck with the eircom WEP cracker for iPhone OS 3.0 ;-)

  10. #10
    Newbie Array

    Join Date
    Feb 2013
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Yes, there is an easy way

    Quote Originally Posted by aviegas View Post
    Anyone knows how and where the WiFi passwords are stored on the iPhone. I'm not looking into cracking it, but into saving and restoring whatever "container" holds it.
    Having Cydia, download "WiFi Passwords" from Xsellize repo, its free and it will tell you all your stored WiFi networks you've been connected with a password, adn of course, it will tell you the password you used to connect to such networks.
    Is not hacking, is just reading the info stored in your iPhone, iPod or iPad


 

 

Similar Threads

  1. Wifi password crack?
    By vidar_s in forum General
    Replies: 1
    Last Post: 08-28-2011, 06:00 PM
  2. Wifi password Cracker ?
    By Anesh200 in forum General
    Replies: 3
    Last Post: 04-22-2010, 06:16 PM
  3. Replies: 1
    Last Post: 06-26-2008, 04:34 AM
  4. wifi password, EDGE on 1.1.3
    By d00by in forum iPhone "2G" (Rev. 1)
    Replies: 2
    Last Post: 02-12-2008, 01:52 PM
  5. Replies: 0
    Last Post: 10-08-2007, 12:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 12:15 AM.
twitter, follow us!