Recovering Safari Form Data After Login Timeout

Can of worms

  • Homepage

Sep 7: Recovering Safari Form Data After Login Timeout

Quick one. We've all done it, written something (fantastic or not) clicked submit, and get a timeout page and we've lost all of the text we've just written.

Then you start poking around with "Form Values" find it's encrypted and cry.

Well, you can get it back - if you've got developer tools installed and you've not shutdown Safari.
You need gcore from http://osxbook.com/book/bonus/chapter8/core/download/gcore-1.3.tar.gz

Compile it (extract and type make):

Find Safaris PID:

% ps auwwx | grep Safari

dom 72861 5.3 5.6 1152436 234072 ?? S Mon08PM 52:39.08 /Applications/Safari.app/Contents/MacOS/Safari -psn_0_5104862


Run it:

% sudo ./gcore -c core 72861

Realise you're running Safari in 32 bit mode, curse:

% gcc -m32 gcore.c
% sudo ./a.out -c core 72861


Create some debris:

% strings - core > str

Look for it and do whatever you like:

% less str

The core file probably has a whole bunch of sensitive information in it in an unencrypted format, I'd remove it PDQ after the recovery if I were you.
Posted by dom in tech Comment: (1) Trackbacks: (0)

Trackbacks
Trackback specific URI for this entry

No Trackbacks

Comments
Display comments as (Linear | Threaded)

#1 - Bradley Giesbrecht 2012-08-13 19:18 - (Reply)

Helped me create a local archive of an online comment I had just posted. Thanks.


Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

BBCode format allowed
 
 

Archives

  • May 2013
  • April 2013
  • March 2013
  • Recent...
  • Older...

Categories

  • XML garden
  • XML life
  • XML tech
  • XML tooting


All categories

Links

  • NerdyToad
  • Leggetter
  • Bifferboard
  • Reel SVN log

Syndicate This Blog

  • XML RSS 0.91 feed
  • XML RSS 1.0 feed
  • XML RSS 2.0 feed
  • ATOM/XML ATOM 0.3 feed
  • ATOM/XML ATOM 1.0 feed
  • XML RSS 2.0 Comments

Blog Administration

Open login screen
 

Layout by Andreas Viklund | Serendipity template by Carl