shell bypass 403
GrazzMean Shell
: /proc/self/root/proc/self/root/usr/local/python-3.10/lib/python3.10/test/test_asyncio/ [ drwxr-xr-x ]
import os
if __name__ == '__main__':
while True:
buf = os.read(0, 1024)
if not buf:
break
try:
os.write(1, b'OUT:'+buf)
except OSError as ex:
os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))