{"id":20140639,"url":"https://github.com/goffinet/log4pot-container","last_synced_at":"2026-02-09T04:03:46.701Z","repository":{"id":44958770,"uuid":"446213148","full_name":"goffinet/log4pot-container","owner":"goffinet","description":"log4pot container image","archived":false,"fork":false,"pushed_at":"2022-01-18T21:08:18.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T08:45:11.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goffinet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-09T22:02:23.000Z","updated_at":"2024-05-02T19:43:36.000Z","dependencies_parsed_at":"2022-09-10T05:41:01.900Z","dependency_job_id":null,"html_url":"https://github.com/goffinet/log4pot-container","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/goffinet/log4pot-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Flog4pot-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Flog4pot-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Flog4pot-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Flog4pot-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goffinet","download_url":"https://codeload.github.com/goffinet/log4pot-container/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Flog4pot-container/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267621579,"owners_count":24116900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T21:52:57.185Z","updated_at":"2026-02-09T04:03:41.682Z","avatar_url":"https://github.com/goffinet.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log4pot container image\n\n![log4pot](https://github.com/goffinet/log4pot-container/actions/workflows/main.yml/badge.svg)\n\n## Dockerfile\n\n```\nFROM ubuntu:20.04\n\nLABEL org.opencontainers.image.source https://github.com/goffinet/log4pot-container\n\nENV DEBIAN_FRONTEND noninteractive\n\nRUN apt-get update \u0026\u0026 \\\n    apt-get update -y \u0026\u0026 \\\n    apt-get dist-upgrade -y \u0026\u0026 \\\n    apt-get install -y \\\n       build-essential \\\n       git \\\n       libcurl4-openssl-dev \\\n       libssl-dev \\\n       python3-pip \\\n       python3 \\\n       python3-dev\n\nRUN pip3 install --upgrade pip \u0026\u0026 \\\n    pip3 install pycurl pandas\n\nRUN cd /opt/ \u0026\u0026 \\\n    git clone https://github.com/thomaspatzke/Log4Pot \u0026\u0026 \\\n    mkdir -p /opt/Log4Pot/payloads /opt/Log4Pot/log\n\nRUN apt-get purge -y build-essential \\\n        git \\\n        python3-dev \u0026\u0026 \\\n    apt-get autoremove -y --purge \u0026\u0026 \\\n    apt-get clean \u0026\u0026 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\n\nSTOPSIGNAL SIGINT\n\nWORKDIR /opt/Log4Pot/\n\nCMD [\"/usr/bin/python3\",\"log4pot-server.py\",\"--port\",\"8080\",\"--log\",\"/opt/Log4Pot/log/log4pot.log\",\"--download-dir\",\"/opt/Log4Pot/payloads/\",\"--payloader\",\"--server-header\",\"Apache-Coyote/1.1\"]\n```\n\n## Docker-compose\n\n```\nversion: '2.3'\nnetworks:\n  log4pot_local:\nservices:\n  log4pot:\n#    build: .\n    container_name: log4pot\n    restart: always\n    tmpfs:\n     - /tmp:uid=2000,gid=2000\n    networks:\n     - log4pot_local\n    ports:\n     - \"80:8080\"\n     - \"443:8080\"\n     - \"8080:8080\"\n     - \"9200:8080\"\n     - \"25565:8080\"\n    image: \"ghcr.io/goffinet/log4pot-container:master\"\n    read_only: true\n    volumes:\n     - \"$PWD/log:/opt/Log4Pot/log\"\n     - \"$PWD/payloads:/opt/Log4Pot/payloads\"\n```\n\n## Usage\n\n```\ncurl -fsSL https://get.docker.com -o get-docker.sh\nsh get-docker.sh\nsystemctl enable docker\nsystemctl start docker\nyum -y install python3-pip || apt update \u0026\u0026 apt -y install python3-pip\npip3 install pip --upgrade\npip3 install docker-compose\napt update\napt -y install git\naddgroup --gid 2000 log4pot\nadduser --system --shell /bin/bash -uid 2000 --disabled-password -gid 2000 log4pot\ngpasswd -a log4pot docker\nsu - log4pot\ngit clone https://github.com/goffinet/log4pot-container.git\ncd log4pot-container\nmkdir log/ payloads/\nchown -R 2000:2000 log/ payloads/\n```\n\n```\ndocker-compose up -d\n```\n\n```\njq '.' log/log4pot.log\ndocker exec log4pot tail -f /opt/Log4Pot/log/log4pot.log\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoffinet%2Flog4pot-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoffinet%2Flog4pot-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoffinet%2Flog4pot-container/lists"}