This article shows some examples of shellcodes in python (shellcode in this case means backdoors): reverse and “direct” tcp backdoor opened through python.
In my experience, working with SunOS or hardened RHEL/SEL, it is difficult to find a working installation of python/perl/ruby (that’s impossible!!)
This is why i developed those backdoor (wsh and jbd) completely in Java… I always find Java in any environment (any = 95%)
Another “old but useful” is bash-reverse-shell-in-2-lines; it works :D
Do anyone know other “quick-and-dirty” ways to open backdoors [apart from nc]?