| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| LS.tgz | 2011-06-22 | 2.9 MB | |
| README | 2011-06-22 | 2.0 kB | |
| test3pl.py | 2009-09-14 | 446 Bytes | |
| synsend.py | 2009-09-14 | 205 Bytes | |
| tester.py | 2009-09-13 | 441 Bytes | |
| pingtest.py | 2009-09-13 | 301 Bytes | |
| test2pl.py | 2009-09-13 | 6.4 kB | |
| Totals: 7 Items | 2.9 MB | 0 |
#!/bin/csh -f
Make sure you have the web server installed:
yum install httpd
Move the LS directory into /var/www/html
Then go into the directory
cd /var/www/html/LS
Make sure it has the right ownership and permissions:
chmod -Rf 755 .
chown -Rf apache .
chgrp -Rf apache .
Make sure MySQL is installed:
yum install mysql
yum install mysql-administrator
yum install mysql-server
Start up the MySQL server:
/etc/init.d/mysqld restart
/usr/bin/mysql_secure_installation
Modify the settings of SELinux to allow HTTPD scripts to access
databases.
Modify the four key parameters in login.php appropriately based on
our choices in the MySQL installation:
Set up the database for LANscaper by running the initdb.sh script:
cd /var/www/LS
./initdb.sh
Make sure PHP is installed, with extensions for MySQL and the GD graphics library:
yum install php
yum install php-mysql
yum install php-gd
Make sure Python is installed, with extensions for MySQL:
yum install python
yum install MySQL-python
Restart the web server:
/etc/init.d/httpd restart
Download and install Scapy:
http://www.secdev.org/projects/scapy/
unzip scapy-latest.zip
cd scapy-2.0.1/
./setup.py install
Verify you are not running IPv6. The output of
lsmod | grep v6
should be empty.
If you are running IPv6 kill it on NICs you intend to use:
Create a file /etc/modprobe.d/kill-ipv6.conf with the line
install ipv6 /bin/true
/sbin/ifconfig eth1 del fe80::222:19ff:fe1f:dca4/64
/sbin/service ip6tables stop
/sbin/chkconfig ip6tables off
/sbin/service network restart
Restart your machine.
Read here for more details on disabling IPv6:
http://www.g-loaded.eu/2008/05/12/how-to-disable-ipv6-in-fedora-and-centos/
Run the ARP monitor:
cd /var/www/LS/bin
./arpmonitor.py eth1 1 18
Run the Network monitor:
cd /var/www/LS/bin
./netmonitor.py eth1 1 18
______
___ /________________________ __
__ __ \ __ \_ __ \ _ \_ / / /
_ / / / /_/ / / / / __/ /_/ /
/_/ /_/\____//_/ /_/\___/_\__, /
/____/