Skip to content

ChSotiriou/penenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4a2d69b · Apr 28, 2022

History

13 Commits
Apr 28, 2022
Apr 28, 2022
Apr 28, 2022

Repository files navigation

PENENV

Kali Linux Docker Environment

Download / Build

# Download from DockerHub
docker pull christoss/penenv:latest

# Build Locally
./build.sh

Usage

I suggest adding the following functions to your zshrc/bashrc file:

function checkContainerRunning() {
    docker container ls -q -f name="$1"
}

function penenv() {
    if [ $(checkContainerRunning "penenv") ]; then
        docker exec -it penenv bash
    else
        docker run --net=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it --rm --name penenv -v "$(pwd)":/root/data penenv bash
    fi
}

This starts up the container if it is not running or executes bash if it is.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published