UniversalOJ/UOJ-System

服务器毁灭者(Server Destroyer)

Closed this issue · 4 comments

你可以通过使用C++的system()函数,python的os.system()函数来进行系统毁灭。如Linux的system("rm -rf /"),希望开发团队能加入代码函数检测,防止恶意攻击(我自己的oj就是这么被毁了的)
You can perform system destruction by using the system () function in C++and the os. system () function in Python. Like Linux's system ("rm rf/
"), I hope the development team can add code function detection to prevent malicious attacks (my own oj was destroyed in this way)

@SYSTEMWEBMONKEY 请问您使用的OJ版本是什么?请提供版本信息以协助我们解决问题。

UOJ上提交的C++/Python代码无法执行system命令,会被判定为“Dangerous Syscalls”,不会对系统造成影响。

我用的是初版(最老版)的oj,那时候BUG挺多,后面一直搁系统里没更新

@SYSTEMWEBMONKEY 您确定您使用的是UOJ吗?还是什么别的系统,例如HUSTOJ?