HOPE Slides:. HOPE (Hackers On Planet Earth) just finished and my talk "The Singularity: Focus on Robotics and Hackers" slides are available as PDF (w/notes) and online as HTML (no notes). Enjoy and please provide feedback (sk/at/mr-sk/dot/com).
HOPE Flickr:. A variety of pictures from HOPE.
News:. Mr-sk mentioned in c|net news - Hackers in New York City
News:. Mr-sk featured on Basement.org - Arc90's Ben Sgro at the Last Hope Conference
[new] DoubleCheck - Provides list of variables and methods for a PHP file:.
PHP allows variable declaration anywhere, anytime. This can lead to silly bugs in which you misspelled the variable name; $complexCamelCaseVar & $complxCamelCaseVar might take a while to find in your code. This script gives you a listing of all the variables and methods with a count, in alphabetic order. Makes finding misspellings a bit easier.
Code:. doubleCheck.txt
Additional:. Shouts to Slashproc for all his help! Also, this tool is still fresh as heck so if it breaks, throw me some fixes!
[new] C implementation of a obstacle avoidance algorithm for the Khepera II robot:.
Sigmas are basically a for-loop right? The is a very simple implementation of an obstacle avoidance algorithm for the Kheprea II robot. It isn't a controller. It does allow you to set two motor and eight sensor values.
Code:. ff.txt
Additional:. Algorithm taken from " Evolvable Machines: Theory & Practice".
[new] Java console for the SRV1 Robotics platform:.
I've got to give shouts to Trossen Robotics again. I've recently got my hands on the SRV1 robotics platform. Super tight. It comes with a working java console, but I decided a re-write was in order; to remove the old serial code, learn how it interacts with the bot, and give a little clean up. The code below is *still a WIP*.
Code:. console.txt
Additional:. See this thread for more details.
C source for interfacing with the Phidget RFID Reader:.
Trossen Robotics offers an excellent starter kit for RFID research. However, the getting started documentation posed some problems, like .h files missing or included in the wrong order. Thanks to some help from galt (#innercircle) we got that fixed quickly. The included source polls indefinetly while waiting for any number of callbacks to initiated. When a user swipes a card and then removes it, the script calls system() on a php file, that goes about some db stuff. The CPhidget API provides a convenient interface to interacting with the RFID reader.
Code:. ce_rfid.txt
Additional:. This depends on the CPhidget Linux Framework (bunch of .h files) to be installed.
Security:. This runs as sudo. So, a user with a reader could write data to the card that would be executed when the code attempts the system() call. This requires money and time, but I know it can be done.
/* Copy the entire command to the buffer.
* BUFFSIZE = ./ (2) + purchase (8) + space (1) + 10 + NULL = 22
*/
snprintf(buff, 22, "./purchase %02x%02x%02x%02x%02x", tagVal[0], tagVal[1], tagVal[2], tagVal[3], tagVal[4]);
system(buff); /* Call the php file w/the RFID as the argument. */
* BUFFSIZE = ./ (2) + purchase (8) + space (1) + 10 + NULL = 22
*/
snprintf(buff, 22, "./purchase %02x%02x%02x%02x%02x", tagVal[0], tagVal[1], tagVal[2], tagVal[3], tagVal[4]);
system(buff); /* Call the php file w/the RFID as the argument. */
Growl notifications for iTunes LAN connections:.
This script will provide notifications when someone connects and disconnects to your shared iTunes. Originally written in perl, then ported to php, there were a number of unresolved problems w/mac osx's implementation (or lack thereof) for pcntl_fork(). So, this current version should be executed as ./whoTunes.php &.
I'm currently working on a new version that will be an OSX Widget.
Code:. whoTunes.txt
Additional:. This requires growl and growlnotify hack, explained here.
Proof of concept - Campfire web based chat bot
This bot is not complete and will only connect to a channel. While developing this, we stopped using campfire for general chat, instead sticking with AIM. So, this dropped off my development radar.
Code:. archy.txt
Additional:. It would be great if someone wanted to continue development on this.
Proof of concept - Bluetooth powered device Denial of Service:.
This is a Python DoS in the simplest terms. It will attempt to connect to the targeted device repeatedly. For phones such as the Razr and Windows Mobile powered devices, a dialogue box will be presented and provided application focus when an incoming bluetooth request is made. The user must 'deny' or 'accept' the incoming connection. If they select 'deny', they will be immediately presented the same dialogue.
Code:. connect.txt
Additional:. This could be used in conjunction with a social engineering attack.