Commit Graph

1210 Commits

Author SHA1 Message Date
Thomas Hobson 8b90c12c5c
chown directories to root, ensuring they are not writable by runners 2021-05-02 20:11:55 +12:00
Dan Vargas 50cb0f1996
pkg(octave-6.2.0): add octave 6.2.0 (#247) 2021-05-02 18:36:41 +12:00
Thomas Hobson 38ab15081e
Merge branch 'master' of https://github.com/engineer-man/piston 2021-05-02 17:02:26 +12:00
Thomas Hobson 37c760b081
allow empty contents 2021-05-02 17:01:50 +12:00
Thomas d55d158fb6
bump repo ci 2021-05-02 15:21:54 +12:00
Thomas d577072749
Revert "Added max_memory_usage parameter (#238)" (#246)
This reverts commit a49acc7dbe.
2021-05-02 14:55:37 +12:00
Dan Vargas 7f3a0854fd
pkg(octave-6.2.0): add deps for octave (#245) 2021-05-02 14:45:26 +12:00
Dan Vargas 2412d50f82
pkg(octave-6.2.0): add deps for octave (#245) 2021-05-02 14:41:53 +12:00
Felix a49acc7dbe
Added max_memory_usage parameter (#238)
* Added max_memory_usage parameter

* Added max_memory_usage description to readme
2021-05-01 21:10:53 +12:00
Dan Vargas f2973f0536
pkg(ruby-3.0.1): add ruby 3.0.1 (#242)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-30 23:33:29 +12:00
vcokltfre 37946d8542
fix: add yeethon to supported languages list (#240) 2021-04-30 20:10:26 +12:00
Thomas Hobson 6e748c614c
Merge branch 'master' of https://github.com/engineer-man/piston 2021-04-29 13:57:46 +12:00
Thomas Hobson 5221cdc7f4
make /tmp executable 2021-04-29 13:57:29 +12:00
Shivansh-007 75957407ca
pkg(yeethon3.10): Adds Yeethon 3.10 (#239)
* pkg(yeethon3.10): Adds Yeethon 3.10

* pkg(yeethon3.10): Change test file name to `test.yeethon.py`
2021-04-29 13:55:43 +12:00
Thomas 6b5fcaf363
Update metadata.json 2021-04-28 20:21:56 +12:00
Thomas bbb45a5a0a
python 2 is language python2 2021-04-28 20:15:46 +12:00
JeffreyHuang06 9f98f393a7
Update readme.md (#226)
changed api path from v1 to v2
2021-04-28 16:16:29 +12:00
Thomas Hobson 5509492a99
uncomment the fix 2021-04-28 16:11:49 +12:00
Thomas Hobson 0299810d6c
update CI config 2021-04-28 16:04:27 +12:00
Thomas Hobson 3bd73d07a9
file persistance fix 2021-04-28 16:03:35 +12:00
Thomas Hobson a6bc24e22e
Fix issue where large files can be written to exhaust space
**BREAKING CHANGE**
Requires manually editing the config file, or deleting the config file entirely!
2021-04-28 15:39:23 +12:00
Thomas Hobson 73391cf718
add exploit payloads 2021-04-28 15:35:40 +12:00
Thomas Hobson 6b138f2377
Merge branch 'master' of https://github.com/engineer-man/piston 2021-04-28 14:35:05 +12:00
Thomas Hobson 724cbbaa9b
mount /tmp as tmpfs in container 2021-04-28 14:34:51 +12:00
Dan Vargas 3dfade7c91
pkg(lolcode-0.11.2): update build script to use correct lolcode version (#237)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-28 14:15:34 +12:00
Dan Vargas 08ea3b3740
pkg(lolcode-0.11.2): add dep for correct version (#234)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-28 11:03:33 +12:00
Victor Frazao 3355ffafb2
pkg(cobol-3.1.2): Adds cobol 3.1.2 (gnucobol) (#235) 2021-04-28 11:02:59 +12:00
Victor Frazao 65cbefa94e
pkg(gcc-10.2.0): Adds Fortran support for GCC (#236) 2021-04-28 11:02:17 +12:00
Dan Vargas 959830c652
pkg(groovy-3.0.7): add compile step (#232)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-27 12:18:52 +12:00
Thomas Hobson 7da1a7dce8
fix ci 2021-04-27 12:15:33 +12:00
Thomas Hobson 4ef3e4e5c3
fix ci 2021-04-27 12:10:12 +12:00
Thomas Hobson 9a52e369f2
fix forking exploits 2021-04-26 19:37:40 +12:00
Thomas Hobson 6fe0da030d
edge case 2021-04-26 13:37:50 +12:00
Thomas Hobson 3673b4e403
zombie process handler 2021-04-26 13:00:34 +12:00
Thomas Hobson 347f2d56d7
use a compatible waitpid library 2021-04-26 11:32:10 +12:00
Thomas Hobson dd31873700
free zombie processes from proctable 2021-04-26 11:22:28 +12:00
Thomas Hobson 18a44bf146
install ps in container 2021-04-26 10:58:57 +12:00
Thomas Hobson 00fede6e0d
change api version to v2 2021-04-26 10:40:53 +12:00
Thomas Hobson 72bda367e0
cleanup all runner user processes 2021-04-26 10:35:34 +12:00
Thomas Hobson 3b0f2a0013
remove useless kill 2021-04-26 03:15:49 +12:00
Thomas Hobson 349beeb45a
Warn on errors when killing process group 2021-04-26 03:01:08 +12:00
Thomas Hobson f9b8fbd9c0
correct logging contexts 2021-04-25 21:01:16 +12:00
Thomas Hobson 3928bace86
refactor 2021-04-25 20:55:20 +12:00
Thomas Hobson 436c7f3c25
remove file that shouldn't be tracked 2021-04-25 20:05:04 +12:00
Thomas Hobson 2961bdc604
Conditonally output stderr 2021-04-25 17:17:19 +12:00
Thomas Hobson 51267c3526
give deno aliases 2021-04-25 17:15:16 +12:00
Victor Frazao 5f97005a9a
Fixes nasm32 - adds 32bit arch to seccomp filter (#231) 2021-04-25 16:55:39 +12:00
Thomas Hobson 1e3b01283e
ci fix 2021-04-25 16:43:57 +12:00
Thomas Hobson f590f85d6d
unbreak CI 2021-04-25 16:41:02 +12:00
Thomas Hobson 0e6f082f5f
use correct container name in index 2021-04-25 16:39:33 +12:00