diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index fc3a42df..d057728b 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -24,4 +24,4 @@ jobs: - name: 'Checkout Repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: 'Dependency Review' - uses: actions/dependency-review-action@4901385134134e04cec5fbe5ddfe3b2c5bd5d976 # v4.0.0 + uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3 diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index a4358901..469520a5 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -63,7 +63,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: name: SARIF file path: results.sarif diff --git a/README.md b/README.md index c2547b70..55858791 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,31 @@ # Offensive Security Tools for Termux -No needs a Device ROOTED ;) +Is not required to Unlock the Bootloader or ROOT of your Device ;) [![Powered by JFrog Bintray](./.github/static/powered-by-bintray.png)](https://bintray.com) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/12cdb5d6ed82487385bb69104be4f6ee)](https://app.codacy.com/gh/4k4xs4pH1r3/termux/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) -There are located packages which were requested, but not added to the +There are located packages that were requested, but not added to the [main][termux-packages] Termux repository due to various reasons. Packages -available here may have lower quality, be unstable or not work at all. +available here may have lower quality, be unstable, or not work at all. ## Pre-Requisite -Download [F-Droid](https://f-droid.org/F-Droid.apk) in your Android, open it, search termux and install it. +Download [F-Droid](https://f-droid.org/F-Droid.apk) on your Android, open it, search termux, and install it. Free Storage Space = 33.37 GB -Now open Termux, each one of this 3 steps needs and independent session, for that just slide from left to rigth in termux for see the option. "New Session" +Now open Termux, each one of these 3 steps needs an independent session, for that just slide from left to right in termux to see the option. "New Session" +## 0. Select Termux CloudFlare Repo +```ShellSession +termux-change-repo +``` + ## 1. Prepare Termux ```ShellSession -pkg update -y && pkg upgrade -y && pkg install termux-tools +pkg update -y && pkg upgrade -y && pkg install termux-tools net-tools iproute2 unstable-repo root-repo x11-repo -y ``` # ```ShellSession @@ -34,8 +39,8 @@ termux-wake-lock && export PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/s ## (Optional) Building packages manually -You can build all packages manually by using provided docker image. The only -requirements are Linux-based host with Docker installed. +You can build all packages manually by using the provided docker image. The only +requirements are Linux-based hosts with Docker installed. a. Clone this repository: ```ShellSession @@ -47,10 +52,10 @@ b. Enter build environment (will download docker image if necessary): cd ./unstable-packages ./start-builder.sh ``` - Command shown above will start builder for Android 7 (API level 24). If you - need to build package for Android 5, use `./start-builder-legacy.sh`. + The command shown above will start the builder for Android 7 (API level 24). If you + need to build a package for Android 5, use `./start-builder-legacy.sh`. -c. Choose package you want to build and run: +c. Choose the package you want to build and run: ```ShellSession ./build-package.sh -a ${arch} ${package name} ``` @@ -74,11 +79,11 @@ pkg update && pkg install unstable-repo root-repo x11-repo -y && apt update && a ``` # ```ShellSession -gem install nokogiri +gem install nokogiri && gem update --system 3.5.6 ``` # ```ShellSession -pkg update -y && pkg upgrade -y && pkg install python python2 ruby git php perl nmap bash clang nano figlet cowsay curl tar zip unzip tor tsu wget wcalc openssl bmon -y && pkg update -y && pkg upgrade -y && cp $(which pip) $PREFIX/bin/pip3 && neofetch && pkg install wget openssl-tool proot -y && neofetch +pkg update -y && pkg upgrade -y && pkg install python python2 ruby git php perl nmap bash which clang nano figlet cowsay curl tar zip unzip tor tsu wget wcalc openssl bmon -y && pkg update -y && pkg upgrade -y && cp $(which pip) $PREFIX/bin/pip3 && neofetch && pkg install wget openssl-tool proot -y && neofetch ``` # @@ -86,8 +91,13 @@ pkg update -y && pkg upgrade -y && pkg install python python2 ruby git php perl ```ShellSession pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Nethunter/nethunter.sh && bash nethunter.sh ``` +# +You can now launch Kali Nethunter with executing the script +```ShellSession +./start-nethunter.sh +``` -## 3.1 Install Kali Linux NetHunter (Method B) +## 3.1 Install Kali Linux NetHunter (Method B, Use only if Method A fails) ```ShellSession termux-wake-lock;\ @@ -102,10 +112,10 @@ startkali apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6;\ -wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2022.1_all.deb;\ +wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb;\ apt --fix-broken install;\ -dpkg -i ./kali-archive-keyring_2022.1_all.deb;\ -rm kali-archive-keyring_2022.1_all.deb;\ +dpkg -i ./kali-archive-keyring_2024.1_all.deb;\ +rm kali-archive-keyring_2024.1_all.deb;\ apt-get update -y;\ apt-get install neofetch lolcat -y;\ echo "neofetch --logo | lolcat;neofetch model distro os kernel shell memory" >> ~/.bashrc;\ @@ -153,7 +163,7 @@ apt update -y && apt install git -y && cd /usr/share && mv /usr/share/wordlists Close Termux and Open Again -## 6. Install Metasploit omnibus Nightly: +## 6. Install Metasploit Omnibus nightly: ```ShellSession apt install nmap nginx -y && curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \ chmod 755 msfinstall && \ @@ -195,7 +205,7 @@ The db_nmap sessions will be saved in xml for you can restart an early scan usin msfconsole db_nmap --resume /root/.msf4/local/file.xml -The history of Metasploit commands are here: +The history of Metasploit commands is here: /root/.msf4/history diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index 4cb828ee..958a7a8f 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -6,7 +6,7 @@ ## docker push xeffyr/termux-advanced-builder ## -FROM ubuntu:22.04@sha256:e9569c25505f33ff72e88b2990887c9dcf230f23259da296eb814fc2b41af999 +FROM ubuntu:22.04@sha256:b6ec12b8345cdc0714add139b17803301aec077509820faf970a1dab0a7fce78 # Fix locale to avoid warnings: ENV LANG en_US.UTF-8