...
Code Block |
---|
sudo su
source /opt/python_environments/norduni/bin/activate
pip install django ipaddr argparse pexpect markdown psycopg2 lucene-querybuilder django-tastypie xlwt south django-activity-stream django-jsonfield
|
Here psycopg2 is optional but you need to install the Python database module of your SQL database choice. If you have trouble installing psycopg2.
...
Code Block |
---|
<LocationMatch "Shibboleth.sso"> SetHandler None </LocationMatch> <Location "/accounts/login-federated/"> AuthType shibboleth ShibRequireSession On require valid-user RequestHeader set X_REMOTE_USER %{eppn}e RequestHeader set EPPN %{eppn}e RequestHeader set GIVENNAME %{givenName}e RequestHeader set SN %{sn}e RequestHeader set MAIL %{mail}e RequestHeader set AFFILIATION %{affiliation}e RequestHeader set ENTITLEMENT %{entitlement}e </Location> |
Using the Virtualbox image
...
image
...
Username: norduni
Password: norduni+123
To start the app:
Code Block |
---|
sudo su cd /opt/norduni/src/niweb . env/bin/activate export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ python manage.py runserver 0.0.0.0:80start_dev_noclook.sh |
Now you should be able surf to your machines ip and see the NOCLook app started.
The NOCLook username is also norduni and the password is norduni+123.
To add more hosts just go to /opt/norduni/tools/nerds/producers/nmap_services_py.
Code Block |
---|
./run -O .json address to scan |
After the data collection you insert the data using the consumer. (You have to stop the Django app first.)
Code Block |
---|
. /opt/norduni/src/niweb/env/bin/activate
cd /opt/norduni/src/scripts
python noclook_consumer.py -C test.conf -I
|