6 ms·
exec('sudo cat /etc/shadow') => RestrictedCodeException System Calls disabled Also, while File.read('/etc/passwd') works, at least File.read('/etc/shadow') doe
by jevans 14y ago
exec('sudo cat /etc/shadow')
=> RestrictedCodeException System Calls disabled
Also, while File.read('/etc/passwd') works, at least File.read('/etc/shadow') doesn't.