This repository has been archived by the owner on May 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
PlatformUbuntu
Gabriel Iovino edited this page May 26, 2015
·
73 revisions
This installation generally takes 5-10min on hardware with more than 8 cores. Generally you'd want something with at-least 16GB ram and 8cores.
Because @giovino is so awesome, the helper script will configure apache2, bind and install CIF to /opt/cif
for you, as well as install any required dependencies too!
- Bash the EasyButton!(tm)
$ curl -Ls https://raw.githubusercontent.com/csirtgadgets/massive-octo-spice/master/hacking/platforms/easybutton_curl.sh | sudo bash -
$ sudo chown `whoami`:`whoami` ~/.cif.yml
- test connectivity to the router
$ cif -p
roundtrip: 0.518286 ms
roundtrip: 0.487317 ms
roundtrip: 0.47499 ms
roundtrip: 0.518493 ms
- perform an initial
cif-smrt
test run
$ sudo service monit stop
$ sudo service cif-smrt stop
$ sudo -u cif /opt/cif/bin/cif-smrt --testmode
[2014-10-21T15:17:10,668Z][INFO][main:322]: cleaning up tmp: /var/smrt/cache
[2014-10-21T15:17:10,691Z][DEBUG][main:294]: id4.us - ssh
[2014-10-21T15:17:10,691Z][INFO][main:295]: processing: /opt/cif/bin/cif-smrt -d -r /etc/cif/rules/default/1d4_us.yml -f ssh
[2014-10-21T15:17:10,692Z][INFO][CIF::Smrt:92]: starting at: 2014-10-21T00:00:00Z
[2014-10-21T15:17:10,692Z][DEBUG][CIF::Smrt:97]: fetching...
...
-
re-start cif-smrt
$ sudo service cif-smrt start $ sudo service monit start
-
test out a query:
$ cif --cc US
$ cif --cc CN
$ cif --tags scanner --cc us
$ cif --otype ipv4 --cc cn
- checkout the SDK Guides to setup a client locally.