Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
fixed some errors added a comment to TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Sep 14, 2009
1 parent 5533c6c commit 668a9e5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions TODO
@@ -1,5 +1,6 @@

-Add update delay function that changes the value in config.ini to reflect the delay on the Prey Control Panel
-On Windows allow the guest account to become active if stolen-this takes care of the previous 2 cases for Windows
- Enable auto-login in Mac/Linux/Windows if computer is in stolen state.
- Create an "accesible" user account so that we can lurk the thief into logging in and opening his mail or whatever (and catch him whole handed)
- La idea es que durante el proceso de recolección de datos, también se adjunte en el email un pequeño volcado de los paquetes TCP que se hayan generado mientras el ladrón navega por internet. tcpdump/wireshark > tcpxtract (Idea de Salamander).
Expand Down
12 changes: 6 additions & 6 deletions modules/webcam/platform/windows
Expand Up @@ -16,12 +16,12 @@ function take_picture {
fi
fi

$base_path/modules/webcam/lib/webcam_capture.exe
if [ -f $base_path/modules/webcam/lib/vfw-1.bmp ]; then
$base_path/lib/bmp2png.exe $base_path/modules/webcam/lib/vfw-1.bmp 2> /dev/null
rm $base_path/modules/webcam/lib/vfw-0.bmp
rm $base_path/modules/webcam/lib/vfw-1.bmp
mv $base_path/modules/webcam/lib/vfw-1.png "$picture"
$module_path/lib/webcam_capture.exe
if [ -f $base_path/vfw-1.bmp ]; then
$base_path/lib/bmp2png.exe $base_path/vfw-1.bmp 2> /dev/null
rm $base_path/vfw-1.bmp
rm $base_path/vfw-0.bmp
mv $base_path/vfw-1.png "$picture"
fi

}
Expand Down
6 changes: 4 additions & 2 deletions platform/windows
Expand Up @@ -19,8 +19,10 @@ function get_current_delay {
}

function update_execution_delay {
schtasks.exe -delete -f -tn "Prey" 2> /dev/null
schtasks.exe -create -ru "System" -sc MINUTE -mo $delay -tn "Prey" -tr "c:\Prey\prey.bat" 2> /dev/null
# schtasks.exe -delete -f -tn "Prey" 2> /dev/null
# schtasks.exe -create -ru "System" -sc MINUTE -mo $delay -tn "Prey" -tr "c:\Prey\prey.bat" 2> /dev/null
touch $base_path/config.ini
echo $delay >$base_path/config.ini
}

# module de/activation functions
Expand Down

0 comments on commit 668a9e5

Please sign in to comment.