tompohl
22p14 comments posted · 0 followers · following 0
11 years ago @ Tom's World - DEFCON 21 - Network Fo... · 1 reply · +1 points
11 years ago @ Tom's World - DEFCON 21 - Network Fo... · 0 replies · +1 points
13 years ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
ps auxww |grep loginwindow |grep -v grep |awk '{print $2}'
If it outputs more than 1 line, it may need to be modified to grab 1 specific pid. Also, if you do fast user switching with another user, that could be causing you the issue.
14 years ago @ Tom's World - Hacking the Nike Fuelband · 0 replies · +3 points
14 years ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
From a ssh session try this:
ps auxww |grep loginwindow |grep -v grep |awk ‘{print $2}’
Take the output number from that command (let's say it's 100) and then run the isightcatpture command:
launchctl bsexec 100 /path/to/isightcapture image.jpg
That should trigger the camera and save an image.jpg file in your current directory.
14 years ago @ Tom's World - Mud, Sweat, and Tears · 0 replies · +1 points
15 years ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
Here, add a second line under the curl line I suggested earlier:
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL/latest.jpg
15 years ago @ Tom's World - HOWTO: Track your mac · 0 replies · +1 points
Change:
/usr/bin/curl -u $USER:$PASS -F uploadedfile=@/.locateme/images/taken/$datetime.jpg $BASEURL/
to:
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL
And also change $BASEURL in locateme.conf to something like ftp://mywebhost.com/uploaddir/
The only thing that you'll miss out on is where the php script symlinks the latest image to latest.jpg, but it would at least get the file out to the server!
15 years ago @ Tom's World - HOWTO: Track your mac · 0 replies · +2 points
15 years ago @ Tom's World - Kryptos · 0 replies · +1 points