Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/aquasecurity/tri…
Browse files Browse the repository at this point in the history
…vy-action-062f2592684a31eb3aa050cc61e7ca1451cecd3d
  • Loading branch information
4k4xs4pH1r3 authored Mar 3, 2024
2 parents e0262fa + c0cbcde commit b980743
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
48 changes: 29 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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}
```
Expand All @@ -74,20 +79,25 @@ 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
```
#

## 3.0 Install Kali Linux Nethuner (Method A)
```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;\
Expand All @@ -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;\
Expand Down Expand Up @@ -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 && \
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b980743

Please sign in to comment.