You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Items in the provide: list can be either a single string or a object with explicit keys.
from: indicates the challenge container image where the file should be fetched from, based on the names in pods:. If omitted the default value is the repo challenge directory.
include: is the list of file paths to read from the source. String is equivalent to one-element array.
as: either renames the file or creates a zip of the files before uploading.
If as is given with only one source file, the source is renamed to the value.
If as is given with multiple files included, the files are zipped into an archive with the filename as the value.
If omitted, the basename of the file(s) are used and no renaming or archiving occurs (each file is listed individually).
examples
provide:
# reads thing.jpg from chal directory and shown as thing.jpg
- thing.jpg# copied from foo pod image and zipped together as things.zip
- from: fooas: things.zipinclude:
- /lib/foo.so
- /bin/pwnme# copied from foo pod image and shown as thing2
- from: fooas: thing2include:
- /bin/otherthing
Implementation
along the lines of:
docker create $IMAGE --name tempimage
docker cp ..files
docker rm tempimage
The text was updated successfully, but these errors were encountered:
Configuration
Items in the
provide:
list can be either a single string or a object with explicit keys.from:
indicates the challenge container image where the file should be fetched from, based on the names inpods:
. If omitted the default value is the repo challenge directory.include:
is the list of file paths to read from the source. String is equivalent to one-element array.as:
either renames the file or creates a zip of the files before uploading.as
is given with only one source file, the source is renamed to the value.as
is given with multiple files included, the files are zipped into an archive with the filename as the value.examples
Implementation
along the lines of:
docker create $IMAGE --name tempimage
docker cp ..files
docker rm tempimage
The text was updated successfully, but these errors were encountered: