# QCsuper Installation Manual-in Ubuntu16.04 & 18.04 > [name=Yu-Xiang Lin - 2019/11/02] ### 主要能在Ubuntu上的wireshark觀看UE(需root)在RRC底層的封包,如SIB,且能和OAI、srsLTE等軟體裝在一起. --------------------------------------- ### Install Wireshark sudo apt-get update sudo add-apt-repository ppa:wireshark-dev/stable sudo apt-get install wireshark 安裝時會詢問你是否要讓現在的使用者存取封包,請選擇**YES**。 ### If wireshark cant work(premission denied) sudo dpkg-reconfigure wireshark-common #Select "Yes" chmod +x /usr/bin/dumpcap ### clone QCsuper 若以下網址無法glone(版本更新改網址),請至github搜尋qcsuper,複製連結即可。 cd ~ sudo git clone https://github.com/P1sec/QCSuper.git --------------------------------------------------- cd QCsuper (to check if it complete) ### Install python3 sudo apt install python3-pip sudo pip3 install --upgrade pyserial crcmod https://github.com/P1sec/pycrate/archive/master.zip ### Install adb(& android tools) sudo apt-get install adb sudo apt-get install android-tools-adb android-tools-fastboot ### Troubleshooting (necessary) sudo adb kill-server sudo adb start-server 以上的安裝皆不會有錯誤訊息,請留意是否順利完成,接下來就把UE(**需root**)接上電腦,到開發人員選項**開啟除錯模式**。 執行以下指令時手機會跳出是否配對的選項,**要按接受**。 ### Got the device detected sudo adb devices ---------------- 72291912 device or sudo adb shell ---------------- shell@klte:/ $ ls 看是否有手機裡的設定檔 數字部分是隨機的,device那邊若出現unauthorized是沒抓到,請確認Troubleshooting那邊是否有順利完成。 有wireshark、python和adb後,接著開啟QCsuper: ### Open QCsuper (if it update, please check your filename) cd QCsuper sudo ./qcsuper.py --adb --wireshark-live ### Results - 截圖是連結Samsung s5手機,目前在s5和s6實測過,理論上只要有root且電腦安裝好該廠牌的android-tools皆能使用。 - 能看到基站呼叫手機的paging訊息  - 能看到手機接收到的SIB訊息(以SIB1、2、3為例)  - 能看到ETWS/CMAS(SIB10/12)之手機端接收的參數   ### Done If you want to install in windows: https://www.jishuwen.com/d/2ost/zh-tw Something may can help you: https://askubuntu.com/questions/863587/adb-device-list-doesnt-show-phone
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up