elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Entrar al Canal Oficial Telegram de elhacker.net


  Mostrar Mensajes
Páginas: 1 ... 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 [1039] 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 ... 1236
10381  Programación / Scripting / Re: [RUBY] Shack v1.1 (ImagesHack Uploader) en: 19 Octubre 2012, 16:33 pm
NUEVA VERSIÓN 1.2 DISPONIBLE PARA DESCARGAR





Gracias lo he intentado instalar en un sistema de 32 bits y me dio error.

Al final cree un nuevo instalador para la ocasion, que en 32 bits me trabaja correctamente.
Tienes razón, no lo testeé en win x86, pero puedes usar este script que ya funciona bien:

PD: el InnoUnp omite muchos flags importantes y muchos valores al desempaquetar, pero veo que te has manejado bien con eso.

Código:
;ISHACK v1.2 By Elektro H@cker

[Setup]
AppName=ISHACK (ImagesHack Uploader)
AppVerName=ISHACK (ImagesHack Uploader) v1.2
AppVersion=v1.2
DefaultDirName={pf}\Elektro H@cker Software\ISHACK
DefaultGroupName=ISHACK (ImagesHack Uploader)
OutputBaseFilename=ISHACK
AlwaysShowComponentsList=false
DisableDirPage=true
DisableProgramGroupPage=true
DisableReadyPage=true
DisableStartupPrompt=true
FlatComponentsList=false
PrivilegesRequired=none
RestartIfNeededByRun=false
ShowLanguageDialog=no
Compression=lzma/ultra
InternalCompressLevel=ultra
SolidCompression=true
InfoBeforeFile=embedded\InfoBefore.txt
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp
ArchitecturesInstallIn64BitMode=x64
SetupIconFile=icono.ico
[Dirs]
Name: {pf}\Elektro H@cker Software\ISHACK

[Files]
Source: {sys}\ISHACK.exe; DestDir: {sys}
Source: {sys}\ISHACK.exe; DestDir: {syswow64}; Flags: noregerror
Source: {pf}\Elektro H@cker Software\ISHACK\ISHACK.ico; DestDir: {pf}\Elektro H@cker Software\ISHACK
Source: {userstartmenu}\CommandLine\ISHACK.bat; DestDir: {userstartmenu}\CommandLine

[Registry]
Root: HKCR; Subkey: SystemFileAssociations\.BMP\shell\SubiraImagesHack; ValueType: String; ValueData: Subir a ImagesHack; tasks: BMP; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.BMP\shell\SubiraImagesHack; ValueName: icon; ValueType: String; ValueData: {app}\ISHACK.ico; tasks: BMP; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.BMP\shell\SubiraImagesHack; ValueName: position; ValueType: String; ValueData: top; tasks: BMP; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.BMP\shell\SubiraImagesHack\command; ValueType: String; ValueData: "CMD /Q /k ""Title ISHACK: ""%1"" & Mode con cols=80 lines=6 & Echo+ & Echo: ""%1"" | MORE & (For /f ""tokens=* skip=15"" %%a in ('ISHACK.exe -d ""%1""') do (Echo %%a & title ""%1"")) & (Pause>NUL)"""; tasks: BMP; flags: uninsdeletekey

Root: HKCR; Subkey: SystemFileAssociations\.GIF\shell\SubiraImagesHack; ValueType: String; ValueData: Subir a ImagesHack; tasks: GIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.GIF\shell\SubiraImagesHack; ValueName: icon; ValueType: String; ValueData: {app}\ISHACK.ico; tasks: GIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.GIF\shell\SubiraImagesHack; ValueName: position; ValueType: String; ValueData: top; tasks: GIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.GIF\shell\SubiraImagesHack\command; ValueType: String; ValueData: "CMD /Q /k ""Title ISHACK: ""%1"" & Mode con cols=80 lines=6 & Echo+ & Echo: ""%1"" | MORE & (For /f ""tokens=* skip=15"" %%a in ('ISHACK.exe -d ""%1""') do (Echo %%a & title ""%1"")) & (Pause>NUL)"""; tasks: GIF; flags: uninsdeletekey

Root: HKCR; Subkey: SystemFileAssociations\.JPEG\shell\SubiraImagesHack; ValueType: String; ValueData: Subir a ImagesHack; tasks: JPG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.JPEG\shell\SubiraImagesHack; ValueName: icon; ValueType: String; ValueData: {app}\ISHACK.ico; tasks: JPG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.JPEG\shell\SubiraImagesHack; ValueName: position; ValueType: String; ValueData: top; tasks: JPG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.JPEG\shell\SubiraImagesHack\command; ValueType: String; ValueData: "CMD /Q /k ""Title ISHACK: ""%1"" & Mode con cols=80 lines=6 & Echo+ & Echo: ""%1"" | MORE & (For /f ""tokens=* skip=15"" %%a in ('ISHACK.exe -d ""%1""') do (Echo %%a & title ""%1"")) & (Pause>NUL)"""; tasks: JPG; flags: uninsdeletekey

Root: HKCR; Subkey: SystemFileAssociations\.JPG\shell\SubiraImagesHack; ValueType: String; ValueData: Subir a ImagesHack; tasks: JPG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.JPG\shell\SubiraImagesHack; ValueName: icon; ValueType: String; ValueData: {app}\ISHACK.ico; tasks: JPG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.JPG\shell\SubiraImagesHack; ValueName: position; ValueType: String; ValueData: top; tasks: JPG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.JPG\shell\SubiraImagesHack\command; ValueType: String; ValueData: "CMD /Q /k ""Title ISHACK: ""%1"" & Mode con cols=80 lines=6 & Echo+ & Echo: ""%1"" | MORE & (For /f ""tokens=* skip=15"" %%a in ('ISHACK.exe -d ""%1""') do (Echo %%a & title ""%1"")) & (Pause>NUL)"""; tasks: JPG; flags: uninsdeletekey

Root: HKCR; Subkey: SystemFileAssociations\.PNG\shell\SubiraImagesHack; ValueType: String; ValueData: Subir a ImagesHack; tasks: PNG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.PNG\shell\SubiraImagesHack; ValueName: icon; ValueType: String; ValueData: {app}\ISHACK.ico; tasks: PNG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.PNG\shell\SubiraImagesHack; ValueName: position; ValueType: String; ValueData: top; tasks: PNG; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.PNG\shell\SubiraImagesHack\command; ValueType: String; ValueData: "CMD /Q /k ""Title ISHACK: ""%1"" & Mode con cols=80 lines=6 & Echo+ & Echo: ""%1"" | MORE & (For /f ""tokens=* skip=15"" %%a in ('ISHACK.exe -d ""%1""') do (Echo %%a & title ""%1"")) & (Pause>NUL)"""; tasks: PNG; flags: uninsdeletekey

Root: HKCR; Subkey: SystemFileAssociations\.TIF\shell\SubiraImagesHack; ValueType: String; ValueData: Subir a ImagesHack; tasks: TIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.TIF\shell\SubiraImagesHack; ValueName: icon; ValueType: String; ValueData: {app}\ISHACK.ico; tasks: TIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.TIF\shell\SubiraImagesHack; ValueName: position; ValueType: String; ValueData: top; tasks: TIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.TIF\shell\SubiraImagesHack\command; ValueType: String; ValueData: "CMD /Q /k ""Title ISHACK: ""%1"" & Mode con cols=80 lines=6 & Echo+ & Echo: ""%1"" | MORE & (For /f ""tokens=* skip=15"" %%a in ('ISHACK.exe -d ""%1""') do (Echo %%a & title ""%1"")) & (Pause>NUL)"""; tasks: TIF; flags: uninsdeletekey

Root: HKCR; Subkey: SystemFileAssociations\.TIFF\shell\SubiraImagesHack; ValueType: String; ValueData: Subir a ImagesHack; tasks: TIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.TIFF\shell\SubiraImagesHack; ValueName: icon; ValueType: String; ValueData: {app}\ISHACK.ico; tasks: TIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.TIFF\shell\SubiraImagesHack; ValueName: position; ValueType: String; ValueData: top; tasks: TIF; flags: uninsdeletekey
Root: HKCR; Subkey: SystemFileAssociations\.TIFF\shell\SubiraImagesHack\command; ValueType: String; ValueData: "CMD /Q /k ""Title ISHACK: ""%1"" & Mode con cols=80 lines=6 & Echo+ & Echo: ""%1"" | MORE & (For /f ""tokens=* skip=15"" %%a in ('ISHACK.exe -d ""%1""') do (Echo %%a & title ""%1"")) & (Pause>NUL)"""; tasks: TIF; flags: uninsdeletekey

[Run]
Filename: {userstartmenu}\CommandLine\ISHACK.bat; Description: Ejecutar ISHACK; Flags: nowait postinstall skipifsilent shellexec unchecked
Filename: ISHACK.exe; Parameters: -c; Description: Configurar ISHACK; Flags: nowait postinstall skipifsilent shellexec

[Tasks]
Name: BMP; Description: .BMP; Groupdescription: "Opción en el menú contextual: ""Subir a ImagesHack"""
Name: GIF; Description: .GIF; Groupdescription: "Opción en el menú contextual: ""Subir a ImagesHack"""
Name: JPG; Description: .JPEG/JPG; Groupdescription: "Opción en el menú contextual: ""Subir a ImagesHack"""
Name: PNG; Description: .PNG; Groupdescription: "Opción en el menú contextual: ""Subir a ImagesHack"""
Name: TIF; Description: .TIF/TIFF; Groupdescription: "Opción en el menú contextual: ""Subir a ImagesHack"""


¿Se podria poner en el instalador la opcion de borrar el archivo de configuracion y ocultar un poco el nombre y el usuario, usando un cifrado seguro con un poco de salt?
Las dos peticiones me parecen innecesarias, ni que fuese un programa de seguridad, o algo xD

Pero he tomado bastante en cuenta tu segunda petición. Eso sí, no me he esmerado mucho con la cifrado, este tipo de programa no necesita más...

PD: En el post principal tienes la nueva versión, y nuevo instalador.
PD2: Gracias por las sugerencias

Saludos
10382  Sistemas Operativos / Windows / Re: Cambie mi SO xP a Win 7 y mis archivos que estaban en letra verde ya no los veo en: 19 Octubre 2012, 04:23 am
Prueba esto: http://exoshare.com/download.php?uid=GIVKBOQR
10383  Informática / Software / Re: ¿Arrancar un programa en vez del sistema operativo? en: 19 Octubre 2012, 03:45 am
Hombre, tienes un pc antiguo así que sería conveniente que instalases winXP por el tema del consumo de recursos del SO...

De todas formas ese mismo tutorial te sirve para ciertas cosas... solo tienes que cambiarle el nombre al "explorer.exe" por "explorer.bak", cambiarle el nombre "mame.exe" por "explorer.exe" y tachán!.

Para cambiar la imagen del boot puedes usar win7bootupdater -> http://www.coderforlife.com/projects/win7boot/extras/

Aparte, te recomiendo ALTAMENTE que uses el siguiente archivo BAT configurado por mi antes de hacer nada en ese Windows (esto es para Windows 7, no XP), ya que lo que menos necesitas es un consumo de recursos, y servicios y componentes de Windows innecesarios ya que solo quieres ejecutar el emulador...

Código:
@Echo OFF

Title Perfil de rendimiento por defecto (By Elektro H@cker^)


Echo+
Echo :: ########
Echo :: Hardware
Echo :: ########
Echo+

Echo [+] Aumentar la sensibilidad del Raton
REG ADD "HKCU\Control Panel\Mouse" /V "MouseSensitivity" /T "REG_SZ" /D "16" /F >NUL 2>&1

Echo [+] Desactivar el Sistema de cifrado de archivos EFS
fsutil behavior set disableencryption 1 >NUL 2>&1

Echo [+] Desactivar la creación automática de nombres cortos
fsutil behavior set Disable8dot3 1 >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V "NtfsDisable8dot3NameCreation" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Desactivar la marca de último acceso
fsutil behavior set DisableLastAccess 1 >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V "ntfsdisablelastaccessupdate" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Habilitar la desfragmentación de inicio
REG ADD "HKLM\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction" /V "Enable" /T "REG_SZ" /D "Y" /F >NUL 2>&1

Echo [+] Velocidad del cursor del teclado
REG ADD "HKCU\Control Panel\Desktop" /V "CursorBlinkRate" /T "REG_SZ" /D "200" /F >NUL 2>&1

Echo+
Echo :: #####
Echo :: REDES
Echo :: #####
Echo+

Echo [+] Desactivar la compartición automatica de redes
REG ADD "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /V "AutoShareWks" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\ControlSet001\services\LanmanServer\Parameters" /V "AutoShareWks" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\ControlSet002\services\LanmanServer\Parameters" /V "AutoShareWks" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Deshabilitar Cliente para redes Microsoft
netcfg /u ms_msclient >NUL 2>&1

Echo [+] Deshabilitar Controlador de E/S del asignador de deteccion de topologias
netcfg /u ms_lltdio >NUL 2>&1

Echo [+] Deshabilitar Compartir impresoras y archivos para redes Microft
netcfg /u ms_server >NUL 2>&1

Echo [+] Deshabilitar Filtro ligero de captura de NDIS
netcfg /u ms_ndiscap >NUL 2>&1

Echo [+] Deshabilitar NetBios Interface
netcfg /u ms_netbios >NUL 2>&1

Echo [+] Deshabilitar NetBios SMB
netcfg /u ms_smb >NUL 2>&1

Echo [+] Deshabilitar Programador de paquetes QoS
netcfg /u ms_pacer >NUL 2>&1

Echo [+] Deshabilitar Protocolo de Internet version 6 (TCPIP v6)
netcfg /u ms_tcpip6 >NUL 2>&1

Echo [+] Deshabilitar Respondedor de deteccion de topologias de nivel de vinculo
netcfg /u ms_rspndr >NUL 2>&1

Echo [+] Deshabilitar WFP Lightweight Filter
netcfg /u ms_wfplwf >NUL 2>&1

Echo [+] Deshabilitar la reserva de ancho de banda de QoS
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\PSched" /V "NonBestEffortLimit" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Usar las DNS de Google
For /F "Tokens=*" %%# in ('Reg query "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters\Interfaces"') do (
Reg ADD "%%#" /V "NameServer" /D "8.8.8.8,8.8.4.4" /F >NUL 2>&1
)

Echo+
Echo :: #######
Echo :: Windows
Echo :: #######
Echo+

Echo [+] Acelerar el apagado de Windows
REG ADD "HKCU\Control Panel\desktop" /V "AutoEndTasks" /T "REG_SZ" /D "1" /F >NUL 2>&1
REG ADD "HKCU\Control Panel\desktop" /V "HungAppTimeout" /T "REG_SZ" /D "11000" /F >NUL 2>&1
REG ADD "HKCU\Control Panel\desktop" /V "PowerOffActive" /T "REG_SZ" /D "1" /F >NUL 2>&1
REG ADD "HKCU\Control Panel\desktop" /V "WaitToKillAppTimeout" /T "REG_SZ" /D "11000" /F >NUL 2>&1
REG ADD "HKCU\Control Panel\desktop" /V "WaitToKillServiceTimeout" /T "REG_SZ" /D "11000" /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control" /V "WaitToKillServiceTimeout" /T "REG_SZ" /D "6000" /F >NUL 2>&1
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V "PowerdownAfterShutdown" /T "REG_SZ" /D "1" /F >NUL 2>&1
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V "ShutdownWithoutLogon" /T "REG_SZ" /D "1" /F >NUL 2>&1

Echo [+] Aumentar Cache de prelectura
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V "Max Cached Icons" /T "REG_SZ" /D "8000" /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V "ReadAheadThresold" /T "REG_BINARY" /D 0000000f /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V "NameCache" /T "REG_BINARY" /D 00ff0000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V "PathCache" /T "REG_BINARY" /D ff000000 /F >NUL 2>&1

Echo [+] Desactivar Archivo de paginacion
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /V "DisablePagingExecutive" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Desactivar envio de informe de errores a Microsoft
REG ADD "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /V "Disabled" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Desactivar la creacion del log si hay un error en el sistema
REG ADD "HKLM\system\ControlSet001\Control\CrashContro" /V "LogEvent" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Deshabilitar los contadores de rendimiento
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib" /V "Disable Performance Counters" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Deshabilitar SuperFecth
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /V "EnableSuperfetch" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /V "EnablePrefetcher" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters" /V "EnableSuperfetch" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters" /V "EnablePrefetcher" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\ControlSet002\Control\Session Manager\Memory Management\PrefetchParameters" /V "EnableSuperfetch" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\ControlSet002\Control\Session Manager\Memory Management\PrefetchParameters" /V "EnablePrefetcher" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Forzar la descarga de las DLL al salir de la aplicacion
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V "AlwaysUnloadDLL" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

TIMEOUT /T 5


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


@Echo OFF

Title Perfil de customizacion por defecto (By Elektro H@cker^)


Echo+
Echo :: ###############
Echo :: Barra de tareas
Echo :: ###############
Echo+

Echo [+] Desagrupar iconos del system tray
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /V "EnableAutoTray" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] No agrupar las instancias del mismo programa
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /V "TaskbarGlomLevel" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Ocultar la barra de Idioma
REG ADD "HKLM\Software\Microsoft\CTF\LangBar" /V "ShowStatus" /T "REG_DWORD" /D 0x00000003 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\CTF\LangBar" /V "ShowStatus" /T "REG_DWORD" /D 0x00000003 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\CTF\LangBar" /V "LABEL" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\CTF\MSUTB\DontShowCloseLangBarDlg" /V "LABEL" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo+
Echo :: :: ###
Echo :: :: CMD
Echo :: :: ###
Echo+

Echo [+] Fuente
REG ADD "HKCU\Console\%SystemRoot%_system32_cmd.exe" /V "FaceName" /T "REG_SZ" /D "Lucida Console" /F  >NUL 2>&1
REG ADD "HKCU\Console\%SystemRoot%_system32_cmd.exe" /V "FontSize" /T "REG_DWORD" /D 0x000c0000 /F  >NUL 2>&1
REG ADD "HKCU\Console\%SystemRoot%_system32_cmd.exe" /V "FontFamily" /T "REG_DWORD" /D 0x00000036 /F  >NUL 2>&1

Echo [+] Color de texto
REG ADD "HKCU\Console\%SystemRoot%_system32_cmd.exe" /V "ScreenColors" /T "REG_DWORD" /D 0x0000000a /F >NUL 2>&1

Echo [+] Capacidad del buffer
REG ADD "HKCU\Console\%SystemRoot%_system32_cmd.exe" /V "HistoryBufferSize" /T "REG_DWORD" /D 0x00000096 /F >NUL 2>&1
REG ADD "HKCU\Console\%SystemRoot%_system32_cmd.exe" /V "NumberOfHistoryBuffers" /T "REG_DWORD" /D 0x00000006 /F >NUL 2>&1

Echo [+] Modo de edicion rapida
REG ADD "HKCU\Console\%SystemRoot%_system32_cmd.exe" /V "QuickEdit" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo+
Echo :: ########
Echo :: Explorer
Echo :: ########
Echo+

Echo [+] Activar las casillas para seleccionar elementos
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "AutoCheckSelect" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Desactivar controladores de vista previa en el panel de vista previa
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ShowPreviewHandlers" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Desactivar el asistente para compartir en carpetas
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "SharingWizardOn" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Desactivar el panel de navegacion
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer" /V "PageSpaceControlSizer" /T "REG_BINARY" /D a000000000000000000000001c010000 /F >NUL 2>&1

Echo [+] Desactivar la carpeta Librerias
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /F >NUL 2>&1

Echo [+] Deshabilitar la busqueda automatica de carpetas compartidas y equipos de red
for /F "delims= " %%a in ('"wmic useraccount where name='%UserName%' get sid" ^| MORE +1') do (
reg add "HKEY_USERS\%%a\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NoNetCrawling" /T "REG_DWORD" /D "1" /F >NUL 2>&1
)

Echo [+] Mostrar archivos protegidos del sistema
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ShowSuperHidden" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Mostrar las extensiones de archivos
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "HideFileExt" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Ocultar menus en las carpetas
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "AlwaysShowMenus" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Ocultar unidades de disco vacias en la carpeta Equipo
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "HideDrivesWithNoMedia" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Ocultar este PC en el explorador de equipos de una PC remota
REG ADD "HKLM\SYSTEM\ControlSet001\services\LanmanServer\Parameters" /V "Hidden" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\ControlSet002\services\LanmanServer\Parameters" /V "Hidden" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1
REG ADD "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /V "Hidden" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo+
Echo :: ###########
Echo :: Menu inicio
Echo :: ###########
Echo+

Echo [+] Cantidad de programas recientes
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_MinMFU" /T "REG_DWORD" /D 0x00000014 /F >NUL 2>&1

Echo [+] Mostrar el boton Ejecutar
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowRun" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Mostrar el menu Descargas
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowDownloads" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Mostrar el menu Equipo
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowMyComputer" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Mostrar el menu Favoritos
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "StartMenuFavorites" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Mostrar el menu Imagenes
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowMyPics" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Mostrar el menu Juegos
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowMyGames" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Mostrar el menu Música
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowMyMusic" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Mostrar el menu Panel de control
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowControlPanel" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Mostrar el menu Videos
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowVideos" /T "REG_DWORD" /D 0x00000002 /F >NUL 2>&1

Echo [+] Ocultar el menu de Ayuda
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowHelp" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Ocultar el menu Programas determinados
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowSetProgramAccessAndDefaults" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Ocultar el menu Usuario
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "Start_ShowUser" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Tiempo de carga en mostrar un item del menu al pasar el mouse por encima
REG ADD "HKCU\Control Panel\Desktop" /V "MenuShowDelay" /T "REG_SZ" /D "50" /F >NUL 2>&1

Echo+
Echo :: #######
Echo :: Windows
Echo :: #######
Echo+

Echo [+] Activar Logon Background personalizado
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background" /V "OEMBackground" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Cantidad de scrolls de pagina al mover la rueda del raton
REG ADD "HKCU\Control Panel\Desktop" /V "WheelScrollChars" /T "REG_SZ" /D "10" /F >NUL 2>&1
REG ADD "HKCU\Control Panel\Desktop" /V "WheelScrollLines" /T "REG_SZ" /D "10" /F >NUL 2>&1

Echo [+] Capacidad de la papelera de reciclaje
for /F "tokens=*" %%a in ('Reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\Volume"') do (
reg add "%%a" /v "MaxCapacity" /T "REG_DWORD" /D "999999" /F >NUL 2>&1
)

Echo [+] Configuracion de la Reproduccion automática de dispositivos
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection" /V  "" /D "" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\AutorunINFLegacyArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\HandleBDBurningOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\HandleCDBurningOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\HandleDVDBurningOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\MixedContentOnArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayBluRayOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayCDAudioOnArrival" /V  "" /D "WinampPlayMediaOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayDVDAudioOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayDVDMovieOnArrival" /V  "" /D "DVDFab5OnDVDArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayEnhancedCDOnArrival" /V  "" /D "WinampPlayMediaOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayEnhancedDVDOnArrival" /V  "" /D "DVDFab5OnDVDArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayMusicFilesOnArrival" /V  "" /D "WinampPlayMediaOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlaySuperVideoCDMovieOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayVideoCDMovieOnArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayVideoFilesOnArrival" /V  "" /D "MPCPlayVideoFilesOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\ShowPicturesOnArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers" /V  "" /D "" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\AutorunINFLegacyArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\HandleBDBurningOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\HandleCDBurningOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\HandleDVDBurningOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\MixedContentOnArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayBluRayOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayCDAudioOnArrival" /V  "" /D "WinampPlayMediaOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayDVDAudioOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayDVDMovieOnArrival" /V  "" /D "DVDFab5OnDVDArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayEnhancedCDOnArrival" /V  "" /D "WinampPlayMediaOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayEnhancedDVDOnArrival" /V  "" /D "DVDFab5OnDVDArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayMusicFilesOnArrival" /V  "" /D "WinampPlayMediaOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlaySuperVideoCDMovieOnArrival" /V  "" /D "MSTakeNoAction" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayVideoCDMovieOnArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\PlayVideoFilesOnArrival" /V  "" /D "MPCPlayVideoFilesOnArrival" /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\ShowPicturesOnArrival" /V  "" /D "MSOpenFolder" /F >NUL 2>&1

Echo [+] Desactivar aviso de poco espacio en disco duro
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /V "NoLowDiskSpaceChecks" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Desactivar aviso de seguridad al abrir archivos
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /V "SaveZoneInformation" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /V "LowRiskFileTypes" /T "REG_SZ" /D ".avi;.bat;.com;.cmd;.exe;.htm;.html;.mpg;.mpeg;.mov;.mp3;.msi;.m3u;.rar;.reg;.txt;.vbs;.wav;.zip;.url;" /F >NUL 2>&1
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments" /V "SaveZoneInformation" /F >NUL 2>&1
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Associations" /V "LowRiskFileTypes" /F >NUL 2>&1

Echo [+] Desactivar la organizacion de la ventana al moverla al borde de la pantalla
REG ADD "HKCU\Control Panel\Desktop" /V "WindowArrangementActive" /T "REG_SZ" /D "0" /F >NUL 2>&1

Echo [+] Desactivar UAC
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "ConsentPromptBehaviorAdmin" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "EnableLUA" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

Echo [+] Desactivar Windows Flip3D
for /F "delims= " %%a in ('"wmic useraccount where name='%UserName%' get sid" ^| MORE +1') do (
reg add "HKEY_USERS\%%a\Software\Policies\Microsoft\Windows\DWM" /v "DisallowFlip3D" /T "REG_DWORD" /D "1" /F >NUL 2>&1
)

Echo [+] Deshabilitar Cliente de impresion en internet
dism /online /disable-feature /featurename:"Printing-Foundation-InternetPrinting-Client" /quiet /norestart >NUL

Echo [+] Deshabilitar Fax y escaner de Windows
dism /online /disable-feature /featurename:"FaxServicesClientPackage" /quiet /norestart >NUL

Echo [+] Deshabilitar Internet Explorer
dism /online /disable-feature /featurename:"Internet-Explorer-Optional-amd64" /quiet /norestart >NUL

Echo [+] Deshabilitar Juegos de Windows
dism /online /disable-feature /featurename:"InboxGames" /quiet /norestart >NUL
dism /online /disable-feature /featurename:"More Games" /quiet /norestart >NUL
dism /online /disable-feature /featurename:"Internet Games" /quiet /norestart >NUL

Echo [+] Deshabilitar Monitor de puerto de LPR
dism /online /disable-feature /featurename:"Printing-Foundation-LPRPortMonitor" /quiet /norestart >NUL

Echo [+] Deshabilitar Servicios XPS
dism /online /disable-feature /featurename:"Printing-XPSServices-Features" /quiet /norestart >NUL

Echo [+] Deshabilitar Tablet PC
dism /online /disable-feature /featurename:"TabletPCOC" /quiet /norestart >NUL

Echo [+] Deshabilitar Visor de XPS
dism /online /disable-feature /featurename:"Xps-Foundation-Xps-Viewer" /quiet /norestart >NUL

Echo [+] Deshabilitar Windows media center
dism /online /disable-feature /featurename:"MediaCenter" /quiet /norestart >NUL

Echo [+] Eliminar el sufijo  ACCESO DIRECTO de los nuevos accesos directos
Reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "link" /T "REG_BINARY" /D "00 00 00" /F >NUL 2>&1
Reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "link" /T "REG_BINARY" /D "00 00 00" /F >NUL 2>&1
REM for /F "delims= " %%a in ('"wmic useraccount where name='%UserName%' get sid" ^| MORE +1') do (
REM Reg add "HKEY_USERS\%%a\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "link" /T "REG_BINARY" /D "00 00 00" /F >NUL 2>&1
REM )

Echo [+] Mostrar el puntero del raton al presionar la tecla "control"
REG ADD "HKCU\Control Panel\Desktop" /V "UserPreferencesMask" /T "REG_BINARY" /D 9e7e068012000000 /F >NUL 2>&1

Echo [+] Mostrar la letra de la unidad a la izquierda
for /F "delims= " %%a in ('"wmic useraccount where name='%UserName%' get sid" ^| MORE +1') do (
reg add "HKEY_USERS\%%a\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowDriveLettersFirst" /T "REG_DWORD" /D "4" /F >NUL 2>&1
)

Echo [+] Restaurar las carpetas abiertas al reiniciar Windows
for /F "delims= " %%a in ('"wmic useraccount where name='%UserName%' get sid" ^| MORE +1') do (
REG ADD "HKEY_USERS\%%a\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "PersistBrowsers" /T "REG_DWORD" /D "1" /F >NUL 2>&1
)

Echo [+] Ocultar la Papelera de reciclaje del escritorio
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /V "{645FF040-5081-101B-9F08-00AA002F954E}" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /V "{645FF040-5081-101B-9F08-00AA002F954E}" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Tamano de la lista del panel de control
REG ADD "HKEY_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\StartupPage" /V "StartupPage" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo [+] Tamano de las miniaturas de las vistas previas de la barra de tareas
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "MaxThumbSizePx" /T "REG_DWORD" /D 0x00000190 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "MinThumbSizePx" /T "REG_DWORD" /D 0x000000c8 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "ThumbSpacingXPx" /T "REG_DWORD" /D 0x00000005 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "ThumbSpacingYPx" /T "REG_DWORD" /D 0x00000005 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "TopMarginPx" /T "REG_DWORD" /D 0x00000005 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "BottomMarginPx" /T "REG_DWORD" /D 0x00000005 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "LeftMarginPx" /T "REG_DWORD" /D 0x00000005 /F >NUL 2>&1
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /V "RightMarginPx" /T "REG_DWORD" /D 0x00000005 /F >NUL 2>&1

TIMEOUT /T 5


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


Title otros ajustes...

ECHO: [+] Deshabilitando componentes: [Cliente de impresion en internet]...
dism /online /disable-feature /featurename:"Printing-Foundation-InternetPrinting-Client" /quiet /norestart >NUL 2>&1


ECHO: [+] Deshabilitando componentes: [Fax y scaner de Windows]...
dism /online /disable-feature /featurename:"FaxServicesClientPackage" /quiet /norestart >NUL 2>&1


ECHO: [+] Deshabilitando componentes: [Internet Explorer]...
dism /online /disable-feature /featurename:"Internet-Explorer-Optional-amd64" /quiet /norestart >NUL 2>&1


ECHO: [+] Deshabilitando componentes: [Juegos de Windows]...
dism /online /disable-feature /featurename:"InboxGames" /quiet /norestart >NUL 2>&1
dism /online /disable-feature /featurename:"More Games" /quiet /norestart >NUL 2>&1
dism /online /disable-feature /featurename:"Internet Games" /quiet /norestart >NUL 2>&1


ECHO: [+] Deshabilitando componentes: [Puerto LPR]...
dism /online /disable-feature /featurename:"Printing-Foundation-LPRPortMonitor" /quiet /norestart >NUL 2>&1


ECHO: [+] Deshabilitando componentes: [Servicios XPS]...
dism /online /disable-feature /featurename:"Printing-XPSServices-Features" /quiet /norestart >NUL 2>&1
dism /online /disable-feature /featurename:"Xps-Foundation-Xps-Viewer" /quiet /norestart >NUL 2>&1


ECHO: [+] Deshabilitando componentes: [Tablet PC]...
dism /online /disable-feature /featurename:"TabletPCOC" /quiet /norestart >NUL 2>&1


ECHO: [+] Deshabilitando componentes: [Windows Media Center]...
dism /online /disable-feature /featurename:"MediaCenter" /quiet /norestart >NUL 2>&1


ECHO: [+] Buscando y eliminando copias de seguridad de Service Pack 1...
DISM /online /cleanup-image /spsuperseded /hidesp >NUL 2>&1


ECHO: [+] Elimimando programas que se inician con Windows. ("HKCU\...\Windows\CurrentVersion\Run"^)
REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /F >NUL 2>&1
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /F >NUL 2>&1


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::



@ECHO OFF

Title Servicios por defecto (by Elektro Hcker^)


CALL :AUTOMATICO "Administrador de cuentas de seguridad" "samss"
CALL :AUTOMATICO "Administrador de sesion del administrador de ventanas de escritorio" "uxsms"
CALL :AUTOMATICO "Aplicacion del sistema COM" "comsysapp"
CALL :AUTOMATICO "Audio de Windows" "audioSrv"
CALL :AUTOMATICO "Cliente de directiva de grupo" "gpsvc"
CALL :AUTOMATICO "Cliente DHCP" "dhcp"
CALL :AUTOMATICO "Compilador de extremo de audio de Windows" "audioendpointbuilder"
CALL :AUTOMATICO "Conexion compartida a internet" "sharedaccess"
CALL :AUTOMATICO "Conexiones de Red" "netman"
CALL :AUTOMATICO "Configuracion automatica de redes cableadas" "dot3svc"
CALL :AUTOMATICO "Deteccion de hardware shell" "shellhwdetection"
CALL :AUTOMATICO "Energia" "power"
CALL :AUTOMATICO "Experiencia con aplicaciones" "aelookupsvc"
CALL :AUTOMATICO "Firewall de Windows" "mpssvc"
CALL :AUTOMATICO "Iniciador de procesos de servidor DCOM" "dcomlaunch"
CALL :AUTOMATICO "Instalador de ActiveX" "axinstsv"
CALL :AUTOMATICO "Instrumental de administracion de Windows" "winmgmt"
CALL :AUTOMATICO "Llamada a procedimiento remoto RPC" "rpcss"
CALL :AUTOMATICO "Motor de filtrado de base" "bfe"
CALL :AUTOMATICO "Plug and Play" "plugplay"
CALL :AUTOMATICO "Programador de aplicaciones multimedia" "mmcss"
CALL :AUTOMATICO "Programador de tareas" "schedule"
CALL :AUTOMATICO "Proteccion de software" "sppsvc"
CALL :AUTOMATICO "Reconocimiento de ubicacion red" "nlasvc"
CALL :AUTOMATICO "Servicio de compatibilidad con Bluetooth" "bthserv"
CALL :AUTOMATICO "Servicio de directivas de diagnostico" "dps"
CALL :AUTOMATICO "Servicio de lista de redes" "netprofm"
CALL :AUTOMATICO "Servicio de perfil de usuario" "profsvc"
CALL :AUTOMATICO "Servicio de transferencia inteligente en segundo plano BITS" "bits"
CALL :AUTOMATICO "Servicio interfaz de almacenamiento en red" "nsi"
CALL :AUTOMATICO "Sistema de cifrado de archivos EFS" "EFS"
CALL :AUTOMATICO "Sistema de eventos COM" "eventsystem"
CALL :AUTOMATICO "Temas" "themes"
CALL :AUTOMATICO "Windows Driver Foundation" "wudfsvc"
CALL :AUTOMATICO "Windows installer" "msiserver"

CALL :DESACTIVAR "Acceso a dispositivos de interfaz humana" "hidserv"
CALL :DESACTIVAR "Adaptador de rendimiento WMI" "wmiApSrv"
CALL :DESACTIVAR "Administracion de certificados y claves de mantenimiento" "hkmsvc"
CALL :DESACTIVAR "Administracion de identidad de redes de mismo nivel" "p2pimsvc"
CALL :DESACTIVAR "Administracion remota de windows" "WinRM"
CALL :DESACTIVAR "Administrador de credenciales" "VaultSvc"
CALL :DESACTIVAR "Administrador de Google Desktop" "googledesktopmanager-051210-111108"
CALL :DESACTIVAR "Adquisicion de im genes de Windows" "stisvc"
CALL :DESACTIVAR "Agente de directiva IPsec" "PolicyAgent"
CALL :DESACTIVAR "Agente de proteccion de acceso a redes" "napagent"
CALL :DESACTIVAR "Agrupacion de red del mismo nivel" "p2psvc"
CALL :DESACTIVAR "Aislamiento de claves CNG" "KeyIso"
CALL :DESACTIVAR "Almacenamiento protegido" "ProtectedStorage"
CALL :DESACTIVAR "aplicacion auxiliar de NetBIOS sobre TCP-IP" "lmhosts"
CALL :DESACTIVAR "Aplicacion auxiliar IP" "iphlpsvc"
CALL :DESACTIVAR "ASP.NET state service" "aspnet_state"
CALL :DESACTIVAR "Brillo adaptable" "sensrsvc"
CALL :DESACTIVAR "Captura SMNP" "SNMPTRAP"
CALL :DESACTIVAR "Centro de seguridad" "wscsvc"
CALL :DESACTIVAR "Cliente de seguimiento de vinculos distribuidos" "Trkwks"
CALL :DESACTIVAR "Cliente DNS" "Dnscache"
CALL :DESACTIVAR "Cliente Web" "WebClient"
CALL :DESACTIVAR "Cola de impresion" "spooler"
CALL :DESACTIVAR "Configuracion automatica de WLAN" "Wlansvc"
CALL :DESACTIVAR "Configuracion automatica de WWAN" "WwanSvc"
CALL :DESACTIVAR "Configuracion de Escritorio remoto" "SessionEnv"
CALL :DESACTIVAR "Control parental" "WPCSvc"
CALL :DESACTIVAR "Coordinador de transacciones distribuidas" "MSDTC"
CALL :DESACTIVAR "Copias de seguridad de Windows" "SDRSVC"
CALL :DESACTIVAR "Creative Audio Engine Licensing Service" "Creative Audio Engine Licensing Service"
CALL :DESACTIVAR "Creative Audio Service" "ctaudsvcservice"
CALL :DESACTIVAR "Desfragmentador" "defragsvc"
CALL :DESACTIVAR "Deteccion de servicios interactivos" "UI0Detect"
CALL :DESACTIVAR "Deteccion SSDP" "SSDPSRV"
CALL :DESACTIVAR "Detecci¢n de topologias de nivel de vinculo" "lltdsvc"
CALL :DESACTIVAR "Directiva de extraccion de tarjetas inteligentes" "SCPolicySvc"
CALL :DESACTIVAR "Disco virtual" "vds"
CALL :DESACTIVAR "Dispositivo host de UPnP" "upnphost"
CALL :DESACTIVAR "DLL de host del Contador de rendimiento" "perfhost"
CALL :DESACTIVAR "Enumerador de bus IP PnPX" "IPBusEnum"
CALL :DESACTIVAR "Escucha del grupo en el hogar" "HomeGroupListener"
CALL :DESACTIVAR "Estacion de trabajo" "LanmanWorkstation"
CALL :DESACTIVAR "Examinador de equipos" "Browser"
CALL :DESACTIVAR "Experiencia de calidad de audio y video de windows (qWave)" "QWAVE"
CALL :DESACTIVAR "Fax" "Fax"
CALL :DESACTIVAR "Hora de Windows" "W32Time"
CALL :DESACTIVAR "Host de proveedor de deteccion de funcion" "fdPHost"
CALL :DESACTIVAR "Host de sistema de diagnostico" "wdisystemhost"
CALL :DESACTIVAR "Host del servicio de diagnostico" "wdiservicehost"
CALL :DESACTIVAR "Identidad de la aplicacion" "AppIDSvc"
CALL :DESACTIVAR "Inicio de sesion secundario" "seclogon"
CALL :DESACTIVAR "Instantaneas de volumen" "VSS"
CALL :DESACTIVAR "KTMRM para DTC" "KtmRm"
CALL :DESACTIVAR "Modulos de creacion de claves de IPsec para IKE y AuthIP" "IKEEXT"
CALL :DESACTIVAR "Net Logon" "Netlogon"
CALL :DESACTIVAR "nProtect GameGuard" "npggsvc"
CALL :DESACTIVAR "Nvidia driver 3D Estereoscopico" "Stereo Service"
CALL :DESACTIVAR "nVidia Performance service" "ntuneservice"
CALL :DESACTIVAR "Propagacion de certificados" "CertPropSvc"
CALL :DESACTIVAR "Protocolo de autenticacion extensible" "EapHost"
CALL :DESACTIVAR "Protocolo de resolucion de nombres de mismo nivel" "PNRPsvc"
CALL :DESACTIVAR "Proveedor de grupos en el hogar" "HomeGroupProvider"
CALL :DESACTIVAR "Proveedor de instantaneas de software de Microsoft" "swprv"
CALL :DESACTIVAR "Publicacion de recurso de deteccion de funcion" "FDResPub"
CALL :DESACTIVAR "Recopilador de eventos de Windows" "Wecsvc"
CALL :DESACTIVAR "Registrador de configuracion de Windows Connet Now" "wcncsvc"
CALL :DESACTIVAR "Registro de eventos de Windows" "eventlog"
CALL :DESACTIVAR "Registro remoto" "RemoteRegistry"
CALL :DESACTIVAR "Registros y alertas de rendimiento" "pla"
CALL :DESACTIVAR "Servicio biometrico de Windows" "WbioSrvc"
CALL :DESACTIVAR "Servicio cifrado de unidad BitLocker" "BDESVC"
CALL :DESACTIVAR "Servicio de cache de fuentes de Windows" "fontcache"
CALL :DESACTIVAR "Servicio de compatibilidad de programas" "pcasvc"
CALL :DESACTIVAR "Servicio de deteccion automatica de proxy web WinHTTP" "winhttpautoproxysvc"
CALL :DESACTIVAR "Servicio de informe de errores de Windows" "WerSvc"
CALL :DESACTIVAR "Servicio de notificacion de eventos de sistema" "SENS"
CALL :DESACTIVAR "Servicio de notificacion de SSP" "sppuinotify"
CALL :DESACTIVAR "Servicio de protocolo de tunel de sockets seguros" "SstpSvc"
CALL :DESACTIVAR "Servicio de publicacion de nombres de equipo PNRP" "PNRPAutoReg"
CALL :DESACTIVAR "Servicio de puerta de enlace de nivel de aplicacion" "ALG"
CALL :DESACTIVAR "Servicio de uso compartido de puertos NET.TCP" "nettcpportsharing"
CALL :DESACTIVAR "Servicio de uso compartido de red del reproductor de Windows Media" "WMPNetworkSvc"
CALL :DESACTIVAR "Servicio del iniciador iSCSI de Microsoft" "MSiSCSI"
CALL :DESACTIVAR "Servicio del modulo de copia de seguridad a nivel de bloque" "wbengine"
CALL :DESACTIVAR "Servicio enumerador de dispositivos portatiles" "WPDBusEnum"
CALL :DESACTIVAR "Servicio programador de Windows media Center" "ehSched"
CALL :DESACTIVAR "Servicio receptor de Windows Media Center" "ehRecvr"
CALL :DESACTIVAR "Servicios de base TPM" "TBS"
CALL :DESACTIVAR "Servicios de cifrado" "cryptsvc"
CALL :DESACTIVAR "Servicios de Escritorio remoto" "TermService"
CALL :DESACTIVAR "Servidor de orden de subprocesos" "THREADORDER"
CALL :DESACTIVAR "Servidor" "LanmanServer"
CALL :DESACTIVAR "Sistema de color de Windows" "wcspluginservice"
CALL :DESACTIVAR "Superfetch" "SysMain"
CALL :DESACTIVAR "Tablet PC" "TabletInputService"
CALL :DESACTIVAR "Tarjeta inteligente" "SCardSvr"
CALL :DESACTIVAR "Ubicador de llamada a procedimiento remoto (RPC)" "RpcLocator"
CALL :DESACTIVAR "Windows CardSpace" "idsvc"
CALL :DESACTIVAR "Windows Defender" "WinDefend"
CALL :DESACTIVAR "Windows presentation foundation font cache" "fontcache3.0.0.0"
CALL :DESACTIVAR "Windows Search" "WSearch"
CALL :DESACTIVAR "Windows Update" "wuauserv"

CALL :MANUAL     "Administrador de conexion automatica de acceso remoto" "RasAuto"
CALL :MANUAL     "Administrador de conexion de acceso remoto" "RasMan"
CALL :MANUAL     "Enrutamiento y acceso remoto" "Remoteaccess"
CALL :MANUAL     "Informacion de la aplicacion" "Appinfo"
CALL :MANUAL     "Instalador de modulos de Windows" "TrustedInstaller"
CALL :MANUAL     "NVIDIA Display Driver Service" "nvsvc"
CALL :MANUAL     "Servicio de notificacion SPP" "sppuinotify"
CALL :MANUAL     "Steam" "Steam"
CALL :MANUAL     "Telefonia" "TapiSrv"


REM AJUSTES DE ÚLTIMA HORA PARA EMULAR MAME
CALL :DESACTIVAR "Cliente DHCP" "dhcp"
CALL :DESACTIVAR "Conexion compartida a internet" "sharedaccess"
CALL :DESACTIVAR "Conexiones de Red" "netman"
CALL :DESACTIVAR "Configuracion automatica de redes cableadas" "dot3svc"
CALL :DESACTIVAR "Deteccion de hardware shell" "shellhwdetection"
CALL :DESACTIVAR "Firewall de Windows" "mpssvc"
CALL :DESACTIVAR "Instalador de ActiveX" "axinstsv"
CALL :DESACTIVAR "Motor de filtrado de base" "bfe"
CALL :DESACTIVAR "Plug and Play" "plugplay"
CALL :DESACTIVAR "Programador de tareas" "schedule"
CALL :DESACTIVAR "Proteccion de software" "sppsvc"
CALL :DESACTIVAR "Reconocimiento de ubicacion red" "nlasvc"
CALL :DESACTIVAR "Servicio de directivas de diagnostico" "dps"
CALL :DESACTIVAR "Servicio de lista de redes" "netprofm"
CALL :DESACTIVAR "Servicio de transferencia inteligente en segundo plano BITS" "bits"
CALL :DESACTIVAR "Servicio interfaz de almacenamiento en red" "nsi"
CALL :DESACTIVAR "Sistema de cifrado de archivos EFS" "EFS"
CALL :DESACTIVAR "Temas" "themes"
CALL :DESACTIVAR "Windows Driver Foundation" "wudfsvc"
CALL :DESACTIVAR "Windows installer" "msiserver"
CALL :DESACTIVAR "Administrador de conexion automatica de acceso remoto" "RasAuto"
CALL :DESACTIVAR "Administrador de conexion de acceso remoto" "RasMan"
CALL :DESACTIVAR "Enrutamiento y acceso remoto" "Remoteaccess"
CALL :DESACTIVAR "Informacion de la aplicacion" "Appinfo"
CALL :DESACTIVAR "Instalador de modulos de Windows" "TrustedInstaller"
CALL :DESACTIVAR "NVIDIA Display Driver Service" "nvsvc"
CALL :DESACTIVAR "Servicio de notificacion SPP" "sppuinotify"
CALL :DESACTIVAR "Steam" "Steam"
CALL :DESACTIVAR "Telefonia" "TapiSrv"



ECHO [ - ] userAccountControl (UAC^)
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "EnableLUA" /T "REG_DWORD" /D 0x00000000 /F >NUL 2>&1

ECHO [ - ] Windows Error Reporting
REG ADD "HKCU\Software\Policies\Microsoft\Windows\Windows Error Reporting" /V "Disabled" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /V "Disabled" /T "REG_DWORD" /D 0x00000001 /F >NUL 2>&1

Echo FIN!
Timeout /T 5
Exit

:AUTOMATICO
Echo [ + ] %~1
SC CONFIG "%~1" start= auto >NUL 2>&1
SC START  "%~2"             >NUL 2>&1
GOTO:EOF

:DESACTIVAR
Echo [ - ] %~1
SC CONFIG "%~1" start= disabled >NUL 2>&1
SC STOP   "%~2"                 >NUL 2>&1
GOTO:EOF

:MANUAL
Echo [   ] %~1
SC CONFIG "%~1" start= demand >NUL 2>&1
SC START  "%~2"               >NUL 2>&1
GOTO:EOF





PD: Quizás te interese esto -> [Batch] [Mini-Aporte] MAME Panel (Una tool para el emulador MAME)

10384  Sistemas Operativos / Windows / Re: Cambie mi SO xP a Win 7 y mis archivos que estaban en letra verde ya no los veo en: 19 Octubre 2012, 02:54 am
andrshesse en el post que te he ofrecido además de una guía, tienes esos 2 códigos que agregan unos "botones" al menú contextual para obtener permisos de admin pinchando click derecho sobre la carpeta o el archivo...

Supongo que te refieres a esos códigos, pues esos códigos tienes que guardarlos como "archivo.REG" y luego los ejecutas.

un saludo
10385  Sistemas Operativos / Windows / Re: Cambie mi SO xP a Win 7 y mis archivos que estaban en letra verde ya no los veo en: 18 Octubre 2012, 17:08 pm
Puedes usar el botón "buscar" del foro...
Re: Guía: Permisos o privilegios de cuentas de usuarios en Windows 7



Saludos.
10386  Programación / Scripting / Re: [BATCH] Ayuda para generar listas con impresoras en: 18 Octubre 2012, 09:51 am
claro te estás comiendo un token, solo estás mostrando el token "4", prueba así:

Código
  1. FOR /F "tokens=3,*" %%a in ('cscript prnmngr.vbs -l ^| find "Nombre de impresora"') DO (echo %%b)

saludos
10387  Informática / Software / Re: Quiero link de hydra Bruteforce en: 18 Octubre 2012, 05:00 am
Puedes descargar el source en la página oficial (y compilarlo con cygwin): http://www.thc.org/thc-hydra/

PD: última versión compilada: http://0xa.li/files/hydra-7.3-windows.zip

Saludos
10388  Programación / Scripting / Re: [APORTE] [BATCH] Shack (Imageshack Uploader) en: 18 Octubre 2012, 04:34 am
El enlace esta muerto.

Alquien lo sube compilado???

Gracias por avisar...

Me he animado a hacer una nueva versión mejorada, pásate por aquí: [RUBY] Shack v1.1 (ImagesHack Uploader)
10389  Programación / Scripting / [RUBY] [WINDOWS] IShack v1.4 (ImagesHack Uploader) ...(24/10/2012) en: 18 Octubre 2012, 04:32 am
ISHACK v1.4
An Imageshack commandline uploader.

By Elektro H@cker.








Modo de empleo:
Código:
 IShack (Opciones) (Archivo)


Ejemplos:
Código:

IShack -d Imagen.jpg
(Devuelve el enlace directo de la imagen)

IShack -d "C:\Imagen1.bmp" "C:\Imagen2.jpg" "C:\Imagen3.png"
(Devuelve el enlace directo de varias imagenes)

IShack --private -b -h "C:\Imagen.jpg"
(Marca la imagen como privada, y devuelve el enlace BB y HTML de la imagen)

IShack --resize 640x480 -d Imagen1.jpg Imagen2.bmp
(Redimensiona las imagenes a XxY y devuelve el enlace directo)

IShack --config
(Muestra el menú de configuración de cuenta de acceso)
.


Opciones:
Código:
-d  --direct
    Devuelve el enlace directo de la imagen.

-t  --thumb
    Devuelve el enlace directo de la miniatura de la imagen.

-b  --bbcode
     Devuelve el enlace de la imagen en formato BB.

-bt --bbcodethumb
     Devuelve el enlace de la imagen con miniatura en formato BB.

-h  --html
     Devuelve el enlace de la imagen en formato HTML.

-ht --htmlthumb
     Devuelve el enlace de la imagen con miniatura en formato HTML.

-i --imageshack
     Devuelve el enlace web de la imagen en imageshack.

-y  --yfrog
     Devuelve el enlace web de la imagen en YFrog.

-yt  --yfrogthumb
     Devuelve el enlace de la miniatura de la imagen en YFrog.

-a  --all
     Devuelve el enlace de la imagen en todos los formatos.

-p  --private
     Marca la imagen como privada.

-r  --resize
     Redimensiona la imagen.

-c  --config
     Establece los datos de acceso a una cuenta de ImagesHack.

/?   Muestra esta ayuda.






Cambios en la versión 1.4
  • El script ahora comprueba si el usuario/pass existe en Imageshack.
  • Añadida una opción para redimensionar la imagen subida.
  • Eliminada la opción para marcar la imagen como "pública", pues era innecesaria.
  • Añadido un switch alternativo ("-p") para la opción "--private".

Cambios en la versión 1.3
 Corregido un error de última hora en los switches yes/no de la privacidad de la imagen, estaban al revés xD.

Cambios en la versión 1.2

  • Un cambio de nombre, ahora es ISHACK      ...xD
  • El programa ahora acepta más de una opción de formato al mismo tiempo
           (Antes solo se podía usar uno de los parámetros, ahora se pueden elegir los formatos deseados)

  • Se puede subir más de un archivo simultaneamente.
  • Opcion añadida para poder marcar la imagen como pública o privada
  • Más opciones de formato añadidas pudiendo obtener los siguientes enlaces:
           bb code thumbnail
            html thumbnail
            imageshack web
            yfrog web
            yfrog web thumbnail

  • Se genera automáticamente un código de miniaturas aunque Imageshack no cree la miniatura.
  • Los datos de acceso de la cuenta de ImagesHack se almacenan (cifrados) en el registro de Windows.
  • Pequeños cambios internos en el código, se ha simplificado y mejorado un poco dentro de lo que me ha sido posible. (No soy un PRO de Ruby :P)

 ERRORES CORREGIDOS:
  • Si la imagen es demasiado pequeña ImagesHack no devuelve una miniatura pero ya no da error.
  • Corregida la información de los formatos compatibles (ICO no es soportado por Imageshack)

Cambios en la versión 1.1

  • Se puede configurar para subir las imagenes anónimamente o a una cuenta
  • Se comprueba si la imagen se subió correctamente
  • La obtención de la imagen en BB code link se ha modificado quitandole el tag [ URL ]
  • El código del script se ha simplificado y mejorado un poco...



DESCARGAS:

SHACK.exe (El script compilado, nada más): http://exoshare.com/download.php?uid=RR0ZEMGX

SHACK.exe (Instalador personalizado para windows que añade opciones al menú contextual...): http://exoshare.com/download.php?uid=1PPR9PPT





ISHACK.rb (v 1.4):
Código
  1. # -*- coding: UTF-8 -*-
  2.  
  3.  
  4. require 'rest_client'
  5. require 'openssl'
  6. require 'win32/registry'
  7.  
  8.  
  9. exit if Object.const_defined?(:Ocra)
  10.  
  11.  
  12. $formats = ""
  13. $files   = ""
  14.  
  15.  
  16. def logo()
  17.  print "
  18.  @    @@                          
  19.      @  @  @    *             *    
  20.  @   @     @  *    @@@  * @@@   @   @ *
  21. *@    @  * @     *    @  @ * @  @  @
  22.  @   * @   @ @@       @  @      @ @
  23.  @*     @  @@ *@   @@@@  @  *   @@  *
  24.  @  @ * @  @   @  @ * @  @      @ @
  25. *@  @  @   @   @  @   @  @ * @  @* @
  26.  @   @@    @ * @   @@@@   @@@   @   @
  27.  
  28.                                v1.4
  29.                                By Elektro H@cker\n"
  30. end
  31.  
  32.  
  33. def help()
  34. print '
  35. [Modo de empleo]
  36.  
  37. IShack (Opciones) (Archivo)
  38.  
  39.  
  40.  
  41. [Ejemplos]
  42.  
  43. [+] IShack -d Imagen.jpg
  44.     Devuelve el enlace directo de la imagen.
  45.  
  46. [+] IShack -d "C:\Imagen1.bmp" "C:\Imagen2.jpg" "C:\Imagen3.png"
  47.     Devuelve el enlace directo de varias imagenes.
  48.  
  49. [+] IShack --private -b -h "C:\Imagen.jpg"
  50.     Marca la imagen como privada, y devuelve el enlace BB y HTML de la imagen.
  51.  
  52. [+] IShack --resize 640x480 -d Imagen1.jpg Imagen2.bmp
  53.     Redimensiona las imagenes a XxY y devuelve el enlace directo.
  54.  
  55. [+] IShack --config
  56.     Muestra el menú de configuración de cuenta de acceso.
  57.  
  58.  
  59.  
  60. [Opciones]
  61.  
  62.  -d  --direct
  63.      Devuelve el enlace directo de la imagen.
  64.  
  65.  -t  --thumb
  66.      Devuelve el enlace directo de la miniatura de la imagen.
  67.  
  68.  -b  --bbcode
  69.       Devuelve el enlace de la imagen en formato BB.
  70.  
  71.  -bt --bbcodethumb
  72.       Devuelve el enlace de la imagen con miniatura en formato BB.
  73.  
  74.  -h  --html
  75.       Devuelve el enlace de la imagen en formato HTML.
  76.  
  77.  -ht --htmlthumb
  78.       Devuelve el enlace de la imagen con miniatura en formato HTML.
  79.  
  80.  -i --imageshack
  81.       Devuelve el enlace web de la imagen en imageshack.
  82.  
  83.  -y  --yfrog
  84.       Devuelve el enlace web de la imagen en YFrog.
  85.  
  86.  -yt  --yfrogthumb
  87.       Devuelve el enlace de la miniatura de la imagen en YFrog.
  88.  
  89.  -a  --all
  90.       Devuelve el enlace de la imagen en todos los formatos.
  91.  
  92.  -p  --private
  93.       Marca la imagen como privada.
  94.  
  95.  -r  --resize
  96.       Redimensiona la imagen.
  97.  
  98.  -c  --config
  99.       Establece los datos de acceso a una cuenta de ImagesHack.
  100.  
  101.  /?   Muestra esta ayuda.
  102.  
  103. '
  104. Process.exit
  105. end
  106.  
  107.  
  108. def arguments()
  109.  
  110.  # empty arguments
  111.  if (ARGV.empty?) then help() end
  112.  
  113.  ARGV.each do |arg|
  114.  
  115.  # /?
  116.    if arg == "/?" then help() end
  117.  
  118.  # -c --config
  119.    if arg =~ /-c\z/i or arg =~ /--config\z/i then configure() end
  120.  
  121.  # private
  122.    if arg =~ /-p\z/i or arg =~ /--private\z/i then $privacity = "no" end
  123.  
  124.  # -d --direct
  125.    if arg =~ /-d\z/i or arg =~ /--direct\z/i then $formats=$formats + "\n-d" end
  126.  
  127.  # -t --thumb
  128.    if arg =~ /-t\z/i or arg =~ /--thumb\z/i  then $formats=$formats + "\n-t" end
  129.  
  130.  # -b --bbcode
  131.    if arg =~ /-b\z/i or arg =~ /--bbcode\z/i then $formats=$formats + "\n-b" end
  132.  
  133.  # -bt --bbcodethumb
  134.    if arg =~ /-bt\z/i or arg =~ /--bbcodethumb\z/i then $formats=$formats + "\n-bt" end
  135.  
  136.  # -h --html
  137.    if arg =~ /-h\z/i or arg =~ /--html\z/i then $formats=$formats + "\n-h" end
  138.  
  139.  # -ht --htmlthumb
  140.    if arg =~ /-ht\z/i or arg =~ /--htmlthumb\z/i then $formats=$formats + "\n-ht" end
  141.  
  142.  # -i --imageshack
  143.    if arg =~ /-i\z/i or arg =~ /--imageshack\z/i then $formats=$formats + "\n-i" end
  144.  
  145.  # -y --yfrog
  146.    if arg =~ /-y\z/i or arg =~ /--yfrog\z/i then $formats=$formats + "\n-y" end
  147.  
  148.  # -yt --yfrogthumb
  149.    if arg =~ /-yt\z/i or arg =~ /--yfrogthumb\z/i then $formats=$formats + "\n-yt" end
  150.  
  151.  # -a --all
  152.    if arg =~ /-a\z/i or arg =~ /--all\z/i then $formats="\n-d"+"\n-t"+"\n-b"+"\n-bt"+"\n-h"+"\n-ht"+"\n-i"+"\n-y"+"\n-yt" end
  153.  
  154.  # -r --resize
  155. if arg =~ /-r\z/i or arg =~ /--resize\z/i
  156. $resize_switch = "1"
  157. $resize_size   = ARGV.to_s.split('"'+arg+'", "').last.split('"').first
  158. if not $resize_size[/^[0-9]{1,5}[x][0-9]{1,5}$/i]
  159. print "  [+] ERROR\n\n      La resolución \"#{$resize_size}\" no es correcta...\n"
  160. Process.exit
  161. end
  162. elsif arg =~ /-r\z/i or arg =~ /--resize\z/i
  163. $resize_switch = "0"
  164.    print "hola"
  165.    sleep 3
  166. end
  167.  
  168.  # files to upload
  169.    if arg[/.bmp\z/i] or arg[/.gif\z/i] or arg[/.jpg\z/i] or arg[/.jpeg\z/i] or arg[/.png\z/i] or arg[/.tif\z/i] or arg[/.tiff\z/i]
  170.      if File.exist?(arg)
  171.        $files=$files + arg + "\n"
  172.      elsif
  173.        print "  [+] ERROR\n\n      La imagen #{arg} no existe...\n"
  174.        Process.exit
  175.      end
  176.    end
  177.  end # ARGV.each
  178.  
  179.  # empty options
  180.  if $formats == ""
  181.    print "  [+] ERROR\n\n      Opción incorrecta...\n"
  182.    Process.exit
  183.  end
  184.  
  185. end
  186.  
  187.  
  188. def configure()
  189. $profile = "error id"
  190.    print "\n Puede configurar su cuenta de acceso de ImagesHack para subir las imagenes...\n\n"
  191.  
  192.   until not $profile["error id"]
  193.     print " [+] Escriba su nombre de usuario: "
  194.   $user=STDIN.gets
  195.   if $user == "\n" then $user="guest\n" end
  196.  
  197.   print " [+] Escriba su password: "
  198.   $pass=STDIN.gets
  199.   if $pass == "\n" then $pass="guest\n" end
  200.  
  201.   $profile = RestClient.post('http://imageshack.us/auth.php',
  202.   :username => $user.gsub("\n",""),
  203.   :password => $pass.gsub("\n",""),
  204.   :format => "xml"
  205.   )
  206.  
  207.   if $profile["error id"] and not $user+$pass=="guest\nguest\n"
  208.   print "\n [+] ERROR\n\n     El nombre de usuario o contraseña son incorrectos.\n\n"
  209.   elsif $user=="guest\n" and $pass=="guest\n"
  210.   $profile="guest"
  211.   end
  212.   end # until
  213.   userencrypted=cifrar($user, "DES-EDE3-CBC")
  214.   passencrypted=cifrar($pass, "DES-EDE3-CBC")
  215.   regwrite("USER", userencrypted)
  216.   regwrite("PASS", passencrypted)
  217.   puts "\n Datos configurados, vuelva a ejecutar el programa..."
  218.   Process.exit
  219. end
  220.  
  221.  
  222. def cifrar(datos, cifrado)
  223.  encrypt = OpenSSL::Cipher::Cipher.new(cifrado)
  224.  encrypt.encrypt
  225.  encrypt.update(datos) + encrypt.final      
  226. end
  227.  
  228.  
  229. def descifrar(datos, cifrado)
  230.  decrypt = OpenSSL::Cipher::Cipher.new(cifrado)
  231.  decrypt.decrypt
  232.  decrypt.update(datos) + decrypt.final
  233. end
  234.  
  235.  
  236. def regwrite(keyname, value)
  237.  Win32::Registry::HKEY_CURRENT_USER.create("SOFTWARE\\IShack\\") do |reg|
  238.    reg[keyname, Win32::Registry::REG_SZ] = value
  239.  end
  240. end
  241.  
  242.  
  243. def regread(keyname)
  244.  Win32::Registry::HKEY_CURRENT_USER.open("SOFTWARE\\IShack\\") do |reg|
  245.    reg[keyname]
  246.  end
  247. end
  248.  
  249.  
  250. def subir(file)
  251.  print "\n [ Subiendo la imagen #{file}... ]\n\n"
  252.  
  253.  begin
  254.    $Imagen = RestClient.post('http://www.imageshack.us/upload_api.php',
  255.    :a_username => $user,
  256.    :a_password => $pass,
  257.    :key        => "268BEKSV9465b858a45cd1b4d2b32d1195ee6f27",
  258.    :public     => $privacity,
  259.    :fileupload => File.new(file),
  260.    :optimage   => $resize_switch,
  261.    :optsize    => $resize_size)
  262.  rescue
  263.    print ' [+] ERROR
  264.  
  265.     El error puede ser debido a uno de los siguientes motivos:
  266.  
  267.     - La página esté offline.
  268.     - El tamaño de la imagen supere los 10 MB.
  269.     - Haya superado el límite de 500 imagenes hospedadas en su cuenta.
  270.    '
  271.  Process.exit
  272.  end # exception
  273. end
  274.  
  275.  
  276. def show()
  277.  if $Imagen["http://www.imageshack.us/thumbnail."] then $thumbs="no" end
  278.  $nothumb = ' ImagesHack no creó ninguna miniatura. (La imagen es demasiado pequeña)' + "\n"
  279.  
  280.  direct = $Imagen.split("<image_link>").last.split("</image_link>").first.to_s
  281.  thumb  = $Imagen.split("<thumb_link>").last.split("</thumb_link>").first
  282.  b      = "[IMG]"+$Imagen.split("<image_bb>").last.split("</image_bb>").first.split("[IMG]").last.split("[/IMG]").first+"[/IMG]"
  283.  bt     = $Imagen.split("<thumb_bb>").last.split("</thumb_bb>").first
  284.  h      = $Imagen.split("<image_html>").last.split("</image_html>").first.gsub("&gt;", ">").gsub("&lt;", "<").gsub("&quot;", "\"")
  285.  ht     = $Imagen.split("<thumb_html>").last.split("</thumb_html>").first.gsub("&gt;", ">").gsub("&lt;", "<").gsub("&quot;", "\"")
  286.  i      = $Imagen.split("<is_link>").last.split("</is_link>").first
  287.  y      = $Imagen.split("<yfrog_link>").last.split("</yfrog_link>").first
  288.  yt     = $Imagen.split("<yfrog_thumb>").last.split("</yfrog_thumb>").first
  289.  
  290.  $formats.each_line do |link|
  291.    if link.gsub("\n","") == "-d" then print " [+] DIRECTO:\n\n" + direct + "\n\n" end
  292.  
  293.    if link.gsub("\n","") == "-t"
  294.      print " [+] MINIATURA:\n\n"
  295.      if $thumbs=="no"
  296.        print $nothumb + "\n" + direct + "\n\n"
  297.      elsif
  298.        print thumb + "\n\n"
  299.      end
  300.    end # thumbail
  301.  
  302.    if link.gsub("\n","") == "-b"  then print " [+] BB CODE:\n\n" + b + "\n\n" end
  303.  
  304.    if link.gsub("\n","") == "-bt"
  305.      print " [+] BB CODE MINIATURA:\n\n"
  306.      if $thumbs=="no"
  307.        print $nothumb + "\n" + "[URL="+direct+"][IMG]"+direct+"[/IMG][/URL]"+"\n\n"
  308.      elsif
  309.        print bt + "\n\n"
  310.      end
  311.    end # bb thumbnail
  312.  
  313.    if link.gsub("\n","") == "-h"  then print " [+] HTML:\n\n" + h + "\n\n" end
  314.  
  315.    if link.gsub("\n","") == "-ht"
  316.      print " [+] HTML MINIATURA:\n\n"
  317.      if $thumbs=="no"
  318.        print $nothumb + "\n" + '<a href="' + direct + '" target="_blank"><img src="' + direct + '" alt="Imagen subida con IShack v1.4 (By Elektro H@cker)" border="0"/></a>'+"\n\n"
  319.      elsif
  320.        print ht + "\n\n"
  321.      end
  322.    end # ht thumbnail
  323.  
  324.    if link.gsub("\n","") == "-i"  then print " [+] IMAGESHACK:\n\n" + i + "\n\n" end
  325.    if link.gsub("\n","") == "-y"  then print " [+] YFROG:\n\n" + y + "\n\n" end
  326.    if link.gsub("\n","") == "-yt" then print " [+] YFROG MINIATURA:\n\n" + yt + "\n\n" end
  327.  end # |link|
  328. end
  329.  
  330.  
  331.  
  332. logo()
  333. arguments()
  334.  
  335. begin
  336.  $user=regread("USER")
  337.  $pass=regread("PASS")
  338.  $user=descifrar($user, "DES-EDE3-CBC").gsub("\n","")
  339.  $pass=descifrar($pass, "DES-EDE3-CBC").gsub("\n","")
  340. rescue
  341.  $user="guest"
  342.  $pass="guest"
  343. end
  344. $files.each_line do |file|
  345.  subir(file.gsub("\n",""))
  346.  show()
  347. end
  348.  
  349.  
  350. __END__
  351.  
  352.  
10390  Programación / Scripting / Re: [BATCH] Ayuda para generar listas con impresoras en: 17 Octubre 2012, 22:41 pm
El listado de impresoras se como sacarlo, de la siguente manera.
Código:
cscript prnmngr.vbs -l | find "Nombre de impresora"
por cada impresora (que se saca del comando anterior) cree una opcion

No dispongo de ese archivo VBS, si puedes poner el output completo quizás puedo ayudarte a hacer el for "a ojo"...

se puede generar set dentro de for??
si
deberia hacer un enableextension o disableenableextensions???
Código:
Setlocal enabledelayedexpansion
aunque hay otras formas.

saludos
Páginas: 1 ... 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 [1039] 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 ... 1236
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines