Execute system commands in python2
#!/usr/bin/python
import os
os.system('cat /etc/passwd')
--------------------------------------------------------------------------------------------------------
#!/usr/bin/python
import os
os.system('cat /etc/passwd')
--------------------------------------------------------------------------------------------------------
No comments:
Post a Comment