Source Code
SpySense Source Code
The current stable release of SpySense is written in Java and can run in any system that supports Java version up to 1.5.1. Below is a .jar package containing all the source files of SpySense code .
SpySense Libraries
SpySenses' successfull operation requires a number of libraries that must be imported in your work space folder. They are the same as the SenSys tool. Details can be found here.
Installation Notes
What you'll need to get SpySense up and running...
- Any Windows based operating system along with a suitable installed cygwin and TinyOS 1.x environment for firing up SpySense tool. In the case of a Unix based operating system the only prerequisite is a TinyOS 1.x environment.
- Installed Java version up to 1.5.1.
- A sensor mote for serving as the attached radio transceiver; used for sending any neccessary specially crafted messages during the attacks. The node must be loaded with the common TOSBase apllication that can be found in any TinyOS release . It bridges packets between a serial channel and the attached radio.
The current stable release of SpySense supports Tmote Sky sensor platforms.
Getting SpySense Project Folder
The SpySense work project is developped using the NetBeans toolkit. It is structured in such a way for handling the underlying database and concurrent communication between the host and the attached sensor platform. The link contains the entire SpySense folder along with the corresponding package that holds all neccessary class files.
Boot up Procedure
After having successfully downloaded the SpySense project, first you have to correctly import the complementary libraries. This can be done in two ways::
- Include the paths of these libraries into your system's Java classpath variable.
- Import them, separately, only to your SpySense working project folder.
Once this is done, you are ready to fire up the SpySense tool. Go to the directory where the Spi-Sense_Tool.jar file resides and type in a TinyOS 1.x command line terminal:
Command | Possible response(s) |
java -cp Spi-Sense_Tool.jar spisense.Main "Sensor.port=COM$NUM$:$sensor_platform$" | BOOT UP successfully OR FATAL EXCEPTION + (kind of exception) |
The “Sensor.port” configuration property identifies the port where the attached sensor hardware, of type sensor_platform, is connected. It is important to set this property correctly, otherwise the SenSys tool will fail to boot up.
For example, in the case of a Tmote Sky sensor node connected to port COM14, the correct boot up command would be::
java -cp Spi-Sense_Tool.jar spisense.Main "Sensor.port=COM14:tmote"