mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-03-30 16:55:41 +00:00
docker kali
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
for os in archlinux debian-buster fedora-34 fedora-35 homebrew opensuse-leap opensuse-tumbleweed parrot-core-latest ubuntu-18.04 ubuntu-20.04 ubuntu-21.04; do
|
||||
for os in archlinux debian-buster fedora-34 fedora-35 homebrew kali opensuse-leap opensuse-tumbleweed parrot-core-latest ubuntu-18.04 ubuntu-20.04 ubuntu-21.04; do
|
||||
( cd $os && ./docker_build.sh )
|
||||
done
|
||||
|
||||
19
docker/kali/Dockerfile
Normal file
19
docker/kali/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM kalilinux/kali-rolling
|
||||
|
||||
ENV LANG C
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
# qtbase5-dev skipped
|
||||
RUN apt-get update && \
|
||||
apt-get dist-upgrade -y && \
|
||||
apt-get install -y --no-install-recommends git ca-certificates build-essential cmake pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev libbluetooth-dev libpython3-dev sudo && \
|
||||
apt-get clean
|
||||
|
||||
# Create rrg user
|
||||
RUN useradd -ms /bin/bash rrg
|
||||
RUN passwd -d rrg
|
||||
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
||||
|
||||
USER rrg
|
||||
WORKDIR "/home/rrg"
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
9
docker/kali/README.md
Normal file
9
docker/kali/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Notes to run tests
|
||||
|
||||
```
|
||||
sudo apt update
|
||||
sudo apt install -y python3-minimal
|
||||
sudo apt install -y python3-pip
|
||||
python3 -m pip install ansicolors sslcrypto
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
||||
3
docker/kali/docker_build.sh
Executable file
3
docker/kali/docker_build.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-kali:1.0" .
|
||||
4
docker/kali/docker_rm.sh
Normal file
4
docker/kali/docker_rm.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-kali:1.0
|
||||
#docker image rm kalilinux/kali-rolling
|
||||
3
docker/kali/docker_run.sh
Executable file
3
docker/kali/docker_run.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-kali:1.0
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-parrotsec-core-latest:1.0
|
||||
#docker image rm ubuntu:21.04
|
||||
docker image rm parrotsec/core:latest
|
||||
|
||||
Reference in New Issue
Block a user