Romania- Posted August 9, 2014 Report Posted August 9, 2014 * Deleting all temp files* Chrome caches & history * More faster than ccleaner Oui#!/usr/bin/python# -*- coding: utf-8 -*-import osimport threadingimport platformimport shutil#Coding by B3mB4m#b3mb4m@gmail.com #Tested on XP SP3 def temp(): klasor = "C:\\DOCUME~1\\"+platform.node()+"\\LOCALS~1\\Temp\\" for i in os.listdir(klasor): dosya = os.path.join(klasor,i) #Temp dosyalar?n? s?f?rla if os.path.isfile(dosya): try: os.remove(klasor+i) print "[+]Removed File " + i except: pass elif os.path.isdir(dosya): try: shutil.rmtree(klasor+i) print '[+] Removed Folder ' + i except: pass def chrome(): #Cache(önbellek) dosyalar?n? temizle klasor = "C:\\Documents and Settings\\"+platform.node()+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data\\Default\\Cache\\" klasor2 = "C:\\Documents and Settings\\"+platform.node()+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data\\Default\\Local Storage\\" klasor3 = "C:\\Documents and Settings\\"+platform.node()+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data\\Default\\Media Cache\\" klasor4 = "C:\\Documents and Settings\\"+platform.node()+"\\Local Settings\\Application Data\\Google\\Chrome\\User Data\\Default\\" for i in os.listdir(klasor): dosya = os.path.join(klasor,i) if os.path.isfile(dosya): try: os.remove(klasor+i) print "[+] Chrome Cache File Deleted " + i except: pass #Yerel Depolama (Local Storage) dosyalar?n? temizle for i in os.listdir(klasor2): dosya = os.path.join(klasor2,i) if os.path.isfile(dosya): try: os.remove(klasor2+i) print "[+] Chrome Local Strage File Deleted " + i except: pass #Media Cache(önbellek) dosyalar?n? temizle for i in os.listdir(klasor3): dosya = os.path.join(klasor3,i) if os.path.isfile(dosya): try: os.remove(klasor3+i) print "[+] Chrome Media Cache File Deleted " + i except: pass #?nternet geçmi?i temizle for i in os.listdir(klasor4): dosya = os.path.join(klasor4,i) if os.path.isfile(dosya): try: if "Archived History" == i: os.remove(klasor4+i) print "[+] Chrome History File Deleted " + i elif "Current Tabs" == i: os.remove(klasor4+i) print "[+] Chrome History File Deleted " + i elif "History Provider Cache" == i: os.remove(klasor4+i) print "[+] Chrome History File Deleted " + i elif "Last Tabs" == i: os.remove(klasor4+i) print "[+] Chrome History File Deleted " + i elif "Network Action Predictor" == i: os.remove(klasor4+i) print "[+] Chrome History File Deleted " + i elif "Top Sites" == i: os.remove(klasor4+i) print "[+] Chrome History File Deleted " + i elif "Visited Links" == i: os.remove(klasor4+i) print "[+] Chrome History File Deleted " + i except: pass temp = threading.Thread(name='temp', target=temp)chrome = threading.Thread(name='chrome', target=chrome)temp.run()chrome.run() Quote
Romania- Posted August 9, 2014 Author Report Posted August 9, 2014 @tqcsu , si daca copiez de pe HF ce ? Nu am voie ! ? meriti warn pentru +1 Quote
Sir-Galahad Posted August 9, 2014 Report Posted August 9, 2014 @Romania-Ce ai zice daca am copia toti programe si chestii de pe HF sau forumuri BlackHat si le-am posta aici? Ai mai intelege ceva din forumul asta sau ar fi un posthunting total? Quote