Pages

Subscribe:

[PY] G4H// Anti-Intruders System Cleaner ver 0.1

Simple release 
 

Code:
#!/usr/bin/env python
from pickle import *
from struct import *
from _winreg import *
print "\n"
print "\n\t##################################################"
print "\t# #"
print "\t# #"
print "\t#G4H// Anti-Intruders System Cleaner ver 0.1 #"
print "\t# #"
print "\t# Silic0n@ G4H//Anti-Intruders #"
print "\t# #"
print "\t##################################################"
print "\n"
print "\n[*] you can use this script for the Systems with the following properties"
print "\n [+] Task Manager Disabled"
print "\n [+] Registry Disabled"
print "\n [+] Hidden Drives"
print "\nTask-Manager Enabled"
path = HKEY_CURRENT_USER
path_t = "Software\Microsoft\Windows\CurrentVersion\Policies\System"
hKey = OpenKey(path,path_t,0,KEY_READ|KEY_SET_VALUE)
SetValueEx(hKey,"DisableTaskMgr",0,REG_DWORD,0)
print "\nFixing the Hidden Drivers problem"
# HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version \ Policies\Explorer
path = HKEY_CURRENT_USER
path_t = "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
hKey = OpenKey(path,path_t,0,KEY_READ|KEY_SET_VALUE)
SetValueEx(hKey,"NoDrive",0,REG_DWORD,0)
# HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
print "\nfixing the access to registry editor tools"
path = HKEY_CURRENT_USER
path_t = "Software\Microsoft\Windows\CurrentVersion\Policies\System"
hKey = OpenKey(path,path_t,0,KEY_READ|KEY_SET_VALUE)
SetValueEx(hKey,"DisableRegistryTools",0,REG_DWORD,0)
path = HKEY_CURRENT_USER
print "\nFixing the Folder Option Disabled Problem"
path_t = "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
hKey = OpenKey(path,path_t,0,KEY_READ|KEY_SET_VALUE)
SetValueEx(hKey,"NoFolderOptions",0,REG_DWORD,0)
DeleteValue(hKey,"NoFolderOptions")