Re: Password Recovery from stolen hard drive



Maxime Alarie wrote:
"How would you script that? 9 times out of 10 I expect that the laptop
would report a private address like 192.168.0.15 Useless information
unless I had a way to log back into the laptop from where ever I was. A
pipe dream I think."

#!/bin/bash

echo Your external IP Address is:
wget http://Www.whatismyip.com -O - -o /dev/null | grep '<TITLE>' | sed
-r 's/<TITLE>WhatIsMyIP\.com \- //g' | sed -r 's/<\/TITLE>//g'

exit 0

(You can also use gedit instead of nano, but I chose to use nano above
in case this is done through a remote text-based connection)

Press Ctrl + O, Enter, Ctrl + X, then run:
chmod u+x bin/whatismyip.sh

Now you can check your external IP Address by running:
~/bin/whatismyip.sh
...in a terminal.


Source: http://ubuntuforums.org/archive/index.php/t-526176.html


-----Original Message-----
From: ubuntu-users-bounces@xxxxxxxxxxxxxxxx
[mailto:ubuntu-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of
p.echols@xxxxxxxxxxx
Sent: Tuesday, April 13, 2010 2:10 PM
To: Ubuntu user technical support,not for general discussions
Subject: Re: Password Recovery from stolen hard drive


----- "Maxime Alarie" <malarie@xxxxxxxxxxxxx> wrote:


Im not a security expert, but I'd say Yes and no.

Chances are that when he finds out its Linux under the hood, he 'll
wipe
it clean and install Windows (or ask a friend to do it), that is if
he
did not sold it.


Police say it was probably sold within the hour. If it gets wiped, then
I don't care any more. It's done and gone.
The concern is if it was sold to identity thieves. Can they get access
to my passwords and then access my accounts.



He can reset your password if he is able to reset the root password,
which require some grub knowledge or if he's patient enough to read
some documentation on how to do it


Yah, I better change all my passwords. Bleah!




If I can suggest.. Make a script that sends its ip adress (i.e: at
the last line of the networking script)to your email account (gmail,
hotmail,etc..) at boot time.. That way you might be able to do what
you
want with your pc as soon as it hits the net. :)



How would you script that? 9 times out of 10 I expect that the laptop
would report a private address like 192.168.0.15 Useless information
unless I had a way to log back into the laptop from where ever I was. A
pipe dream I think.

Uh yeah... this is what that command yields here -

ray@RaysComputer:~$ wget http://Www.whatismyip.com -O - -o /dev/null |
grep '<TITLE>' | sed
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be
executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single
continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

E-mail bug reports to: bonzini@xxxxxxx .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
ray@RaysComputer:~$ -r 's/<TITLE>WhatIsMyIP\.com \- //g' | sed -r
's/<\/TITLE>//g'
bash: -r: command not found
ray@RaysComputer:~$

Want to try again? 8-)

Later, Ray Parrish

--
Linux dpkg Software Report script set..
http://www.rayslinks.com/LinuxdpkgSoftwareReport.html
Ray's Links, a variety of links to usefull things, and articles by Ray.
http://www.rayslinks.com
Writings of "The" Schizophrenic, what it's like to be a schizo, and other
things, including my poetry.
http://www.writingsoftheschizophrenic.com



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Inconsistent SMTP/Gmail connection drop
    ... I have a laptop that wakes up and then runs a script that collects ... When I check the laptop and manually run the function that sends the ... email and report, it works fine. ... - I've checked the smtp debug report and everything seems ok. ...
    (comp.lang.python)
  • Re: Removing Rows for Printing
    ... One is to clear a sheet of all input cells leaving ... .PrintOut ' for testing use .PrintPreview ... I attached the script to the Print Button. ... I hid the Report worksheet. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Removing Rows for Printing
    ... I attached the script to the Print Button. ... I hid the Report worksheet. ... Change PrintPreview to Printout in the code if it is working OK ... Also each cell in Col A26 through 58 has a border, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: [SLE] Things I learned..
    ... laptop and burned the urgently needed Solaris patches back across the ... M$ media player checks home, ... YASTs H/W report shows ... Three weeks ago I bought an enclosure with a USB 2.0 and 2 firewire ...
    (SuSE)
  • Re: Removing Rows for Printing
    ... I hid the Report worksheet. ... Change PrintPreview to Printout in the code if it is working OK ... I can tell you that I do know how to create a button and attach the script to it. ... Also each cell in Col A26 through 58 has a border, but I would not think that has any concern. ...
    (microsoft.public.excel.worksheet.functions)