Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed some errors added a comment to TODO

  • Loading branch information...
commit 668a9e5f1c3bd6f1e503ec9b9f33a1a07814b8f2 1 parent 5533c6c
unknown authored
Showing with 11 additions and 8 deletions.
  1. +1 −0  TODO
  2. +6 −6 modules/webcam/platform/windows
  3. +4 −2 platform/windows
View
1  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).
View
12 modules/webcam/platform/windows
@@ -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
}
View
6 platform/windows
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.