Skip to content

Commit

Permalink
fix clearing of screen
Browse files Browse the repository at this point in the history
  • Loading branch information
cheetz committed Jan 31, 2015
1 parent 0e93216 commit f39a332
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions easy_p.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@

print "PowerShell/WMI Generator"
def clear():
try:
sp.call('cls',shell=True)
except:
sp.call('clear',shell=True)
tos.system('cls' if os.name == 'nt' else 'clear')
def powershell_encode(data):
#https://github.com/darkoperator/powershell_scripts/blob/master/ps_encoder.py
#Carlos - aka Darkoperator wrote the code below:
Expand Down

0 comments on commit f39a332

Please sign in to comment.