GSM Sniffer环境--c118+osmocombb
环境准备
Kali2.0+64位
更新系统
apt-get update && apt-get dist-upgrade -y
安装必要的软件包依赖
apt-get install build-essential libgmp3-dev libmpfr-dev libx11-6 libx11-dev texinfo flex bison libncurses5 libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg libncursesw5-dev zlibc zlib1g-dev libmpfr4 libmpc-dev
安装GNU的依赖,因为osmocomBB是依赖于GNU的
aptitude install libtool shtool automake autoconf git-core pkg-config make gcc
新建工作目录,例如osmocombb,然后下载官方提供的一个构建arm编译器预编译环境的shell脚本
mkdir osmocombb
cd osmocombb
wget http://bb.osmocom.org/trac/raw-attachment/wiki/GnuArmToolchain/gnu-arm-build.3.sh
然后在osmocombb目录下新建一个src文件夹,切换进去,下载必要的文件包
mkdir src
cd src
wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2
wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2
wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz