From 26C3 Public Wiki

Jump to: navigation, search

Pamela

Pamela is a tool to visualize the "crowdedness" on your network online. We (Hackerspace Brussels) want it so members living far away can have an idea on how crowded the space is before jumping in their cars and driving an hour to get there.

Pamela is made up out of an arp-scanner script that people in run on computers on the network of interest, which uploads the mac addresses in that network (lan) on a webserver.

On the server there is a webpage that does the visualization of the mac addresses present.

Multiple people on multiple lans can run pamela together against the same target web server, which will aggregate all results. This makes it possible to get an overview of multiple lans in the same space.

Contents

The code

The project is GPL3 and can be downloaded from http://github.com/sandb/pamela/.

Project page at http://hackerspace.be/Pamela (currently in disorderly state).

Half of the code got written at and during the first 3 days of 26c3.

If you are having problems running the script, use the latest version from github, it contains some bugfixes, and more verbose output: http://github.com/sandb/pamela/raw/master/pamela-scanner.sh

Pamela on 26c3

You can find pamela on http://81.163.130.39/pamela/. If you are at 26c3, running linux and have arp-scanner installed, please use the download button to download the scanner script and run it in the background to get your local lan mac addresses visible.

Requirements

Using the page:

  • You need a browser that supports canvas to view the page (Firefox 3.5, Chrome, Safari).
  • Might be you need to refresh once the first time you access the page (bug with loading the images).

Running the scanner:

  • Be on a network
  • Have arp-scan installed
  • Have sudo rights

Running the script

Once the script is downloaded, you can run it like this:

sandbender@sandbender-macbook:~/www/pamela$ sudo ./pamela-scanner.sh -i eth0
Wed Dec 30 12:35:17 CET 2009 scanning...
Wed Dec 30 12:35:25 CET 2009 sleeping...

Do pamela-scanner.sh -? to get help.