-
Notifications
You must be signed in to change notification settings - Fork 28
# Installation
Très Acton edited this page May 27, 2017
·
1 revision
This may be slightly different for other Operating Systems
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash
source /etc/profile.d/rvm.sh
echo "source /etc/profile.d/rvm.sh" >> ~/.bashrc
sudo apt-get install dirmgr # needed in latest Kali for some reason
rvm install 2.2.2
git clone https://github.com/jgaeddert/liquid-dsp
cd liquid-dsp
./bootstrap.sh # <- only if you cloned the Git repo
./configure
make
sudo make install
cd ../
Installing Inspectrum (instructions from: https://github.com/miek/inspectrum/wiki/Build)
git clone https://github.com/miek/inspectrum.git
cd inspectrum
sudo apt-get install qt5-default libfftw3-dev cmake pkg-config
mkdir build
cd build
cmake ..
make
sudo make install
cd ../../
git clone https://github.com/tresacton/dspectrumgui.git
cd dspectrumgui
rvm use 2.2.2
gem install bundler
bundle config build.nokogiri --use-system-libraries
bundle
# there's a chance you'll have to run "gem install nokogiri -v 'x.x.x.x' " if bundler fails to do it for you
rake db:setup && rake db:migrate && rake db:seed
This assumes you have cmake (probably need xcode to be installed)
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash
rvm install 2.2.2
Installing Inspectrum (instructions from: https://github.com/miek/inspectrum/wiki/Build)
git clone https://github.com/miek/inspectrum.git
cd inspectrum
sudo port install qt5 fftw-3-single cmake pkgconfig liquid-dsp
mkdir build
cd build
cmake ..
make
sudo make install
cd ../../
git clone https://github.com/miek/inspectrum.git
cd inspectrum
brew install qt5 fftw cmake pkg-config liquid-dsp
mkdir build
cd build
CMAKE_PREFIX_PATH=$(brew --prefix qt5)/lib/cmake cmake .. -DCMAKE_CXX_FLAGS:STRING=-I/usr/local/opt/qt5/include ..
make install
cd ../../
git clone https://github.com/tresacton/dspectrumgui.git
cd dspectrumgui
rvm use 2.2.2
gem install bundler
bundle config build.nokogiri --use-system-libraries
bundle
rake db:setup && rake db:migrate && rake db:seed
rails s -p 3001
You can now open a browser and navigate to http://localhost:3001/
Username: user@example.com
Password: password
cd dspectrumgui
rails c
u = User.last
u.email = "you@somewhere.com"
u.password = u.password_confirmation = "YourSecurePassword"
u.full_name = "Earthling"
u.save!Despite being a security researcher, I have given zero thought to the security of this app. I will go over it from a security perspective later (then update this text), so keep that in mind.
Don't expose the app to the internet.
Don't keep the server running while you're not using it (i.e. do a [ctrl][c] in the window where you ran the "rails s -p xxxx" command).