File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RUN http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy add-apt-re
66RUN http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy apt-get --allow-unauthenticated update
77RUN DEBIAN_FRONTEND=noninteractive http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy apt-get install -y --allow-unauthenticated php5.6-dev git-core
88
9- # obtain a copy of ZendGuardLoader.so and place it in your repository
9+ # Obtain a copy of ZendGuardLoader.so and place it in your repository, before building this Dockerfile
1010COPY . .
1111RUN git clone https://github.com/lighttpd/xcache
1212WORKDIR /xcache
@@ -16,4 +16,12 @@ RUN ./configure --enable-xcache-disassembler
1616RUN make
1717RUN make install
1818RUN printf "\n extension=xcache.so" >> /etc/php/5.6/cli/php.ini
19- RUN printf "\n zend_extension=/ZendGuardLoader.so" >> /etc/php/5.6/cli/php.ini
19+ RUN printf "\n zend_extension=/ZendGuardLoader.so" >> /etc/php/5.6/cli/php.ini
20+ WORKDIR /
21+
22+ # Build the container
23+ # docker build -t zenddecoder .
24+
25+ # To decompile your code base, mount it in the docker volume and run a bash one-liner:
26+ # docker run -v /path/to/your/code/:/codebase -it zenddecoder /bin/bash
27+ # for f in $(find /codebase -name '*.php'); do php index.php $f > "dec_"$f; done
You can’t perform that action at this time.
0 commit comments