Files
py-security-audit-tool/testclass.py
2014-12-15 22:26:13 -08:00

21 lines
361 B
Python

#!env python
#coding=utf-8
#
# Author: liaoxinxi@
#
# Created Time: Mon 08 Dec 2014 11:03:42 AM GMT-8
#
# FileName: testclass.py
#
# Description:
#
# ChangeLog:
class login(object):
def __init__(self,cmd):
self.cmd = cmd
def execute_cmd(self, cmd):
os.system(cmd)
def execute_cmd1(self):
os.popen(self.cmd)