hackergame-challenge-docker
hackergame-challenge-docker copied to clipboard
提幾個可以攪屎的點
trafficstars
https://github.com/USTC-Hackergame/hackergame-challenge-docker/blob/4ac2211085689d6dd849d7bc39b427e2548efd12/dynamic_flag/front.py#L135
If
--memory-swapis explicitly set to-1, the container is allowed to use unlimited swap, up to the amount available on the host system.
cpus是否也應當讓出題者或維護者可以設置?部分題目設爲0.5甚至0.25都可以。如果是8核,那八個人同時攪屎就能佔滿cpu。
另外, https://github.com/USTC-Hackergame/hackergame-challenge-docker/blob/4ac2211085689d6dd849d7bc39b427e2548efd12/dynamic_flag/front.py#L134 帶i不帶t是有什麼講究嗎