![]() |
[WIP] Prey - antitheft system
1 Attachment(s)
I have decided to create a seperate thread for Prey on Sailfish, as I believe this is close enough to be working, allthough with some small efforts still needed to be changed in configuration files manually.
My version of prey is on my openrepos for you to test. It should install needed extra packages as needed (openssl-1.0.1f, perl modules and Imagemagick) I am still working on a few features missing. * Streaming video from cam (I believe we need a more recent gstreamer for this) * Alert (needs to find where bg image is stored) * Lock (remember to enable Jollas lock) What is working: * Get geo location * Get network information * Get active connections * Get nearby hotspots * Traceroute * Get running programs * Currently logged in user * NEW Screenshot (has a red colour) * NEW Alarm There is some manual configuration to do after installing the rpm: Edit: Code:
/usr/share/prey/config Get it from https://panel.preyproject.com/profile Code:
api_key='' Code:
mail_to='mailbox@domain.com' Code:
smtp_server='smtp.gmail.com:587' Code:
$ echo -n "password" | openssl enc -base64 When you run (as root) /usr/share/prey/prey.sh first time, it should register the device, and give some terminal output that will show you wheter the connection/registration is successfull. The device will be identified at prey as being 'linux' you cn edit this name to fx 'Jolla'. To query status of prey, you can use systemctl status prey.timer and systemctl status prey.service Changelog: 2805-2014 Version update requires cron (fcron) bugfixes (missing laptop-detect 0703-2014 Changed script to sound alarm, added systemd service and timer files, enables service and starts timer by rpm installation 0603-2014 Added fbcat as a requirement and added a (buggy) screenshot capability (picture has a red teint). |
Re: [WIP] Prey - antitheft system
1 Attachment(s)
Here are the source of the Prey build on my openrepos
They are all from official sources, untouched and can be build using attached spec files with rpmbuild. My QT programming is just beginning, so, do feel free to use this for creating a nice GUI to configure and monitor Prey :) /NielDK Prey (0.6.2) Source: https://s3.amazonaws.com/prey-releas....6.2-linux.zip And the dependencies of Prey: Imagemagick (6.8.8-7) Source: ftp://ftp.imagemagick.org/pub/ImageM...6.8.8-7.tar.gz OpenSSL (1.0.1f) Source; http://www.openssl.org/source/openssl-1.0.1f.tar.gz Perl modules: IO::Socket::SSL (1.967) Source: http://search.cpan.org/CPAN/authors/...L-1.967.tar.gz Net::SSLeay (1.58) Source: http://search.cpan.org/CPAN/authors/...ay-1.58.tar.gz |
Re: [WIP] Prey - antitheft system
Do you intend to add a control panel to perform the configuration?
|
Re: [WIP] Prey - antitheft system
Nice to see openrepos version coming too. Do you have sources hosted in some git repo?
|
Re: [WIP] Prey - antitheft system
:) no, on my laptop, but I will post here later .
Would be nice to see a friendly UI for start/stop/status/config etc. |
Re: [WIP] Prey - antitheft system
Quote:
|
Re: [WIP] Prey - antitheft system
Thanks a lot for you effort! I am looking forward to giving this a try. I just got one question regarding the whole setup: I want to install the Prey server software on my own VPS, but I somehow can't seem to find the source code. Would you be so kind to post a link to it in your first post?
|
Re: [WIP] Prey - antitheft system
Quote:
https://github.com/prey/prey-standalone-control-panel |
Re: [WIP] Prey - antitheft system
Thank you nieldk! Great work!
At the first post into the CODE section correct : # Start timer, as root systemctl start myscript.timer # Enable timer to start at boot systemctl enable myscript.timer in # Start timer, as root systemctl start prey.service # Enable timer to start at boot systemctl enable prey.timer |
Re: [WIP] Prey - antitheft system
Quote:
Thanks for this, It is corrected in first post. |
All times are GMT. The time now is 21:30. |
vBulletin® Version 3.8.8