Last active
July 20, 2016 05:29
-
-
Save binkybear/81c2115053a61ceae42dc984eb0384cf to your computer and use it in GitHub Desktop.
nttopng in Nethunter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# All this should be done in Nethunter chroot | |
# | |
apt-get install -y subversion libglib2.0 libxml2-dev libpcap-dev libtool rrdtool librrd-dev autoconf automake autogen redis-server wget libsqlite3-dev libhiredis-dev libgeoip-dev libcurl4-openssl-dev libpango1.0-dev libcairo2-dev | |
apt-get install -y libpng12-dev git dh-autoreconf libcurl4-gnutls-dev libsqlite3-dev libmysqlclient-dev pkg-config libxml2-dev libglib2.0-dev | |
# Modify /etc/group by adding redis to inet group | |
nano /etc/group | |
# inet:x:3004:postgres,root,beef-xss,daemon,nginx,mysql,redis | |
service redis-server start | |
cd /tmp | |
git clone https://github.com/ntop/ntopng.git | |
git clone https://github.com/ntop/nDPI.git | |
cd nDPI | |
./autogen.sh | |
make | |
cd ../ntopng | |
./autogen.sh | |
./configure | |
make geoip | |
make | |
# Change m to local subnet or don't include | |
sudo su | |
./ntopng -i wlan0 -m 192.168.1.0/24 | |
# Open browser to http://127.0.0.1:3000 | |
# Login: admin | |
# Password: admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment