zoukankan      html  css  js  c++  java
  • KAL1 LINUX 官方文档之kali nethunter文档 ---建立NetHunter

     

    那些想从我们的GitLab存储库中构建NetHunter映像的人可以使用我们的Python构建脚本来这样做。

    root@kali:~# git clone https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project
    root@kali:~# cd kali-nethunter/nethunter-installer
    

    在构建设备之前,您需要进入nethunter-installer目录并运行./bootstrap.sh在下载devices文件夹之前,这会问您几个问题。

    主构建脚本也位于nethunter-installer目录中,可用于为多个设备和Android OS版本构建映像,如下所示:

    root@kali:~/kali-nethunter/nethunter-installer# python3 build.py -h
    usage: build.py [-h] [--device DEVICE] [--kitkat] [--lollipop] [--marshmallow] [--nougat] [--oreo] [--pie]
                    [--ten] [--forcedown] [--uninstaller] [--kernel] [--nokernel] [--nobrand] [--nofreespace]
                    [--supersu] [--nightly] [--generic ARCH] [--rootfs SIZE] [--release VERSION]
    
    Kali NetHunter recovery flashable zip builder
    
    optional arguments:
      -h, --help            show this help message and exit
      --device DEVICE, -d DEVICE
                            Allowed device names: a5ulte a5ulte-touchwiz a5xelte ailsa_ii angler angler-los armani
                            bullhead cancrocm cedric davinci-miui dogo dragon flo flocm flounder gemini4g_p1
                            gemini4g_p2 gemini4g_p3 gracelte graceltekor gts4llte gts4lwifi grouper h830 h850 h918
                            h990 hammerhead hammerheadcafcm herolte heroltekor herolte-cm hero2lte hero2ltekor
                            hero2lte-cm hltecan hltecan-touchwiz hltedcm-touchwiz hlteeur hlteeur-touchwiz hlteeur-
                            cm hltekdi-touchwiz hltekor hltekor-touchwiz hltespr hltespr-touchwiz hltevzw-touchwiz
                            honami htc_pmewl ido j7y17lte jalebi jfltexx jiayus3a kiwi klte kltechn kltechnduo
                            klteduos kltekdi kltekor kltespr klte-touchwiz klteduos-touchwiz kltekdi-touchwiz
                            klteskt-touchwiz kltespr-touchwiz klteusc-touchwiz kltevzw-touchwiz kminilte mako makocm
                            manning manta markw mocha on7xlte onem7gpe onem8gpe oneplus1 oneplus2cm oneplus2oos
                            oneplus3-any oneplus3 oneplus3-cm oneplus3T-cm oneplus3-oos oneplus3T-oos oneplus3T-los
                            oneplus5-oos oneplus5-cm oneplus6-oos oneplus7-oos oneplusxcm osprey potter s2 santoni-
                            miui shamu shamucm shieldtablet suzuran us996 victara yuga vienna Z00E zeroflte
                            zeroflte-tw zerolte zerolte-tw
      --kitkat, -kk         Android 4.4.4
      --lollipop, -l        Android 5
      --marshmallow, -m     Android 6
      --nougat, -n          Android 7
      --oreo, -o            Android 8
      --pie, -p             Android 9
      --ten, -q             Android 10
      --forcedown, -f       Force redownloading
      --uninstaller, -u     Create an uninstaller
      --kernel, -k          Build kernel installer only
      --nokernel, -nk       Build without the kernel installer
      --nobrand, -nb        Build without wallpaper or boot animation
      --nofreespace, -nf    Build without free space check
      --supersu, -su        Build with SuperSU installer included
      --nightly, -ni        Use nightly mirror for Kali rootfs download (experimental)
      --generic ARCH, -g ARCH
                            Build a generic installer (modify ramdisk only)
      --rootfs SIZE, -fs SIZE
                            Build with Kali chroot rootfs (full or minimal)
      --release VERSION, -r VERSION
                            Specify NetHunter release version
    root@kali:~/kali-nethunter/nethunter-installer#
    

    要为OnePlus 7设备构建Lollipop映像,我们将运行build.py,如下所示:

    root@kali:~/kali-nethunter/nethunter-installer# python3 build.py -d oneplus7-oos --ten
    

    生成的zip文件映像将在nethunter-installer目录中创建-这是以后需要在设备上刷新的zip文件。

  • 相关阅读:
    运维工程师的四个阶段
    必须知道的Linux内核常识详解
    Centos7/RHEL7 开启kdump
    sort实现ip排序
    如何判断是否开启超线程
    Django---进阶12
    Django---进阶11
    前端---进阶8
    前端---进阶7
    前端---进阶6
  • 原文地址:https://www.cnblogs.com/GKLBB/p/13585710.html
Copyright © 2011-2022 走看看