In PlayGround the System() function is not restricted! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

In PlayGround the System() function is not restricted!

After i few minutes research i found that they are using Ubuntu 4.15.0 as OS for running codes and thiers System time is not updated, it shows 18 Sep! My question is, is their any possibilities that SoloLearn being hacked by exploiting this function?

25th Dec 2019, 2:28 PM
Abdol Hashimi
Abdol Hashimi - avatar
2 Answers
+ 1
import os print(os.system("uname -a")) using azure cloud even print(os.system("whoami")) root 😂
25th Dec 2019, 2:40 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
right, I used python OS to execute commands on the server too. I saw a post a while ago suggesting to install some python library using pip install. and thought of the same thing. not sure if they are using docker containers or Vms.
25th Dec 2019, 2:36 PM
Bahhaⵣ
Bahhaⵣ - avatar