Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Find 'clear' PPP modem passwords in System Profiler' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Find 'clear' PPP modem passwords in System Profiler
Authored by: tidjj on Feb 06, '06 04:03:19PM
An Applescript to reveal the password from the code:

set hex to "123456789abcdef"
set p to text returned of (display dialog "Paste Code without brackets:" default answer "")
set pp to ""
set pw to ""
repeat with i from 1 to length of p
   if not (character i of p = " ") then set pp to pp & text i of p
end repeat
repeat with i from 1 to (length of pp) by 4
   set c to offset of (character i of pp) in hex
   set c to c * 16 + (offset of (character (i + 1) of pp) in hex)
   set c to c * 16 + (offset of (character (i + 2) of pp) in hex)
   set c to c * 16 + (offset of (character (i + 3) of pp) in hex)
   set pw to pw & (ASCII character c)
end repeat
display dialog pw

This hole is a real security concern because lots of IAP/ISPs use the same password for both the connection itself and the POP account (and sometimes online account management). One may gain access to private data thru webmail or lock your account and more...

[ Reply to This | # ]