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
it is restricted in /etc/sudoers with NOPASSWD for /bin/su penobody -c. Is it possible to limit sudo -u penobody without password ? the command launched by www-data is from web applications.
It is a better solution. We need the whitelist of cmdA,B,C. Another concern is that the command executed may create a backdoor to other sites. (I just restrict outgoing connection)
你們在產生 output 或進行 fault localization 時,有 security 的問題要注意。因為程式可以寫
system("rm -rf *");
這樣你們的資料就會被殺光。你們可能要先過濾程式是否有 system, unlink 等 function call.
後續,我再教你們如何處理這類型的問題。
The text was updated successfully, but these errors were encountered: