Compare commits
131
Commits
libtorrent
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff9e0feb32 | ||
|
|
41896c9cf0 | ||
|
|
531e398ca6 | ||
|
|
3bc59411b5 | ||
|
|
c10833178a | ||
|
|
0ce2700c15 | ||
|
|
56d626da3a | ||
|
|
05b2c8e3cb | ||
|
|
32e3feaa7d | ||
|
|
f77c280811 | ||
|
|
c16b08b97c | ||
|
|
a996606a7d | ||
|
|
3209b0f2ff | ||
|
|
0bdcb2003b | ||
|
|
d0e3999161 | ||
|
|
8f6ef9e054 | ||
|
|
6f1f7fab64 | ||
|
|
f17a4b9690 | ||
|
|
d612f05bb9 | ||
|
|
d1777f41bd | ||
|
|
4e6c844a44 | ||
|
|
cd2abdc81b | ||
|
|
819e067f87 | ||
|
|
02418b3859 | ||
|
|
1addb1e461 | ||
|
|
a11e1eba59 | ||
|
|
dd5237ccde | ||
|
|
93b50ddc9f | ||
|
|
5e5209220e | ||
|
|
8a460be49d | ||
|
|
0ff1565cdb | ||
|
|
0f29e10671 | ||
|
|
40accbfb2a | ||
|
|
913aca32c3 | ||
|
|
e30356468c | ||
|
|
d1fb0df802 | ||
|
|
3539ccf9c2 | ||
|
|
b1d01a7e7e | ||
|
|
c68a66e741 | ||
|
|
625a461ae5 | ||
|
|
bba205be1d | ||
|
|
fa462c7b93 | ||
|
|
973c5ac88f | ||
|
|
318e4dfb3d | ||
|
|
a51a34e7a6 | ||
|
|
0781ead9b5 | ||
|
|
5d2ae7de21 | ||
|
|
26551ea816 | ||
|
|
1f68f86823 | ||
|
|
862d9036b5 | ||
|
|
0d742bf966 | ||
|
|
7ab5b4ccbc | ||
|
|
d03f7644b6 | ||
|
|
9e1d721d4a | ||
|
|
14cc6925c1 | ||
|
|
dda336cd0e | ||
|
|
b21e1d05a1 | ||
|
|
0a32855ac9 | ||
|
|
d78a63e7c0 | ||
|
|
c714df35ad | ||
|
|
947fcbb315 | ||
|
|
fe6d6a9320 | ||
|
|
eab3bac235 | ||
|
|
50dcdd5051 | ||
|
|
605d8eb426 | ||
|
|
882f08b3f4 | ||
|
|
31f5117856 | ||
|
|
0c4db07713 | ||
|
|
682d10220f | ||
|
|
7a0b326829 | ||
|
|
cd2c295c24 | ||
|
|
7c45552e7b | ||
|
|
3f80710066 | ||
|
|
8f89b0ab25 | ||
|
|
619ee6a6a8 | ||
|
|
edde97625e | ||
|
|
c73a1f0870 | ||
|
|
347eff5f36 | ||
|
|
d95e006db5 | ||
|
|
86aef67d9c | ||
|
|
10a688a1eb | ||
|
|
dc6b4d2c00 | ||
|
|
aac52bac5d | ||
|
|
422ee4cafc | ||
|
|
a048099d24 | ||
|
|
9a694ddaa3 | ||
|
|
1b080347f3 | ||
|
|
f0fbc4aa3f | ||
|
|
f4ba39b767 | ||
|
|
e3f376c9ec | ||
|
|
62236f74cd | ||
|
|
91b70270c0 | ||
|
|
95df1eb1b4 | ||
|
|
6f14349b24 | ||
|
|
0255830d3e | ||
|
|
e3948f7c96 | ||
|
|
98edef17cf | ||
|
|
41020c549d | ||
|
|
66f4cf4a66 | ||
|
|
891923041d | ||
|
|
3104dbc895 | ||
|
|
347ba7fc26 | ||
|
|
1ac9c8f48c | ||
|
|
639e43444e | ||
|
|
353cdb9f32 | ||
|
|
0cad99f47c | ||
|
|
7132cbe195 | ||
|
|
01cb136b9a | ||
|
|
1b26d7e387 | ||
|
|
46d52d99f5 | ||
|
|
3a8ed1883c | ||
|
|
ecf3e96d86 | ||
|
|
6db1dbd174 | ||
|
|
0b1076bfb2 | ||
|
|
a22216513b | ||
|
|
b4a14814ba | ||
|
|
99c32cd737 | ||
|
|
6034f59daa | ||
|
|
6b84c2ab45 | ||
|
|
4cf541489d | ||
|
|
637ec1a01c | ||
|
|
3957db5069 | ||
|
|
34aacfc0be | ||
|
|
4dd6f8d23e | ||
|
|
6ed4d03f3d | ||
|
|
4cb53829c2 | ||
|
|
0fe616d3b6 | ||
|
|
725f59044e | ||
|
|
0a692a1ec0 | ||
|
|
cf6adaa06e | ||
|
|
469f793fc8 |
@@ -0,0 +1,68 @@
|
||||
# For most projects, this workflow file will not need changing; you simply need
|
||||
# to commit it to your repository.
|
||||
#
|
||||
# You may wish to alter this file to override the set of languages analyzed,
|
||||
# or to provide custom queries or build logic.
|
||||
#
|
||||
# ******** NOTE ********
|
||||
# We have attempted to detect the languages in your repository. Please check
|
||||
# the `language` matrix defined below to confirm you have the correct set of
|
||||
# supported CodeQL languages.
|
||||
# ******** NOTE ********
|
||||
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ master ]
|
||||
schedule:
|
||||
- cron: '26 19 * * 3'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'cpp', 'python' ]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
||||
# Learn more:
|
||||
# https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||
# and modify them (or add more) to build your code if your project
|
||||
# uses a compiled language
|
||||
|
||||
#- run: |
|
||||
# make bootstrap
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
@@ -0,0 +1,49 @@
|
||||
# This workflow integrates a collection of open source static analysis tools
|
||||
# with GitHub code scanning. For documentation, or to provide feedback, visit
|
||||
# https://github.com/github/ossar-action
|
||||
name: OSSAR
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
OSSAR-Scan:
|
||||
# OSSAR runs on windows-latest.
|
||||
# ubuntu-latest and macos-latest support coming soon
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
# Checkout your code repository to scan
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
# We must fetch at least the immediate parents so that if this is
|
||||
# a pull request then we can checkout the head.
|
||||
fetch-depth: 2
|
||||
|
||||
# If this run was triggered by a pull request event, then checkout
|
||||
# the head of the pull request instead of the merge commit.
|
||||
- run: git checkout HEAD^2
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
# Ensure a compatible version of dotnet is installed.
|
||||
# The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
|
||||
# A version greater than or equal to v3.1.201 of dotnet must be installed on the agent in order to run this action.
|
||||
# GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped.
|
||||
# For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:
|
||||
# - name: Install .NET
|
||||
# uses: actions/setup-dotnet@v1
|
||||
# with:
|
||||
# dotnet-version: '3.1.x'
|
||||
|
||||
# Run open source static analysis tools
|
||||
- name: Run OSSAR
|
||||
uses: github/ossar-action@v1
|
||||
id: ossar
|
||||
|
||||
# Upload results to the Security tab
|
||||
- name: Upload OSSAR results
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
|
||||
@@ -0,0 +1,34 @@
|
||||
# A sample workflow which checks out the code, builds a container
|
||||
# image using Docker and scans that image for vulnerabilities using
|
||||
# Snyk. The results are then uploaded to GitHub Security Code Scanning
|
||||
#
|
||||
# For more examples, including how to limit scans to only high-severity
|
||||
# issues, monitor images for newly disclosed vulnerabilities in Snyk and
|
||||
# fail PR checks for new vulnerabilities, see https://github.com/snyk/actions/
|
||||
|
||||
name: Snyk Container
|
||||
on: push
|
||||
jobs:
|
||||
snyk:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build a Docker image
|
||||
run: docker build -t your/image-to-test .
|
||||
- name: Run Snyk to check Docker image for vulnerabilities
|
||||
# Snyk can be used to break the build when it detects vulnerabilities.
|
||||
# In this case we want to upload the issues to GitHub Code Scanning
|
||||
continue-on-error: true
|
||||
uses: snyk/actions/docker@master
|
||||
env:
|
||||
# In order to use the Snyk Action you will need to have a Snyk API token.
|
||||
# More details in https://github.com/snyk/actions#getting-your-snyk-token
|
||||
# or you can signup for free at https://snyk.io/login
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
with:
|
||||
image: your/image-to-test
|
||||
args: --file=Dockerfile
|
||||
- name: Upload result to GitHub Code Scanning
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
sarif_file: snyk.sarif
|
||||
@@ -0,0 +1,30 @@
|
||||
name: build
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: "ubuntu-18.04"
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build an image from Dockerfile
|
||||
run: |
|
||||
docker build -t docker.io/my-organization/my-app:${{ github.sha }} .
|
||||
|
||||
- name: Run Trivy vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
image-ref: 'docker.io/my-organization/my-app:${{ github.sha }}'
|
||||
format: 'template'
|
||||
template: '@/contrib/sarif.tpl'
|
||||
output: 'trivy-results.sarif'
|
||||
severity: 'CRITICAL,HIGH'
|
||||
|
||||
- name: Upload Trivy scan results to GitHub Security tab
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
sarif_file: 'trivy-results.sarif'
|
||||
@@ -1,4 +1,6 @@
|
||||
# Repository for new/unstable packages
|
||||
# Offensive Security Tools for Termux
|
||||
|
||||
NO ROOT REQUIRED ;)
|
||||
|
||||
[](https://bintray.com)
|
||||
|
||||
@@ -6,25 +8,38 @@ There are located packages which 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.
|
||||
|
||||
## How to enable this repository
|
||||
## Pre-Requisite
|
||||
|
||||
To enable this package repository run:
|
||||
Storage Free Space = 3.37 GB
|
||||
|
||||
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"
|
||||
|
||||
|
||||
## 1. Prepare Termux
|
||||
```ShellSession
|
||||
pkg install unstable-repo
|
||||
pkg install termux-tools
|
||||
```
|
||||
#
|
||||
```ShellSession
|
||||
termux-setup-storage
|
||||
```
|
||||
#
|
||||
```ShellSession
|
||||
termux-wake-lock && export PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin && export PATH=$PATH:/usr/local/sbin:/usr/local/bin
|
||||
```
|
||||
#
|
||||
|
||||
## Building packages manually
|
||||
## (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.
|
||||
|
||||
1. Clone this repository:
|
||||
a. Clone this repository:
|
||||
```ShellSession
|
||||
git clone https://github.com/termux/unstable-packages
|
||||
```
|
||||
|
||||
2. Enter build environment (will download docker image if necessary):
|
||||
b. Enter build environment (will download docker image if necessary):
|
||||
```ShellSession
|
||||
cd ./unstable-packages
|
||||
./start-builder.sh
|
||||
@@ -32,7 +47,7 @@ requirements are Linux-based host with Docker installed.
|
||||
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`.
|
||||
|
||||
3. Choose package you want to build and run:
|
||||
c. Choose package you want to build and run:
|
||||
```ShellSession
|
||||
./build-package.sh -a ${arch} ${package name}
|
||||
```
|
||||
@@ -44,3 +59,239 @@ requirements are Linux-based host with Docker installed.
|
||||
If you wish to contribute, please take a look on our [contributing guide](./CONTRIBUTING.md).
|
||||
|
||||
[termux-packages]: <https://github.com/termux/termux-packages>
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
## 2. Install Nmap + Kali:
|
||||
|
||||
```ShellSession
|
||||
pkg install unstable-repo root-repo x11-repo ruby -y && pkg install neofetch coreutils busybox screenfetch -y && screenfetch
|
||||
```
|
||||
#
|
||||
```ShellSession
|
||||
gem install nokogiri
|
||||
```
|
||||
#
|
||||
```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
|
||||
```
|
||||
#
|
||||
```ShellSession
|
||||
apt install neofetch -y && neofetch && gem install nokogiri && apt-get autoclean && apt install -f && apt -f install && apt autoremove -y && apt-get clean cache && apt update && apt-get autoclean && apt-get clean cache && apt update && apt update -y && apt full-upgrade -y --allow-downgrades && dpkg --configure -a && cd && neofetch
|
||||
```
|
||||
#
|
||||
```ShellSession
|
||||
hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Kali/kali.sh && bash kali.sh && ./start-kali.sh && apt install git apt-utils figlet procps -y && apt-get update --fix-missing && neofetch
|
||||
```
|
||||
|
||||
## 3. Install Bind-apk tool:
|
||||
```ShellSession
|
||||
cd && git clone https://github.com/remo7777/Termux-Kali-apktool.git && cd Termux-Kali-apktool && bash setup
|
||||
```
|
||||
## 4. Install Kali Linux NetHunter
|
||||
|
||||
```ShellSession
|
||||
termux-wake-lock;\
|
||||
termux-setup-storage;\
|
||||
apt-get update -y;\
|
||||
apt-get install wget -y;\
|
||||
wget https://raw.githubusercontent.com/Hax4us/Nethunter-In-Termux/master/kalinethunter;\
|
||||
bash kalinethunter;\
|
||||
rm *;\
|
||||
startkali
|
||||
|
||||
|
||||
|
||||
apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6;\
|
||||
wget https://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2018.2_all.deb;\
|
||||
apt --fix-broken install;\
|
||||
dpkg -i ./kali-archive-keyring_2018.2_all.deb;\
|
||||
rm kali-archive-keyring_2018.2_all.deb;\
|
||||
apt-get update -y;\
|
||||
apt-get install neofetch lolcat -y;\
|
||||
echo "neofetch --logo | lolcat;neofetch model distro os kernel shell memory" >> ~/.bashrc;\
|
||||
echo "PS1='
|
||||
╭──────────[ $(whoami)@$(uname -n) ]─[ $PWD ]
|
||||
╰── • '" >> /etc/bash.bashrc;exit
|
||||
|
||||
|
||||
|
||||
echo "clear;startkali;exit" >> ~/.bashrc;bash;exit
|
||||
```
|
||||
#
|
||||
```ShellSession
|
||||
cat >> puneet75.sh <<- PUNIT
|
||||
rm -r -f ~/.bashrc
|
||||
echo "NAME=\$1" >> ~/.bashrc
|
||||
echo "export PS1='
|
||||
\[\033[0;31m\]┌─[\[\033[1;34m\]\\\$NAME\[\033[1;33m\]@\[\033[1;36m\]x\[\033[0;31m\]]─[\[\033[0;32m\]\w\[\033[0;31m\]]
|
||||
\[\033[0;31m\]└──╼ \[\033[1;33m\]#\[\033[0m\] '" >> ~/.bashrc
|
||||
echo "export LS_OPTIONS='--color=auto'" >> ~/.bashrc
|
||||
echo "alias ls='ls --color=auto'" >> ~/.bashrc
|
||||
echo "alias grep='grep --color=auto'" >> ~/.bashrc
|
||||
PUNIT
|
||||
|
||||
step2
|
||||
|
||||
👇
|
||||
bash puneet75.sh x
|
||||
|
||||
step 3
|
||||
|
||||
👉 source ~/.bashrc
|
||||
```
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
## 5. Install Nokogiri & Lolcat
|
||||
|
||||
From this point in advance execute in the same termux session
|
||||
|
||||
```ShellSession
|
||||
apt install gem ruby -y
|
||||
```
|
||||
|
||||
#
|
||||
```ShellSession
|
||||
gem install nokogiri
|
||||
```
|
||||
|
||||
#
|
||||
```ShellSession
|
||||
gem install lolcat
|
||||
```
|
||||
|
||||
## 6. Update System
|
||||
|
||||
```ShellSession
|
||||
apt install git -y && git clone https://github.com/4k4xs4pH1r3/bbh.git /usr/share/wordlists && cd /usr/share/wordlists/wordlists && mv *.* /usr/share/wordlists && mv dirb dirbuster fern-wifi wfuzz /usr/share/wordlists && rm -r /usr/share/wordlists/wordlists && git clone https://github.com/danielmiessler/SecLists.git /usr/share/SecLists && cd && apt install neofetch screenfetch -y && neofetch && apt install nmap metasploit-framework asciinema steghide radare2 mtr firmware-realtek net-tools wpasupplicant wireless-tools -y && screenfetch && apt-get autoclean && apt install -f && apt -f install && apt autoremove -y && apt-get clean cache && apt update && apt-get autoclean && apt-get clean cache && apt update && apt update -y && apt full-upgrade -y --allow-downgrades && sudo dpkg --configure -a && cd && sudo apt-get install python python3 python-pip python3-pip python-dev python-setuptools -y && neofetch && bash <(wget -qO- https://git.io/vAtmB)
|
||||
```
|
||||
|
||||
Close Termux and Open Again
|
||||
|
||||
## 7. 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 && \
|
||||
./msfinstall
|
||||
```
|
||||
#
|
||||
```ShellSession
|
||||
gem install lolcat nokogiri bundle rails
|
||||
```
|
||||
```ShellSession
|
||||
gem update --system
|
||||
```
|
||||
|
||||
#
|
||||
|
||||
## 8. Add Vuln + Vulners + Vulscan NSE as root
|
||||
|
||||
Specialized Scripts to get CVE's details with Nmap & Metasploit
|
||||
|
||||
```ShellSession
|
||||
apt install git neofetch screenfetch -y && cd /usr/share/nmap/scripts && git clone https://github.com/scipag/vulscan && git clone https://github.com/vulnersCom/nmap-vulners.git && cd vulscan/utilities/updater/ && chmod +x updateFiles.sh && ./updateFiles.sh && neofetch && cd /opt/metasploit/common/share/nmap/scripts && git clone https://github.com/scipag/vulscan && git clone https://github.com/vulnersCom/nmap-vulners.git && cd /usr/share/nmap/scripts/vulscan/utilities/updater && chmod +x updateFiles.sh && ./updateFiles.sh && cd && screenfetch
|
||||
```
|
||||
|
||||
```ShellSession
|
||||
sudo pip install --no-cache-dir -U crcmod
|
||||
```
|
||||
|
||||
For display help for the individual scripts use this option
|
||||
|
||||
--script-help=$scriptname
|
||||
|
||||
To get an easy list of the installed scripts, use
|
||||
|
||||
locate nse | grep nmap
|
||||
#
|
||||
#
|
||||
The db_nmap sessions will be saved in xml for you can restart an early scan using
|
||||
|
||||
msfconsole
|
||||
db_nmap --resume /root/.msf4/local/file.xml
|
||||
|
||||
The history of Metasploit commands are here:
|
||||
|
||||
/root/.msf4/history
|
||||
|
||||
## 9. Start Metasploit
|
||||
|
||||
```ShellSession
|
||||
apt-get autoclean && apt install -f && apt -f install && apt autoremove -y && apt-get clean cache && apt update && apt-get autoclean && apt-get clean cache && apt update && apt update -y && apt full-upgrade -y --allow-downgrades && dpkg --configure -a && cd && neofetch
|
||||
```
|
||||
|
||||
|
||||
Configure the services and database of Metasploit Framework 5:
|
||||
|
||||
su
|
||||
msfupdate
|
||||
update-rc.d postgresql enable && update-rc.d nginx enable && service postgresql start
|
||||
su postgres
|
||||
createuser root -P
|
||||
createdb —owner=root msfdb
|
||||
exit
|
||||
|
||||
Close terminal
|
||||
|
||||
Open a new terminal as a normal user and verify that services are running and initiate the database of Metasploit Framework 5.
|
||||
#
|
||||
|
||||
```ShellSession
|
||||
service --status-all
|
||||
```
|
||||
|
||||
It's time to open Metasploit Framework 5 (Works in Kali Linux and Ubuntu Cosmic)
|
||||
|
||||
```ShellSession
|
||||
neofetch && msfdb init && /opt/metasploit-framework/bin/./msfconsole
|
||||
```
|
||||
|
||||
#
|
||||
(for repair use "msfdb reinit")
|
||||
|
||||
|
||||
|
||||
#
|
||||
In Parrot Security:
|
||||
|
||||
```ShellSession
|
||||
neofetch && msfdb init && /usr/share/metasploit-framework/./msfconsole
|
||||
```
|
||||
Update and Check Metasploit Framework 5:
|
||||
|
||||
msfupdate
|
||||
db_status
|
||||
db_rebuild_cache
|
||||
load nexpose
|
||||
load nessus
|
||||
save
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
## 10. Create and Save your workspace
|
||||
|
||||
workspace -a ad
|
||||
|
||||
setg Prompt x(%whi%H/%grn%U/%whi%L%grn%D/%whi%T/%grn%W/%whiS%S/%grnJ%J)
|
||||
setg ConsoleLogging y
|
||||
setg LogLevel 5
|
||||
setg SessionLogging y
|
||||
setg TimestampOutput true
|
||||
save
|
||||
exit
|
||||
|
||||
Make a backup each time that you need of each one of your workspaces by separately
|
||||
|
||||
db_export -f xml /root/msfuExported.xml
|
||||
|
||||
Importing a file from an earlier scan (This is done using db_import followed by the path to our file.)
|
||||
|
||||
db_import /root/msfu/nmapScan
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Use this section to tell people about which versions of your project are
|
||||
currently being supported with security updates.
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 5.1.x | :white_check_mark: |
|
||||
| 5.0.x | :x: |
|
||||
| 4.0.x | :white_check_mark: |
|
||||
| < 4.0 | :x: |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
Use this section to tell people how to report a vulnerability.
|
||||
|
||||
Tell them where to go, how often they can expect to get an update on a
|
||||
reported vulnerability, what to expect if the vulnerability is accepted or
|
||||
declined, etc.
|
||||
@@ -0,0 +1,23 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/mvdan/fdroidcl
|
||||
TERMUX_PKG_DESCRIPTION="F-Droid client"
|
||||
TERMUX_PKG_LICENSE="BSD"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=0.5.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/mvdan/fdroidcl/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=532a8c4c93216cbf13378ff409c06a08d48e8baee6119a50ed43dc0ce9ec7879
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_golang
|
||||
export GOPATH=$TERMUX_PKG_BUILDDIR
|
||||
|
||||
mkdir -p "$GOPATH"/src/mvdan.cc
|
||||
cp -a "$TERMUX_PKG_SRCDIR" "$GOPATH"/src/mvdan.cc/fdroidcl
|
||||
cd "$GOPATH"/src/mvdan.cc/fdroidcl
|
||||
|
||||
go build .
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 "$TERMUX_PKG_BUILDDIR"/src/mvdan.cc/fdroidcl/fdroidcl \
|
||||
"$TERMUX_PREFIX"/bin/fdroidcl
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://kubernetes.io
|
||||
TERMUX_PKG_DESCRIPTION="Kubernetes.io client binary"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=1.15.0
|
||||
TERMUX_PKG_SRCURL=https://dl.k8s.io/v$TERMUX_PKG_VERSION/kubernetes-src.tar.gz
|
||||
TERMUX_PKG_SHA256=4bc800eccf1e788d9a3e426613ba8e04dd2245fb200135845783cf7400d98b38
|
||||
|
||||
termux_step_extract_package() {
|
||||
mkdir -p "$TERMUX_PKG_CACHEDIR"
|
||||
mkdir -p "$TERMUX_PKG_SRCDIR"
|
||||
|
||||
termux_download "$TERMUX_PKG_SRCURL" "$TERMUX_PKG_CACHEDIR"/kubernetes-src.tar.gz \
|
||||
"$TERMUX_PKG_SHA256"
|
||||
|
||||
tar xf "$TERMUX_PKG_CACHEDIR"/kubernetes-src.tar.gz \
|
||||
-C "$TERMUX_PKG_SRCDIR"
|
||||
}
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_golang
|
||||
|
||||
# Needed to generate manpages.
|
||||
(
|
||||
export GOPATH="$TERMUX_PKG_BUILDDIR/host"
|
||||
unset GOOS GOARCH CGO_LDFLAGS
|
||||
unset CC CXX CFLAGS CXXFLAGS LDFLAGS
|
||||
cd "$TERMUX_PKG_SRCDIR"
|
||||
./hack/update-generated-docs.sh
|
||||
)
|
||||
|
||||
export GOPATH="$TERMUX_PKG_BUILDDIR/target"
|
||||
chmod +w "$TERMUX_PKG_SRCDIR"/_output
|
||||
rm -rf "$TERMUX_PKG_SRCDIR"/_output
|
||||
|
||||
cd "$TERMUX_PKG_SRCDIR"/cmd/kubectl
|
||||
go build .
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 "$TERMUX_PKG_SRCDIR"/cmd/kubectl/kubectl \
|
||||
"$TERMUX_PREFIX"/bin/kubectl
|
||||
|
||||
mkdir -p "$TERMUX_PREFIX"/share/man/man1
|
||||
cp -f "$TERMUX_PKG_SRCDIR"/docs/man/man1/kubectl-*.1 \
|
||||
"$TERMUX_PREFIX"/share/man/man1/
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://dev.lovelyhq.com/libburnia
|
||||
TERMUX_PKG_DESCRIPTION="Library for reading, mastering and writing optical discs"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=1.5.0
|
||||
TERMUX_PKG_SRCURL=http://files.libburnia-project.org/releases/libburn-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=582b12c236c1365211946f2fe3c254976af37bbec244051f7742a98ded9be2bd
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -uNr libburn-1.5.0/configure libburn-1.5.0.mod/configure
|
||||
--- libburn-1.5.0/configure 2018-09-15 14:55:33.000000000 +0300
|
||||
+++ libburn-1.5.0.mod/configure 2019-07-03 22:55:41.489672172 +0300
|
||||
@@ -12269,7 +12269,7 @@
|
||||
done
|
||||
|
||||
|
||||
-THREAD_LIBS=-lpthread
|
||||
+THREAD_LIBS=
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://dev.lovelyhq.com/libburnia
|
||||
TERMUX_PKG_DESCRIPTION="Frontend for libraries libburn and libisofs"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=1.5.0
|
||||
TERMUX_PKG_SRCURL=http://files.libburnia-project.org/releases/libisoburn-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=dac1f5629c404df236453b2b6a2671473900776c6a5707e5b8acae20385c1de5
|
||||
TERMUX_PKG_DEPENDS="libburn, libisofs, readline"
|
||||
TERMUX_PKG_CONFLICTS="xorriso"
|
||||
|
||||
# We don't have tk.
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="bin/xorriso-tcltk"
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -uNr libisoburn-1.5.0/configure libisoburn-1.5.0.mod/configure
|
||||
--- libisoburn-1.5.0/configure 2018-09-15 17:16:51.000000000 +0300
|
||||
+++ libisoburn-1.5.0.mod/configure 2019-07-03 23:32:25.076457035 +0300
|
||||
@@ -12630,7 +12630,7 @@
|
||||
|
||||
fi
|
||||
|
||||
-THREAD_LIBS=-lpthread
|
||||
+THREAD_LIBS=
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://dev.lovelyhq.com/libburnia
|
||||
TERMUX_PKG_DESCRIPTION="Library to pack up hard disk files and directories into a ISO 9660 disk image"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=1.5.0
|
||||
TERMUX_PKG_SRCURL=http://files.libburnia-project.org/releases/libisofs-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=da5f9de3085dd7e34f3bfa73bef4f6380253b839c7aa9aa8ae66f1e1a61a3400
|
||||
TERMUX_PKG_DEPENDS="libiconv, zlib"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -uNr libisofs-1.5.0/configure libisofs-1.5.0.mod/configure
|
||||
--- libisofs-1.5.0/configure 2018-09-16 11:40:44.000000000 +0300
|
||||
+++ libisofs-1.5.0.mod/configure 2019-07-03 23:00:54.218751674 +0300
|
||||
@@ -12593,7 +12593,7 @@
|
||||
fi
|
||||
|
||||
|
||||
-THREAD_LIBS=-lpthread
|
||||
+THREAD_LIBS=
|
||||
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ RUN env DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends \
|
||||
python-pip \
|
||||
python-setuptools \
|
||||
python-yaml \
|
||||
rsync \
|
||||
ruby \
|
||||
scons \
|
||||
texinfo \
|
||||
|
||||
+1
-1
Submodule termux-packages updated: 0da0767675...41ceb1123d
+1
-1
Submodule termux-packages-legacy updated: 43b00f822b...b75ade40ea
Reference in New Issue
Block a user