chuxi111 commited on
Commit
c21ac4e
·
verified ·
1 Parent(s): e3cfc10

happyropeware: vendor pinned py2.7 debs + patch Dockerfile for ubuntu:24.04 base

Browse files
.gitattributes CHANGED
@@ -1,3 +1,10 @@
1
  *.zip filter=lfs diff=lfs merge=lfs -text
2
  alibabactf-2025-web-EspressoCoffee/environment/payload.bin filter=lfs diff=lfs merge=lfs -text
3
  assets/leaderboard.png filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
1
  *.zip filter=lfs diff=lfs merge=lfs -text
2
  alibabactf-2025-web-EspressoCoffee/environment/payload.bin filter=lfs diff=lfs merge=lfs -text
3
  assets/leaderboard.png filter=lfs diff=lfs merge=lfs -text
4
+ alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7-dev_2.7.18-13ubuntu1.5_amd64.deb filter=lfs diff=lfs merge=lfs -text
5
+ alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7-minimal_2.7.18-13ubuntu1.5_amd64.deb filter=lfs diff=lfs merge=lfs -text
6
+ alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7-stdlib_2.7.18-13ubuntu1.5_amd64.deb filter=lfs diff=lfs merge=lfs -text
7
+ alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7_2.7.18-13ubuntu1.5_amd64.deb filter=lfs diff=lfs merge=lfs -text
8
+ alibabactf-2023-reverse-happyropeware/environment/py27/python2.7-dev_2.7.18-13ubuntu1.5_amd64.deb filter=lfs diff=lfs merge=lfs -text
9
+ alibabactf-2023-reverse-happyropeware/environment/py27/python2.7-minimal_2.7.18-13ubuntu1.5_amd64.deb filter=lfs diff=lfs merge=lfs -text
10
+ alibabactf-2023-reverse-happyropeware/environment/py27/python2.7_2.7.18-13ubuntu1.5_amd64.deb filter=lfs diff=lfs merge=lfs -text
alibabactf-2023-reverse-happyropeware/environment/Dockerfile CHANGED
@@ -1,10 +1,22 @@
1
  FROM quay.io/alibaba-aaig/alibaba-ctf-bench:ctf-agent
2
  RUN apt-get update -qq && apt-get install -y --no-install-recommends curl p7zip-full && rm -rf /var/lib/apt/lists/*
3
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  # --- Volatility 2 + Win10x64_19041 profile ---
5
  RUN apt-get update -qq && \
6
  apt-get install -y --no-install-recommends \
7
- python2-dev git ca-certificates gcc libc6-dev libcrypt-dev libdistorm3-dev socat && \
8
  curl -sS https://bootstrap.pypa.io/pip/2.7/get-pip.py -o /tmp/get-pip.py && \
9
  python2 /tmp/get-pip.py && \
10
  python2 -m pip install --no-cache-dir 'setuptools<58' wheel && \
 
1
  FROM quay.io/alibaba-aaig/alibaba-ctf-bench:ctf-agent
2
  RUN apt-get update -qq && apt-get install -y --no-install-recommends curl p7zip-full && rm -rf /var/lib/apt/lists/*
3
 
4
+ # Ubuntu 24.04 dropped python2; install pinned jammy debs vendored in the build context
5
+ COPY py27/ /tmp/py27/
6
+ RUN apt-get update -qq && \
7
+ apt-get install -y --no-install-recommends \
8
+ /tmp/py27/libpython2.7-minimal_*.deb /tmp/py27/python2.7-minimal_*.deb \
9
+ /tmp/py27/libpython2.7-stdlib_*.deb /tmp/py27/python2.7_*.deb \
10
+ /tmp/py27/libpython2.7_*.deb /tmp/py27/libpython2.7-dev_*.deb \
11
+ /tmp/py27/python2.7-dev_*.deb && \
12
+ ln -sf /usr/bin/python2.7 /usr/bin/python2 && \
13
+ python2 -c "import ssl, zlib, sqlite3" && \
14
+ rm -rf /tmp/py27 /var/lib/apt/lists/*
15
+
16
  # --- Volatility 2 + Win10x64_19041 profile ---
17
  RUN apt-get update -qq && \
18
  apt-get install -y --no-install-recommends \
19
+ git ca-certificates gcc libc6-dev libcrypt-dev libdistorm3-dev socat && \
20
  curl -sS https://bootstrap.pypa.io/pip/2.7/get-pip.py -o /tmp/get-pip.py && \
21
  python2 /tmp/get-pip.py && \
22
  python2 -m pip install --no-cache-dir 'setuptools<58' wheel && \
alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7-dev_2.7.18-13ubuntu1.5_amd64.deb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf1f862c7fafda4a7dfe081b4094f7c2bbc3b64697917d3a4c3f4fda3f3b9dfb
3
+ size 2514454
alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7-minimal_2.7.18-13ubuntu1.5_amd64.deb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:350c720e95475850b1838e11320de5461c58f8aeafb923b935e9ae54b7731aae
3
+ size 347366
alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7-stdlib_2.7.18-13ubuntu1.5_amd64.deb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1098942dda0aabbc0391dff376ae1db98afce223ccb86da0cebdddcb10aa6f69
3
+ size 1977332
alibabactf-2023-reverse-happyropeware/environment/py27/libpython2.7_2.7.18-13ubuntu1.5_amd64.deb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32a3fd531225bf812e3d441d5c10afb0ccbd9f42f34baf321eacc5cd0b22728c
3
+ size 1163522
alibabactf-2023-reverse-happyropeware/environment/py27/python2.7-dev_2.7.18-13ubuntu1.5_amd64.deb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:404af6e7d5c5c99e4185e0aa101fa37e339226c64b36ae325bbdd352f9708bf6
3
+ size 286712
alibabactf-2023-reverse-happyropeware/environment/py27/python2.7-minimal_2.7.18-13ubuntu1.5_amd64.deb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a8cc3e4ad31e2f5ada7c8be8131a577044a779d4b0c81ba31ae46b76ce758de
3
+ size 1400042
alibabactf-2023-reverse-happyropeware/environment/py27/python2.7_2.7.18-13ubuntu1.5_amd64.deb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c12835681e579433219742851204ab9a304d47e3980024f7701eaff7897fa4b
3
+ size 249634