Last active
July 26, 2023 06:43
-
-
Save arall/370b5fe5277506026c078a7cf5cb97e3 to your computer and use it in GitHub Desktop.
Raspberry 3 Kali Oros42/IMSI-catcher
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
# Install gr-gsm | |
sudo apt-get update && \ | |
sudo apt-get install -y \ | |
cmake \ | |
autoconf \ | |
libtool \ | |
pkg-config \ | |
build-essential \ | |
python-docutils \ | |
libcppunit-dev \ | |
swig \ | |
doxygen \ | |
liblog4cpp5-dev \ | |
python-scipy \ | |
python-gtk2 \ | |
gnuradio-dev \ | |
gr-osmosdr \ | |
libosmocore-dev \ | |
liborc-dev | |
git clone https://github.com/velichkov/gr-gsm.git | |
cd gr-gsm | |
# https://github.com/ptrkrysik/gr-gsm/issues/495#issuecomment-566282799 | |
# https://github.com/ptrkrysik/gr-gsm/issues/480 | |
git checkout maint-3.8 | |
mkdir build | |
cd build | |
cmake .. | |
mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ | |
make | |
sudo make install | |
sudo ldconfig | |
export PYTHONPATH=/usr/local/lib/python3/dist-packages/:$PYTHONPATH | |
# Install Oros42/IMSI-catcher | |
git clone https://github.com/Oros42/IMSI-catcher.git | |
sudo apt install python3-numpy python3-scipy python3-scapy | |
# Follow https://github.com/Oros42/IMSI-catcher for the rest | |
# Kalibrate | |
sudo apt-get install automake autoconf libhackrf-dev | |
git clone https://github.com/scateu/kalibrate-hackrf | |
cd kalibrate-hackrf/ | |
./bootstrap | |
./configure | |
make | |
sudo make install | |
kal -s GSM900 | |
# Run | |
cd IMSI-catcher | |
python3 simple_IMSI-catcher.py --sniff | |
grgsm_livemon_headless --args=hackrf -f 938.0M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment