ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

airprobe 安装 part1

2019-08-14 15:42:42  阅读:359  来源: 互联网

标签:cc was airprobe part1 sink error scope 安装 gssm


原文链接:http://www.cnblogs.com/nickchan/archive/2011/09/11/3104491.html 2011-09-11
     要搞搞airprobe,所以下载来试试。
     website: http://srlabs.de/research/decrypting_gsm/
     Jump Motivation, Recording calls, Cracking A5/1, Defenses parts. You should be focused on Tools.
     The following tools are used to analyze voice calls
     GnuRadio records data from air >> Airprobe parses control data >> Kraken cracks A5/1 key >> Airprobe decodes voice

  • GnuRadio is included in recent Linux distributions
    Recording data requires a programmable radio receiver such as the USRP
  • Airprobe is available through:  git clone git://git.gnumonks.org/airprobe.git
    Please follow this tutorial to decode GSM traffic with Airprobe
  • Kraken is available through:  git clone git://git.srlabs.de/kraken.git
    Background on Kraken’s rainbow tables are provided on the project web page
    Kraken uses rainbow tables that are available through Bittorrent.

    Now, I have already installed GnuRadio. Next, I need to git the Airprobe.
    so typed : git clone git://git.gnumonks.org/airprobe.git
    waiting for a while , you can have a dream. After that, you will see airprobe folder. You can enter this airprobe folder and complie them one by one.

cd airprobe/
ls
A5.1       gsm-receiver  gsmstack   gssm              viterbi_generator
gsmdecode  gsmsp         gsm-tvoid  viterbi-detector
   
cd gsm-receiver/
./bootstrap
./configure
make


some errors arise when configure checking:
checking for LIBOSMOCORE... configure: error: Package requirements (libosmocore >= 0.1.6) were not met:

No package 'libosmocore' found

solution method:
goto http://bb.osmocom.org/trac/wiki/libosmocore
download libosmocore source code, you can obtain it using:
git clone git://git.osmocom.org/libosmocore.git
Compiling and installing it
cd libosmocore/
autoreconf -i
./configure
make
sudo make install
cd ..
Now,libosmocore is in your OS.


Complied gssm

cd gssm/
./bootsrap
./configure
make


error:
gssm_sink.cc: In constructor ‘gssm_sink::gssm_sink(double)’:
gssm_sink.cc:45:11: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:46:39: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:52:18: error: ‘perror’ was not declared in this scope
gssm_sink.cc:59:18: error: ‘perror’ was not declared in this scope
gssm_sink.cc: In member function ‘void gssm_sink::check_logical_channels()’:
gssm_sink.cc:167:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:168:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:177:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:178:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:189:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:190:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:195:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:196:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:201:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:202:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:207:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:208:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:213:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:214:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:219:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:220:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:225:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:226:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:231:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:232:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:237:12: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:238:11: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:248:13: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:249:16: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:261:13: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:262:16: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc: In member function ‘void gssm_sink::search_sch(const unsigned char*)’:
gssm_sink.cc:390:13: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:391:48: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc:397:13: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:398:36: error: ‘fprintf’ was not declared in this scope
gssm_sink.cc: In member function ‘void gssm_sink::stats()’:
gssm_sink.cc:707:46: error: ‘printf’ was not declared in this scope
gssm_sink.cc: In member function ‘virtual int gssm_sink::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
gssm_sink.cc:756:13: error: ‘stderr’ was not declared in this scope
gssm_sink.cc:756:41: error: ‘fprintf’ was not declared in this scope
make[4]: *** [gssm_sink.lo] Error 1
make[4]: Leaving directory `/home/my_project/usrp/airprobe/gssm/src/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/my_project/usrp/airprobe/gssm/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/my_project/usrp/airprobe/gssm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/my_project/usrp/airprobe/gssm'
make: *** [all] Error 2

solution method :
gedit airprobe/gssm/src/lib/gssm_sink.cc

add "#include <stdio.h>" on the head of file

make it again. I think it maybe cross.


  


转载于:https://www.cnblogs.com/nickchan/archive/2011/09/11/3104491.html

标签:cc,was,airprobe,part1,sink,error,scope,安装,gssm
来源: https://blog.csdn.net/weixin_30835933/article/details/99574860

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有