Giter VIP home page Giter VIP logo

docker-images's People

Contributors

alexmanno avatar gimler avatar gurayops avatar mibofra avatar palinurosec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-images's Issues

Dock Installed

I did apt-get install docker and then when I run any of docker commands listed on github it says command not found.

Unusable due mit mirror errors

Have been attempting to use the parrotsec base docker image for unit testing with stegoveritas. Unfortunately, all it does it fail because the mit mirror returns 404 for everything. Easy to reproduce by simply running the latest docker, apt update then attempt to do anything (parrot-upgrade, apt dist-upgrade, apt-full upgrade, apt install python3, etc).

Will simply be removing this from testing for now, but would be good for you guys to ensure your primary mirrors work as i'm likely not the only person who gets bit by things like this.

Please build images for other architectures

We have had a few requests to support Parrot in the UserLAnd Android app. We have started making our lives easier by creating our base images from other's dockerhub images. Looking at the parrotsec images, I see that they are only for x86_64. Would you consider building for x86, arm32v7 and arm64v8 as well?

" docker build -t parrot:latest parrot" Failing

Using Docker Desktop CE Version 2.0.0.3 (31259) on OSX

$ docker build -t parrot:latest parrot
Sending build context to Docker daemon  2.048kB
Step 1/6 : FROM parrotsec/parrot-core:latest
 ---> 0282e8382fdd
Step 2/6 : MAINTAINER Lorenzo "Palinuro" Faletra ([email protected])
 ---> Using cache
 ---> 431c9428ce18
Step 3/6 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 46cce5da18f4
Step 4/6 : ENV VERSION 4.6-3
 ---> Running in 09d007aab482
Removing intermediate container 09d007aab482
 ---> 0736783c2f5d
Step 5/6 : RUN apt-get update; apt-get -y dist-upgrade;apt-get -y install parrot-pico;apt-get -y install parrot-mini parrot-tools-cloud; rm -rf /var/lib/apt/lists/*
 ---> Running in 7874a1781d00
OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown

Unable to perform DNS resolution (timed out)

I have setup my parrot instance as is show in the doc on https://hub.docker.com/r/parrotsec/parrot/

Once the installation was complete, I wanted to perform a reverse DNS resolution.

So when I make a basic resolution, I have no problem:

┌─[root@linuxkit-025000000001]─[/]
└──╼ #host google.com
google.com has address 216.58.201.238
google.com has IPv6 address 2a00:1450:4007:810::200e
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.

But when I want to do a complete search, the command fails with timeout :

┌─[root@linuxkit-025000000001]─[/]
└──╼ #host -a google.com
Trying "google.com"
;; connection timed out; no servers could be reached

I have already tried the -w option but the command does not end while on my host machine it takes a fraction of a second.

The certificate is NOT trusted. The certificate chain uses expired certificate. [IP: 51.91.152.156 443]

I tried to create the parrot/security image by installing the components like it is done in the Dockerfile. However, this is not possible due to a certificate issue.

docker run --rm -ti --network host -v $PWD/work:/work parrotsec/core:lts-arm64
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
┌─[root@docker-desktop]─[/]
└──╼ #apt-get update
Ign:1 https://deb.parrot.sh/parrot lts InRelease
Ign:2 https://deb.parrot.sh/parrot lts-security InRelease
Err:3 https://deb.parrot.sh/parrot lts Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 51.91.152.156 443]
Err:4 https://deb.parrot.sh/parrot lts-security Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 51.91.152.156 443]
Reading package lists... Done
E: The repository 'https://deb.parrot.sh/parrot lts Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.parrot.sh/parrot lts-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
┌─[✗]─[root@docker-desktop]─[/]
└──╼ #apt-get -y dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
┌─[root@docker-desktop]─[/]
└──╼ #apt-get -y install parrot-pico
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package parrot-pico

Update Docker Images

Not sure how often these are built but they are 5+ months out of date from the package repos. Please update them when you have a chance or possibly set up a weekly/nightly build so that the images stay up to date with the latest packages please.

"docker build -t metasploit:latest metasploit" Failing

Using Docker Desktop CE Version 2.0.0.3 (31259) on OSX

$ docker build -t metasploit:latest metasploit
Sending build context to Docker daemon  2.048kB
Step 1/6 : FROM parrotsec/parrot-core:latest
 ---> 0282e8382fdd
Step 2/6 : MAINTAINER Lorenzo "Palinuro" Faletra ([email protected])
 ---> Using cache
 ---> 431c9428ce18
Step 3/6 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 46cce5da18f4
Step 4/6 : ENV VERSION 5.0.24-4.6
 ---> Using cache
 ---> 32967ebf54c0
Step 5/6 : RUN apt-get update; apt-get -y dist-upgrade;apt-get -y --no-install-recommends install parrot-menu;apt-get -y install parrot-pico metasploit-framework postgresql; rm -rf /var/lib/apt/lists/*
 ---> Running in 01a20af1d52b
OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown

The image parrotsec/tools-metasploit doesn't work

Hi,

It seems that the docker image stored in docker hub
(https://hub.docker.com/r/parrotsec/tools-metasploit) doesn't work. As
you can see below I have an error when the container starts

podman run --rm -it --name test docker.io/parrotsec/tools-metasploit
    /bin/sh: 1: msfconsole-start: not found

sudo docker run --rm -ti parrotsec/tools-metasploit
    Unable to find image 'parrotsec/tools-metasploit:latest' locally
    latest: Pulling from parrotsec/tools-metasploit
    250c4d9991f5: Pull complete
    a5f5dddb8ddc: Pull complete
    ad73c1064879: Pull complete
    6a9c4ece880d: Pull complete
    Digest:
sha256:6292bb11e5f11520e1c2bf91ed23fc1c7a3099bba1215ef69cca3026ce034455
    Status: Downloaded newer image for parrotsec/tools-
metasploit:latest
    /bin/sh: 1: msfconsole-start: not found

Based on your Makefile, the image metasploit is based on nmap

tools-metasploit: tools-nmap
        docker build -t parrotsec/tools-metasploit:latest
tools/metasploit

So I have built the image through the Containerfile available here
https://github.com/ParrotSec/docker-images/blob/master/tools/metasploit/Dockerfile

Curiously when I create a container with my local build, the container
works correctly.

podman run --rm -it localhost/test
        Starting PostgreSQL 13 database server: main.
        [........]
        msf6 > db_status
        [*] Connected to msf. Connection type: postgresql.

I have notive that the images don't have the same size

docker.io/parrotsec/tools-metasploit      latest  abdace9aa3a8  8 weeks
ago    4.07 GB
localhost/metasploit                      latest  cd5f06587d2e  28
hours ago   3.69 GB

Have you an idea ? Do you know why ?

Thanks

Broken location for packages

I am trying to build a custom Dockerfile for a Parrotsec docker container to support desktop access.

It seems that using certain packages such as parrot-pico, parrot-tools-common, parrot-tools and other similar meta-packages cause certain domains to return a "404 Not Found" for the needed dependency packages.

Prior to fetching the meta-packages I mentioned above, I am running:

RUN export DEBIAN_FRONTEND=noninteractive && \
    apt update && \
    apt upgrade -y && \
    apt install -y \
    <META_PACKAGE>

with the belief that this would prevent APT from getting those annoying 404 errors.

This essentially breaks the build of the container and there isn't really a workaround I believe but could be wrong.

I would recommend collecting all packages for meta-packages and hosting them on just one domain e.g https://deb.parrot.sh/parrot/

That way maintainers will be able to easily update and track old packages and update faster.

Example of what I'm getting as an error from APT

#5 546.2 E: Failed to fetch https://ftp.nluug.nl/os/Linux/distr/parrot/pool/main/v/vulkan-loader/libvulkan1_1.2.182.0-2~bpo11+1_amd64.deb  Error reading from server - read (5: Input/output error) [IP: 145.220.21.40 443]
#5 546.2 E: Failed to fetch https://ftp.halifax.rwth-aachen.de/parrotsec/pool/main/c/cups/libcups2_2.3.3op2-3+deb11u1_amd64.deb  Error reading from server - read (5: Input/output error) [IP: 137.226.34.46 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/t/talloc/libtalloc2_2.3.1-2+b1_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/t/tdb/libtdb1_1.4.3-1+b1_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/a/acl/acl_2.2.53-10_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/w/wavpack/libwavpack1_5.4.0-1_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://ftp.halifax.rwth-aachen.de/parrotsec/pool/main/d/dc3dd/dc3dd_7.2.646-4_amd64.deb  Error reading from server - read (5: Input/output error) [IP: 137.226.34.46 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/p/pocl/libpocl2-common_1.6-5_all.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/a/armadillo/libarmadillo10_10.1.2+dfsg-6+b1_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/p/pkg-config/pkg-config_0.29.2-1_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://mirrors.aliyun.com/parrot//pool/main/libf/libfs/libfs6_1.0.8-1_amd64.deb  Undetermined Error [IP: 79.133.176.212 443]Fetched 1887 MB in 8min 57s (3511 kB/s)
#5 546.2
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/p/python-bcrypt/python3-bcrypt_3.1.7-4_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Failed to fetch https://mirror.cspacehostings.com/parrotsec/pool/main/t/truecrack/truecrack_3.6+git20150326-0parrot2_amd64.deb  404  Not Found [IP: 45.142.100.34 443]
#5 546.2 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.