57 lines
1.9 KiB
Markdown
57 lines
1.9 KiB
Markdown
---
|
|
obj: os
|
|
website: https://blackarch.org
|
|
---
|
|
|
|
# BlackArch
|
|
BlackArch Linux is an Arch Linux-based penetration testing distribution for penetration testers and security researchers. The repository contains 2846 tools. You can install tools individually or in groups. BlackArch Linux is compatible with existing Arch installs. For more information, see the installation instructions.
|
|
|
|

|
|
|
|
## Install
|
|
Installation instructions can be found [here](https://blackarch.org/blackarch-install.html).
|
|
|
|
### On Arch Linux
|
|
BlackArch Linux is compatible with existing/normal Arch installations. It acts as an unofficial user repository. Below you will find instructions on how to install BlackArch in this manner.
|
|
|
|
```sh
|
|
# Run https://blackarch.org/strap.sh as root and follow the instructions.
|
|
|
|
$ curl -O https://blackarch.org/strap.sh
|
|
# Verify the SHA1 sum
|
|
|
|
$ echo bbf0a0b838aed0ec05fff2d375dd17591cbdf8aa strap.sh | sha1sum -c
|
|
# Set execute bit
|
|
|
|
$ chmod +x strap.sh
|
|
# Run strap.sh
|
|
|
|
$ sudo ./strap.sh
|
|
# Enable multilib following https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib and run:
|
|
|
|
$ sudo pacman -Syu
|
|
```
|
|
|
|
You may now install tools from the blackarch repository.
|
|
|
|
```sh
|
|
# To list all of the available tools, run
|
|
|
|
$ sudo pacman -Sgg | grep blackarch | cut -d' ' -f2 | sort -u
|
|
# To install a category of tools, run
|
|
|
|
$ sudo pacman -S blackarch-<category>
|
|
# To see the blackarch categories, run
|
|
|
|
$ sudo pacman -Sg | grep blackarch
|
|
# To search for a specific package, run
|
|
|
|
$ pacman -Ss <package_name>
|
|
# Note - it maybe be necessary to overwrite certain packages when installing blackarch tools. If
|
|
# you experience "failed to commit transaction" errors, use the --needed and --overwrite switches
|
|
# For example:
|
|
|
|
$ sudo pacman -Syyu --needed --overwrite='*' <wanted-package>
|
|
```
|
|
|
|
The complete tool list of the BlackArch Linux repository can be found [here](https://blackarch.org/tools.html).
|