zoukankan      html  css  js  c++  java
  • airprobe 安装 part1

    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.


      


  • 相关阅读:
    【Android Developers Training】 49. 轻松录制视频
    【Android Developers Training】 48. 轻松拍摄照片
    【Android Developers Training】 47. 序言:拍摄照片
    【Android Developers Training】 46. 处理音频外放设备
    【Android Developers Training】 45. 控制音频焦点
    【Android Developers Training】 44. 控制你应用的音量和播放
    【Android Developers Training】 43. 序言:管理音频播放
    【Android Developers Training】 42. 从另一台设备接收文件
    【Android Developers Training】 41. 向另一台设备发送文件
    Linux开发常见问题:GCC:链接器输入文件未使用,因为链接尚未完成
  • 原文地址:https://www.cnblogs.com/nickchan/p/3104491.html
Copyright © 2011-2022 走看看