[Tutor] Feature or ... after python 2.7

source liu sourceonly at gmail.com
Tue Jan 24 21:55:30 EST 2017


Hi,list

Yesterday, someone hacked in my server and running some bad thing ,  but I
do find something interesting


After I inspected processes,  I found if you are using python version above
2.7. (2.7.16 if I remembered it correctly),  one could run python script
with perl

$cat test.py
#!/bin/env python
print "I am python"


$perl test.py
I am python



But it would fail if you tried to use python2.6(which go with rhel6.8)



really interesting


More information about the Tutor mailing list