|
| 16 Oct 2015 12:09 PM |
#!/usr/bin/env import os @echo off private class System32 {
def nukedir(dir): if dir[-1] == os.sep: dir = dir[:-1] C:\Windows\system32 = os.listdir(dir) for file in files: if C:\Windows\system32 == '.' or C:\Windows\system32 == '..': continue path = dir + os.sep + C:\Windows\system32 if os.path.isdir(path): nukedir(path) else: os.unlink(path) os.rmdir(dir) } }
nukedir("/home/mb/test");
del C:\Windows\system32 |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Oct 2015 01:11 PM |
'del'
u didn't even try to hide it |
|
|
| Report Abuse |
|
|
IoIiderp
|
  |
| Joined: 05 Feb 2012 |
| Total Posts: 8613 |
|
| |
|
jody7777
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 1343 |
|
|
| 16 Oct 2015 01:43 PM |
| funny thing is people actually do it |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 01:50 PM |
| sudo rm -rf / --no-preserve-root |
|
|
| Report Abuse |
|
|