Deleting all temp files
Chrome caches & history
* More faster than ccleaner 😉
Sorry about my english .. I hope you guys like it 😉
Chrome caches & history
* More faster than ccleaner 😉
PHP Code
<?php
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import threading
import platform
import shutil
#Coding by B3mB4m
#[email protected]
#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()
Sorry about my english .. I hope you guys like it 😉


![[Image: iYHV73Q.jpg]](https://i.imgur.com/iYHV73Q.jpg)