diff --git a/.gambas/AUTHENTICATE b/.gambas/AUTHENTICATE index 791dbed..bb78e3f 100644 Binary files a/.gambas/AUTHENTICATE and b/.gambas/AUTHENTICATE differ diff --git a/.gambas/CERF b/.gambas/CERF index 9737636..68cd857 100644 Binary files a/.gambas/CERF and b/.gambas/CERF differ diff --git a/.gambas/CLAMSCAN b/.gambas/CLAMSCAN index 4e7b58a..33df464 100644 Binary files a/.gambas/CLAMSCAN and b/.gambas/CLAMSCAN differ diff --git a/.gambas/FMAIN b/.gambas/FMAIN index 1be2ed2..203ff9d 100644 Binary files a/.gambas/FMAIN and b/.gambas/FMAIN differ diff --git a/.gambas/FRMABOUT b/.gambas/FRMABOUT index 72ff845..b38658a 100644 Binary files a/.gambas/FRMABOUT and b/.gambas/FRMABOUT differ diff --git a/.gambas/MODULE1 b/.gambas/MODULE1 index 439e629..a677541 100644 Binary files a/.gambas/MODULE1 and b/.gambas/MODULE1 differ diff --git a/.hidden/CHANGELOG b/.hidden/CHANGELOG index 882b9d6..b79b8aa 100644 --- a/.hidden/CHANGELOG +++ b/.hidden/CHANGELOG @@ -1,3 +1,9 @@ +* Sat Aug 17 2024 The Nerdy Apprentice 1.2.93 +- Corrección en la función para buscar actualizaciones +- Corrección al mostrar la versión del programa +- Corrección de paquete de instalación para Debian +- Instalador para Arch + * Fri Mar 04 2022 The Nerdy Apprentice 1.1.92 - Corregido problema de inicio diff --git a/.lang/#project.pot b/.lang/#project.pot index 158097e..3475321 100644 --- a/.lang/#project.pot +++ b/.lang/#project.pot @@ -4,8 +4,8 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: ClamScanGui 3.16.2\n" -"POT-Creation-Date: 2022-03-04 21:53 UTC\n" +"Project-Id-Version: ClamScanGui 3.19.3\n" +"POT-Creation-Date: 2024-08-17 19:26 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/.lang/.pot b/.lang/.pot index 15193c8..b9066d6 100644 --- a/.lang/.pot +++ b/.lang/.pot @@ -3,67 +3,67 @@ msgid "" msgstr "" "#-#-#-#-# Authenticate.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# Cerf.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# ClamScan.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# FMain.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# frmAbout.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# FrmGeneral.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# FrmSoumission.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# frmUpdate.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# Impr1.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "#-#-#-#-# Module1.pot ($(PACKAGE) $(VERSION)) #-#-#-#-#\n" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"#-#-#-#-# #project.pot (ClamScanGui 3.16.2) #-#-#-#-#\n" -"Project-Id-Version: ClamScanGui 3.16.2\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"#-#-#-#-# #project.pot (ClamScanGui 3.19.3) #-#-#-#-#\n" +"Project-Id-Version: ClamScanGui 3.19.3\n" +"POT-Creation-Date: 2024-08-17 19:26 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -162,357 +162,357 @@ msgstr "" msgid " Escaneo realizado : " msgstr "" -#: FMain.form:152 +#: FMain.form:151 msgid "// ClamAV GUI //" msgstr "" -#: FMain.form:160 +#: FMain.form:158 msgid "Opciones" msgstr "" -#: FMain.form:163 +#: FMain.form:161 msgid "Grabación de sesiones" msgstr "" -#: FMain.form:168 +#: FMain.form:166 msgid "--quiet" msgstr "" -#: FMain.form:175 +#: FMain.form:173 msgid "--infected" msgstr "" -#: FMain.form:182 +#: FMain.form:180 msgid "--no-summary" msgstr "" -#: FMain.form:189 +#: FMain.form:187 msgid "--suppress-ok-results" msgstr "" -#: FMain.form:196 +#: FMain.form:194 msgid "--bell" msgstr "" -#: FMain.form:203 +#: FMain.form:201 msgid "--verbose" msgstr "" -#: FMain.form:210 +#: FMain.form:208 msgid "--archive-verbose" msgstr "" -#: FMain.form:217 +#: FMain.form:215 msgid "--debug" msgstr "" -#: FMain.form:224 +#: FMain.form:222 msgid "--gen-json" msgstr "" -#: FMain.form:234 +#: FMain.form:232 msgid "Limitaciones (con precaución)" msgstr "" -#: FMain.form:242 +#: FMain.form:240 msgid "Salir" msgstr "" -#: FMain.form:248 +#: FMain.form:246 msgid "Opciones Avanzadas" msgstr "" -#: FMain.form:251 +#: FMain.form:249 msgid "Actualización de la base de datos" msgstr "" -#: FMain.form:255 +#: FMain.form:253 msgid "Ver Log Freshclam" msgstr "" -#: FMain.form:264 +#: FMain.form:262 msgid "Actualización automática" msgstr "" -#: FMain.form:272 +#: FMain.form:270 msgid "Actualización manual" msgstr "" -#: FMain.form:281 +#: FMain.form:279 msgid "Actualización inmediata" msgstr "" -#: FMain.form:290 +#: FMain.form:288 msgid "Opciones no marcadas por defecto" msgstr "" -#: FMain.form:295 +#: FMain.form:293 msgid "--allmatch[=yes/no(*)]" msgstr "" -#: FMain.form:302 +#: FMain.form:300 msgid "--detect-pua[=yes/no(*)]" msgstr "" -#: FMain.form:309 +#: FMain.form:307 msgid "--detect-structured[=yes/no(*)]" msgstr "" -#: FMain.form:316 +#: FMain.form:314 msgid "--partition-intersection[=yes/no(*)]" msgstr "" -#: FMain.form:323 +#: FMain.form:321 msgid "--heuristic-scan-precedence[=yes/no*]" msgstr "" -#: FMain.form:331 +#: FMain.form:329 msgid "--phishing-ssl[=yes/no*]" msgstr "" -#: FMain.form:339 +#: FMain.form:337 msgid "--phishing-cloak[=yes/no*]" msgstr "" -#: FMain.form:347 +#: FMain.form:345 msgid "--detect-broken[=yes/no*]" msgstr "" -#: FMain.form:355 +#: FMain.form:353 msgid "--block-macros[=yes/no*]" msgstr "" -#: FMain.form:366 +#: FMain.form:364 msgid "--remove[=yes/no(*)] ( ¡Atención! )" msgstr "" -#: FMain.form:373 +#: FMain.form:371 msgid "--move=CUARENTENA" msgstr "" -#: FMain.form:383 +#: FMain.form:381 msgid "--recursive[=yes/no(*)]" msgstr "" -#: FMain.form:393 +#: FMain.form:391 msgid "Opciones marcadas por defecto" msgstr "" -#: FMain.form:398 +#: FMain.form:396 msgid "--cross-fs[=yes(*)/no]" msgstr "" -#: FMain.form:405 +#: FMain.form:403 msgid "--scan-hwp3[=yes(*)/no]" msgstr "" -#: FMain.form:412 +#: FMain.form:410 msgid "--scan-html[=yes(*)/no]" msgstr "" -#: FMain.form:419 +#: FMain.form:417 msgid "--scan-swf[=yes(*)/no]" msgstr "" -#: FMain.form:426 +#: FMain.form:424 msgid "--scan-pdf[=yes(*)/no]" msgstr "" -#: FMain.form:433 +#: FMain.form:431 msgid "--scan-pe[=yes(*)/no]" msgstr "" -#: FMain.form:440 +#: FMain.form:438 msgid "--scan-elf[=yes(*)/no]" msgstr "" -#: FMain.form:447 +#: FMain.form:445 msgid "--scan-ole2[=yes(*)/no]" msgstr "" -#: FMain.form:454 +#: FMain.form:452 msgid "--scan-archive[=yes(*)/no]" msgstr "" -#: FMain.form:461 +#: FMain.form:459 msgid "--scan-mail[=yes(*)/no]" msgstr "" -#: FMain.form:468 +#: FMain.form:466 msgid "--algorithmic-detection[=yes(*)/no]" msgstr "" -#: FMain.form:475 +#: FMain.form:473 msgid "--phishing-sigs[=yes(*)/no]" msgstr "" -#: FMain.form:482 +#: FMain.form:480 msgid "--phishing-scan-urls[=yes(*)/no]" msgstr "" -#: FMain.form:489 +#: FMain.form:487 msgid "--bytecode[=yes(*)/no]" msgstr "" -#: FMain.form:498 +#: FMain.form:496 msgid "Acciones" msgstr "" -#: FMain.form:501 FrmGeneral.form:84 +#: FMain.form:499 FrmGeneral.form:84 msgid "Cuarentena" msgstr "" -#: FMain.form:506 +#: FMain.form:504 msgid "Archivos potencialmente infectados" msgstr "" -#: FMain.form:514 +#: FMain.form:512 msgid "Lectura del Log" msgstr "" -#: FMain.form:519 +#: FMain.form:517 msgid "Historial de lectura" msgstr "" -#: FMain.form:527 +#: FMain.form:525 msgid "Idiomas" msgstr "" -#: FMain.form:532 +#: FMain.form:530 msgid "Español" msgstr "" -#: FMain.form:539 +#: FMain.form:537 msgid "francés" msgstr "" -#: FMain.form:546 +#: FMain.form:544 msgid "Inglés" msgstr "" -#: FMain.form:553 +#: FMain.form:551 msgid "alemán" msgstr "" -#: FMain.form:560 +#: FMain.form:558 msgid "italiano" msgstr "" -#: FMain.form:567 +#: FMain.form:565 msgid "portugués" msgstr "" -#: FMain.form:574 +#: FMain.form:572 msgid "ruso" msgstr "" -#: FMain.form:584 +#: FMain.form:582 msgid "Ver clamav.log" msgstr "" -#: FMain.form:589 +#: FMain.form:587 msgid "Ver clamav-milter.log" msgstr "" -#: FMain.form:597 +#: FMain.form:595 msgid "Archivos de configuración" msgstr "" -#: FMain.form:602 +#: FMain.form:600 msgid "Clamd.conf" msgstr "" -#: FMain.form:610 +#: FMain.form:608 msgid "Freshclam.conf" msgstr "" -#: FMain.form:617 +#: FMain.form:615 msgid "milter.conf" msgstr "" -#: FMain.form:624 +#: FMain.form:622 msgid "Ejemplos de configuraciones" msgstr "" -#: FMain.form:629 +#: FMain.form:627 msgid "clamd.conf" msgstr "" -#: FMain.form:637 +#: FMain.form:635 msgid "freshclam.conf" msgstr "" -#: FMain.form:654 +#: FMain.form:652 msgid "Sonidos" msgstr "" -#: FMain.form:663 +#: FMain.form:661 msgid "Lynis" msgstr "" -#: FMain.form:669 +#: FMain.form:667 msgid "Tiger" msgstr "" -#: FMain.form:676 +#: FMain.form:674 msgid "?" msgstr "" -#: FMain.form:679 frmAbout.form:15 +#: FMain.form:677 frmAbout.form:15 msgid "Acerca de" msgstr "" -#: FMain.form:684 +#: FMain.form:682 msgid "Ayuda" msgstr "" -#: FMain.form:689 +#: FMain.form:687 msgid "ClamScanGui actualizaciónes" msgstr "" -#: FMain.form:703 +#: FMain.form:701 msgid "Analizar un Archivo" msgstr "" -#: FMain.form:713 +#: FMain.form:711 msgid "Analizar Directorios" msgstr "" -#: FMain.form:733 +#: FMain.form:731 msgid "Salida del escaneo" msgstr "" -#: FMain.form:774 +#: FMain.form:772 msgid "¡Mata el proceso en curso!" msgstr "" -#: FMain.form:781 +#: FMain.form:779 msgid "¡Ejecute el proceso!" msgstr "" -#: FMain.form:788 +#: FMain.form:786 msgid "Salida de texto claro" msgstr "" -#: FMain.form:795 +#: FMain.form:793 msgid "Sudo" msgstr "" -#: FMain.form:802 +#: FMain.form:800 msgid "" "Verde = sin cuarentena automática\n" "Rojo = cuarentena automática" msgstr "" -#: FMain.form:808 +#: FMain.form:806 msgid "Presentación" msgstr "" -#: FMain.form:815 +#: FMain.form:813 msgid "Limitaciones" msgstr "" -#: FMain.form:825 +#: FMain.form:823 msgid "" "Según el sitio web de clamav:\n" "\n" @@ -529,15 +529,15 @@ msgid "" "bloquee en lugar de omitir un archivo porque encuentra uno de estos umbrales." msgstr "" -#: FMain.form:831 +#: FMain.form:829 msgid "Limitaciones: (ver ayuda)" msgstr "" -#: FMain.form:836 +#: FMain.form:834 msgid "Defecto" msgstr "" -#: FMain.form:848 +#: FMain.form:846 msgid "" "Extraiga y escanee como máximo #n bytes de cada archivo. Puede pasar el " "valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde " @@ -545,7 +545,7 @@ msgid "" "(predeterminado: 25 MB, máximo: <4 GB)" msgstr "" -#: FMain.form:865 +#: FMain.form:863 msgid "" "Extraiga y escanee como máximo #n bytes de cada archivo. El tamaño del " "archivo más la suma de los tamaños de todos los archivos dentro del archivo " @@ -556,91 +556,91 @@ msgid "" "protege su sistema contra ataques DoS (predeterminado: 100 MB, máximo: <4 GB)" msgstr "" -#: FMain.form:882 +#: FMain.form:880 msgid "" "Extraiga como máximo #n archivos de cada archivo escaneado (cuando se trata " "de un archivo, un documento u otro tipo de contenedor). Esta opción protege " "su sistema contra ataques DoS (predeterminado: 10000)" msgstr "" -#: FMain.form:899 +#: FMain.form:897 msgid "" "Establecer límite de nivel de recursividad de archivo. Esta opción protege " "su sistema contra ataques DoS (predeterminado: 16)." msgstr "" -#: FMain.form:916 +#: FMain.form:914 msgid "" "Los directorios de profundidad máxima se escanean en (predeterminado: 15)." msgstr "" -#: FMain.form:933 +#: FMain.form:931 msgid "" "Archivo de tamaño máximo para comprobar si hay PE incrustado. Puede pasar el " "valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde " "x es un número (predeterminado: 10 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:950 +#: FMain.form:948 msgid "" "Tamaño máximo de archivo HTML para normalizar. Puede pasar el valor en " "kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un " "número (predeterminado: 10 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:967 +#: FMain.form:965 msgid "" "Tamaño máximo del archivo HTML normalizado para escanear. Puede pasar el " "valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde " "x es un número (predeterminado: 2 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:984 +#: FMain.form:982 msgid "" "Tamaño máximo del archivo de script para normalizar. Puede pasar el valor en " "kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un " "número (predeterminado: 5 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:1001 +#: FMain.form:999 msgid "" "Cremallera de tamaño máximo para volver a analizar. Puede pasar el valor en " "kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un " "número (predeterminado: 1 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:1017 +#: FMain.form:1015 msgid "" "Esta opción establece el número máximo de particiones de una imagen de disco " "sin procesar que se analizará. Debe ser un número entero positivo " "(predeterminado: 50)." msgstr "" -#: FMain.form:1034 +#: FMain.form:1032 msgid "" "Esta opción establece el número máximo de iconos dentro de un PE que se " "escanearán. Debe ser un número entero positivo (predeterminado: 100)." msgstr "" -#: FMain.form:1051 +#: FMain.form:1049 msgid "" "Esta opción establece el máximo de llamadas recursivas a la función de " "análisis de HWP3 (predeterminado: 16)." msgstr "" -#: FMain.form:1068 +#: FMain.form:1066 msgid "" "Número máximo de llamadas a la función de coincidencia de PCRE " "(predeterminado: 10000)." msgstr "" -#: FMain.form:1085 +#: FMain.form:1083 msgid "" "Máximo de llamadas recursivas a la función de coincidencia de PCRE " "(predeterminado: 5000)." msgstr "" -#: FMain.form:1102 +#: FMain.form:1100 msgid "" "Archivo de tamaño máximo para realizar la coincidencia de subsig de PCRE " "(predeterminado: 25 MB, máximo: <4 GB)." diff --git a/.lang/Authenticate.pot b/.lang/Authenticate.pot index 01c7987..bb36eed 100644 --- a/.lang/Authenticate.pot +++ b/.lang/Authenticate.pot @@ -1,11 +1,11 @@ # /home/ozymandias/Dropbox/gambas/ClamScanGui/.src/Authenticate.class -# Generated by the Gambas 3.16 compiler +# Generated by the Gambas 3.19 compiler #, fuzzy msgid "" msgstr "" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/.lang/Cerf.pot b/.lang/Cerf.pot index 6286c6a..c5df72b 100644 --- a/.lang/Cerf.pot +++ b/.lang/Cerf.pot @@ -1,11 +1,11 @@ # /home/ozymandias/Dropbox/gambas/ClamScanGui/.src/Cerf.class -# Generated by the Gambas 3.16 compiler +# Generated by the Gambas 3.19 compiler #, fuzzy msgid "" msgstr "" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/.lang/ClamScan.pot b/.lang/ClamScan.pot index 05d3fb6..3640181 100644 --- a/.lang/ClamScan.pot +++ b/.lang/ClamScan.pot @@ -1,11 +1,11 @@ # /home/ozymandias/Dropbox/gambas/ClamScanGui/.src/ClamScan.module -# Generated by the Gambas 3.16 compiler +# Generated by the Gambas 3.19 compiler #, fuzzy msgid "" msgstr "" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/.lang/FMain.pot b/.lang/FMain.pot index 4d738c3..e83ee86 100644 --- a/.lang/FMain.pot +++ b/.lang/FMain.pot @@ -1,436 +1,436 @@ # /home/ozymandias/Dropbox/gambas/ClamScanGui/.src/FMain.class -# Generated by the Gambas 3.16 compiler +# Generated by the Gambas 3.19 compiler #, fuzzy msgid "" msgstr "" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.form:152 +#: FMain.form:151 msgid "// ClamAV GUI //" msgstr "" -#: FMain.form:160 +#: FMain.form:158 msgid "Opciones" msgstr "" -#: FMain.form:163 +#: FMain.form:161 msgid "Grabación de sesiones" msgstr "" -#: FMain.form:168 +#: FMain.form:166 msgid "--quiet" msgstr "" -#: FMain.form:175 +#: FMain.form:173 msgid "--infected" msgstr "" -#: FMain.form:182 +#: FMain.form:180 msgid "--no-summary" msgstr "" -#: FMain.form:189 +#: FMain.form:187 msgid "--suppress-ok-results" msgstr "" -#: FMain.form:196 +#: FMain.form:194 msgid "--bell" msgstr "" -#: FMain.form:203 +#: FMain.form:201 msgid "--verbose" msgstr "" -#: FMain.form:210 +#: FMain.form:208 msgid "--archive-verbose" msgstr "" -#: FMain.form:217 +#: FMain.form:215 msgid "--debug" msgstr "" -#: FMain.form:224 +#: FMain.form:222 msgid "--gen-json" msgstr "" -#: FMain.form:234 +#: FMain.form:232 msgid "Limitaciones (con precaución)" msgstr "" -#: FMain.form:242 +#: FMain.form:240 msgid "Salir" msgstr "" -#: FMain.form:248 +#: FMain.form:246 msgid "Opciones Avanzadas" msgstr "" -#: FMain.form:251 +#: FMain.form:249 msgid "Actualización de la base de datos" msgstr "" -#: FMain.form:255 +#: FMain.form:253 msgid "Ver Log Freshclam" msgstr "" -#: FMain.form:264 +#: FMain.form:262 msgid "Actualización automática" msgstr "" -#: FMain.form:272 +#: FMain.form:270 msgid "Actualización manual" msgstr "" -#: FMain.form:281 +#: FMain.form:279 msgid "Actualización inmediata" msgstr "" -#: FMain.form:290 +#: FMain.form:288 msgid "Opciones no marcadas por defecto" msgstr "" -#: FMain.form:295 +#: FMain.form:293 msgid "--allmatch[=yes/no(*)]" msgstr "" -#: FMain.form:302 +#: FMain.form:300 msgid "--detect-pua[=yes/no(*)]" msgstr "" -#: FMain.form:309 +#: FMain.form:307 msgid "--detect-structured[=yes/no(*)]" msgstr "" -#: FMain.form:316 +#: FMain.form:314 msgid "--partition-intersection[=yes/no(*)]" msgstr "" -#: FMain.form:323 +#: FMain.form:321 msgid "--heuristic-scan-precedence[=yes/no*]" msgstr "" -#: FMain.form:331 +#: FMain.form:329 msgid "--phishing-ssl[=yes/no*]" msgstr "" -#: FMain.form:339 +#: FMain.form:337 msgid "--phishing-cloak[=yes/no*]" msgstr "" -#: FMain.form:347 +#: FMain.form:345 msgid "--detect-broken[=yes/no*]" msgstr "" -#: FMain.form:355 +#: FMain.form:353 msgid "--block-macros[=yes/no*]" msgstr "" -#: FMain.form:366 +#: FMain.form:364 msgid "--remove[=yes/no(*)] ( ¡Atención! )" msgstr "" -#: FMain.form:373 +#: FMain.form:371 msgid "--move=CUARENTENA" msgstr "" -#: FMain.form:383 +#: FMain.form:381 msgid "--recursive[=yes/no(*)]" msgstr "" -#: FMain.form:393 +#: FMain.form:391 msgid "Opciones marcadas por defecto" msgstr "" -#: FMain.form:398 +#: FMain.form:396 msgid "--cross-fs[=yes(*)/no]" msgstr "" -#: FMain.form:405 +#: FMain.form:403 msgid "--scan-hwp3[=yes(*)/no]" msgstr "" -#: FMain.form:412 +#: FMain.form:410 msgid "--scan-html[=yes(*)/no]" msgstr "" -#: FMain.form:419 +#: FMain.form:417 msgid "--scan-swf[=yes(*)/no]" msgstr "" -#: FMain.form:426 +#: FMain.form:424 msgid "--scan-pdf[=yes(*)/no]" msgstr "" -#: FMain.form:433 +#: FMain.form:431 msgid "--scan-pe[=yes(*)/no]" msgstr "" -#: FMain.form:440 +#: FMain.form:438 msgid "--scan-elf[=yes(*)/no]" msgstr "" -#: FMain.form:447 +#: FMain.form:445 msgid "--scan-ole2[=yes(*)/no]" msgstr "" -#: FMain.form:454 +#: FMain.form:452 msgid "--scan-archive[=yes(*)/no]" msgstr "" -#: FMain.form:461 +#: FMain.form:459 msgid "--scan-mail[=yes(*)/no]" msgstr "" -#: FMain.form:468 +#: FMain.form:466 msgid "--algorithmic-detection[=yes(*)/no]" msgstr "" -#: FMain.form:475 +#: FMain.form:473 msgid "--phishing-sigs[=yes(*)/no]" msgstr "" -#: FMain.form:482 +#: FMain.form:480 msgid "--phishing-scan-urls[=yes(*)/no]" msgstr "" -#: FMain.form:489 +#: FMain.form:487 msgid "--bytecode[=yes(*)/no]" msgstr "" -#: FMain.form:498 +#: FMain.form:496 msgid "Acciones" msgstr "" -#: FMain.form:501 +#: FMain.form:499 msgid "Cuarentena" msgstr "" -#: FMain.form:506 +#: FMain.form:504 msgid "Archivos potencialmente infectados" msgstr "" -#: FMain.form:514 +#: FMain.form:512 msgid "Lectura del Log" msgstr "" -#: FMain.form:519 +#: FMain.form:517 msgid "Historial de lectura" msgstr "" -#: FMain.form:527 +#: FMain.form:525 msgid "Idiomas" msgstr "" -#: FMain.form:532 +#: FMain.form:530 msgid "Español" msgstr "" -#: FMain.form:539 +#: FMain.form:537 msgid "francés" msgstr "" -#: FMain.form:546 +#: FMain.form:544 msgid "Inglés" msgstr "" -#: FMain.form:553 +#: FMain.form:551 msgid "alemán" msgstr "" -#: FMain.form:560 +#: FMain.form:558 msgid "italiano" msgstr "" -#: FMain.form:567 +#: FMain.form:565 msgid "portugués" msgstr "" -#: FMain.form:574 +#: FMain.form:572 msgid "ruso" msgstr "" -#: FMain.form:584 +#: FMain.form:582 msgid "Ver clamav.log" msgstr "" -#: FMain.form:589 +#: FMain.form:587 msgid "Ver clamav-milter.log" msgstr "" -#: FMain.form:597 +#: FMain.form:595 msgid "Archivos de configuración" msgstr "" -#: FMain.form:602 +#: FMain.form:600 msgid "Clamd.conf" msgstr "" -#: FMain.form:610 +#: FMain.form:608 msgid "Freshclam.conf" msgstr "" -#: FMain.form:617 +#: FMain.form:615 msgid "milter.conf" msgstr "" -#: FMain.form:624 +#: FMain.form:622 msgid "Ejemplos de configuraciones" msgstr "" -#: FMain.form:629 +#: FMain.form:627 msgid "clamd.conf" msgstr "" -#: FMain.form:637 +#: FMain.form:635 msgid "freshclam.conf" msgstr "" -#: FMain.form:654 +#: FMain.form:652 msgid "Sonidos" msgstr "" -#: FMain.form:663 +#: FMain.form:661 msgid "Lynis" msgstr "" -#: FMain.form:669 +#: FMain.form:667 msgid "Tiger" msgstr "" -#: FMain.form:676 +#: FMain.form:674 msgid "?" msgstr "" -#: FMain.form:679 +#: FMain.form:677 msgid "Acerca de" msgstr "" -#: FMain.form:684 +#: FMain.form:682 msgid "Ayuda" msgstr "" -#: FMain.form:689 +#: FMain.form:687 msgid "ClamScanGui actualizaciónes" msgstr "" -#: FMain.form:703 +#: FMain.form:701 msgid "Analizar un Archivo" msgstr "" -#: FMain.form:713 +#: FMain.form:711 msgid "Analizar Directorios" msgstr "" -#: FMain.form:733 +#: FMain.form:731 msgid "Salida del escaneo" msgstr "" -#: FMain.form:774 +#: FMain.form:772 msgid "¡Mata el proceso en curso!" msgstr "" -#: FMain.form:781 +#: FMain.form:779 msgid "¡Ejecute el proceso!" msgstr "" -#: FMain.form:788 +#: FMain.form:786 msgid "Salida de texto claro" msgstr "" -#: FMain.form:795 +#: FMain.form:793 msgid "Sudo" msgstr "" -#: FMain.form:802 +#: FMain.form:800 msgid "Verde = sin cuarentena automática\nRojo = cuarentena automática" msgstr "" -#: FMain.form:808 +#: FMain.form:806 msgid "Presentación" msgstr "" -#: FMain.form:815 +#: FMain.form:813 msgid "Limitaciones" msgstr "" -#: FMain.form:825 +#: FMain.form:823 msgid "Según el sitio web de clamav:\n\n--max-filesize=2000M --max-scansize=2000M --max-files=2000000 --max-recursion=2000000 --max-embeddedpe=2000M --max-htmlnormalize=2000000 --max-htmlnotags=2000000 --max-scriptnormalize=2000000 --max-ziptypercg=2000000 --max-partitions=2000000 --max-iconspe=2000000 --max-rechwp3=2000000 --pcre-match-limit=2000000 --pcre-recmatch-limit=2000000 --pcre-max-filesize=2000M:\n\nDesactiva efectivamente todos los límites y máximos de archivos para escanear. Esto es útil si desea asegurarse de que se escaneen todos los archivos de un conjunto y prefiere que Clam se ejecute lentamente o se bloquee en lugar de omitir un archivo porque encuentra uno de estos umbrales." msgstr "" -#: FMain.form:831 +#: FMain.form:829 msgid "Limitaciones: (ver ayuda)" msgstr "" -#: FMain.form:836 +#: FMain.form:834 msgid "Defecto" msgstr "" -#: FMain.form:848 +#: FMain.form:846 msgid "Extraiga y escanee como máximo #n bytes de cada archivo. Puede pasar el valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un número. Esta opción protege su sistema contra ataques DoS (predeterminado: 25 MB, máximo: <4 GB)" msgstr "" -#: FMain.form:865 +#: FMain.form:863 msgid "Extraiga y escanee como máximo #n bytes de cada archivo. El tamaño del archivo más la suma de los tamaños de todos los archivos dentro del archivo cuentan para el tamaño de escaneo. Por ejemplo, un archivo sin comprimir de 1 M que contiene un solo archivo interno de 1 M cuenta como 2 M para el tamaño máximo de escaneo. Puede pasar el valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un número. Esta opción protege su sistema contra ataques DoS (predeterminado: 100 MB, máximo: <4 GB)" msgstr "" -#: FMain.form:882 +#: FMain.form:880 msgid "Extraiga como máximo #n archivos de cada archivo escaneado (cuando se trata de un archivo, un documento u otro tipo de contenedor). Esta opción protege su sistema contra ataques DoS (predeterminado: 10000)" msgstr "" -#: FMain.form:899 +#: FMain.form:897 msgid "Establecer límite de nivel de recursividad de archivo. Esta opción protege su sistema contra ataques DoS (predeterminado: 16)." msgstr "" -#: FMain.form:916 +#: FMain.form:914 msgid "Los directorios de profundidad máxima se escanean en (predeterminado: 15)." msgstr "" -#: FMain.form:933 +#: FMain.form:931 msgid "Archivo de tamaño máximo para comprobar si hay PE incrustado. Puede pasar el valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un número (predeterminado: 10 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:950 +#: FMain.form:948 msgid "Tamaño máximo de archivo HTML para normalizar. Puede pasar el valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un número (predeterminado: 10 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:967 +#: FMain.form:965 msgid "Tamaño máximo del archivo HTML normalizado para escanear. Puede pasar el valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un número (predeterminado: 2 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:984 +#: FMain.form:982 msgid "Tamaño máximo del archivo de script para normalizar. Puede pasar el valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un número (predeterminado: 5 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:1001 +#: FMain.form:999 msgid "Cremallera de tamaño máximo para volver a analizar. Puede pasar el valor en kilobytes en formato xK o xk, o megabytes en formato xM o xm, donde x es un número (predeterminado: 1 MB, máximo: <4 GB)." msgstr "" -#: FMain.form:1017 +#: FMain.form:1015 msgid "Esta opción establece el número máximo de particiones de una imagen de disco sin procesar que se analizará. Debe ser un número entero positivo (predeterminado: 50)." msgstr "" -#: FMain.form:1034 +#: FMain.form:1032 msgid "Esta opción establece el número máximo de iconos dentro de un PE que se escanearán. Debe ser un número entero positivo (predeterminado: 100)." msgstr "" -#: FMain.form:1051 +#: FMain.form:1049 msgid "Esta opción establece el máximo de llamadas recursivas a la función de análisis de HWP3 (predeterminado: 16)." msgstr "" -#: FMain.form:1068 +#: FMain.form:1066 msgid "Número máximo de llamadas a la función de coincidencia de PCRE (predeterminado: 10000)." msgstr "" -#: FMain.form:1085 +#: FMain.form:1083 msgid "Máximo de llamadas recursivas a la función de coincidencia de PCRE (predeterminado: 5000)." msgstr "" -#: FMain.form:1102 +#: FMain.form:1100 msgid "Archivo de tamaño máximo para realizar la coincidencia de subsig de PCRE (predeterminado: 25 MB, máximo: <4 GB)." msgstr "" diff --git a/.lang/Module1.pot b/.lang/Module1.pot index 5f46970..4aded58 100644 --- a/.lang/Module1.pot +++ b/.lang/Module1.pot @@ -1,11 +1,11 @@ # /home/ozymandias/Dropbox/gambas/ClamScanGui/.src/Module1.module -# Generated by the Gambas 3.16 compiler +# Generated by the Gambas 3.19 compiler #, fuzzy msgid "" msgstr "" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/.lang/frmAbout.pot b/.lang/frmAbout.pot index 24c5865..6f4d27d 100644 --- a/.lang/frmAbout.pot +++ b/.lang/frmAbout.pot @@ -1,11 +1,11 @@ # /home/ozymandias/Dropbox/gambas/ClamScanGui/.src/frmAbout.class -# Generated by the Gambas 3.16 compiler +# Generated by the Gambas 3.19 compiler #, fuzzy msgid "" msgstr "" "Project-Id-Version: $(PACKAGE) $(VERSION)\n" -"POT-Creation-Date: 2022-03-04 21:52 UTC\n" +"POT-Creation-Date: 2024-08-17 19:14 UTC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/.project b/.project index 20f8bd1..9dc64e3 100644 --- a/.project +++ b/.project @@ -2,9 +2,9 @@ Title=ClamScanGui Startup=Module1 Icon=chukablue2.png -Version=1.1.92 +Version=1.2.93 Component=gb.image -Component=gb.qt5 +Component=gb.gui Component=gb.form Component=gb.dbus Component=gb.desktop @@ -15,7 +15,6 @@ Component=gb.settings Component=gb.form.stock Component=gb.net Component=gb.net.curl -Component=gb.qt5.ext Component=gb.report2 Component=gb.sdl2.audio Description="- Un sencillo GUI para el antivirus ClamAV.\n- Une interface graphique simple pour l'antivirus ClamAV.\n- Simple graphical interface for the ClamAV antivirus.\n- Простой графический интерфейс для антивируса ClamAV." @@ -25,17 +24,21 @@ Translate=1 Language=es_AR KeepDebugInfo=0 CompressFiles=0 +SourcePath=/home/ozymandias/Escritorio Maintainer=The Nerdy Apprentice -Vendor=Ozymandias -VendorPrefix=OZY -Address=marianocattani@gmail.com +Vendor=TheNerdyApprentice +VendorPrefix=TNA +Address=marianoctt@gmail.com Url=https://thenerdyapprentice.blogspot.com/ License=General Public License -PackageName=clamscangui-1.1.92 +PackageName=clamscangui-1.2.93 CreateEachDirectory=1 -RuntimeVersion="3.15" Packager=1 -Systems=ubuntu +Systems=archlinux +Menus=archlinux:"Applications/System/Security" +Categories=archlinux:"Security;System" +Groups=archlinux:"utils" +ExtraDependencies=archlinux:"clamav\t\t" Menus=ubuntu:"Applications/System/Security" Categories=ubuntu:"Security;System" Groups=ubuntu:"utils" diff --git a/.settings b/.settings index 65e6b2d..e8110af 100644 --- a/.settings +++ b/.settings @@ -1,15 +1,34 @@ -[Breakpoints] -Count=0 +[Debug] +Breakpoints={} [DebugWindow] Count=0 +[Executable] +DoNotIncrementVersion=False +NoTestModule=False +NoPublicDirectory=False +Path="/home/ozymandias/Escritorio/ClamScanGui.gambas" + +[FImageProperty/Grid] +Resolution=64 +Snap=0 +SnapResolution=8 +Diagonals=0 +Lock=False + [OpenFile] -Active=2 -File[1]=".src/FMain.class:4.236" -Count=3 +Active=1 +File[1]=".src/FMain.class:4.598" +Count=9 File[2]=".hidden/CHANGELOG:0.0" File[3]=".src/FMain.form" +File[4]=".src/ClamScan.module:0.179" +File[5]=".src/Cerf.form" +File[6]=".src/FrmGeneral.form" +File[7]=".src/Impr1.report" +File[8]=".src/Impr1.class:4.23" +File[9]=".src/Module1.module:28.82" [Package] Dir="~/Escritorio/" diff --git a/.src/ClamScan.module b/.src/ClamScan.module index 06f7d4b..c36069f 100644 --- a/.src/ClamScan.module +++ b/.src/ClamScan.module @@ -16,31 +16,31 @@ Public sTexte As String Public Depart As Float Public Sub Exit() - + hProc = Null sTexte = Null - + End Public Function Version() As String - + Dim Salida As String - + Shell "clamscan --version" To Salida Return Salida - + End Function Public Function ScanAction(Ruta As String) - + Dim Comm As String Dim ajout As String - + FMain.txSalida.Text = "" sTexte = "" - + Comm = "clamscan " & Ruta 'commande clamscan toutes les options modifiables ici - + 'Menu choix de session **************************************************** If FMain.SalidaErr = True Then Comm = Comm & " --quiet" If FMain.SinINF = True Then comm = comm & " --no-summary" @@ -74,12 +74,12 @@ Public Function ScanAction(Ruta As String) If FMain.PhishingUrl = False Then comm = comm & " --phishing-scan-urls=no" If FMain.Algo = False Then comm = comm & " --algorithmic-detection=no" '************************************************************************** - + ajout = ajout & " --exclude-dir=" & FMain.quarantaine 'exclude quarantaine ajout = ajout & " --exclude-dir=^/proc" ajout = ajout & " --exclude-dir=^/sys" comm = comm & FMain.sCommande 'sCommande issue des limites - + If FMain.bSudo = True Then Authenticate.Command("sudo " & Comm) If FMain.bFlag = True Then 'montexte est affecté à la commande du process @@ -96,21 +96,21 @@ Public Function ScanAction(Ruta As String) FichierLog() 'sauvegarde des log et historique Wait 'finir la sauvegarde FMain.monTexte = "" - + End Public Sub Scan_Read() 'affichage dans terminal - + Dim sLine As String - + Read #hProc, sLine, Lof(hProc) FMain.txSalida.Text &= sLine FMain.txSalida.EnsureVisible() - + End Public Sub Scan_Kill() 'Fin du process hPro - + If FMain.bTBKill = True Then '¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤'le processus a été tué Module1.son(Module1.beep) If FMain.bSudo = True Then 'si bouton sudo enfoncé @@ -130,16 +130,16 @@ Public Sub Scan_Kill() Module1.son(Module1.Warning) Message(("Trabajo completado") & ". " & ("¡Puedes volver!")) Endif - + End Public Sub TournProc() 'tant que tourne le process - + Dim i, j As Integer - + Depart = Timer 'temps de l'horloge interne j = CInt(FMain.txSalida2.Width / 8.75) 'j=longueur de la ligne terminal 2 - + While hProc.state = hProc.Running MouseWait() FMain.dTemps = Time(0, 0, 0, CInt(Timer - ClamScan.Depart) * 1000) 'clic en millisecondes * 1000 = secondes @@ -153,37 +153,37 @@ Public Sub TournProc() FMain.txSalida2.Text &= "#" If hProc.State = hProc.Stopped Then Break 'garantie de sortie de boucle (inutile?) Wend - + Mousedefault() - + End Public Sub Mousedefault() 'curseur par défaut - + FMain.Mouse = Mouse.Default FMain.txSalida.Mouse = Mouse.Default FMain.txSalida2.Mouse = Mouse.Default FMain.txSalida3.Mouse = Mouse.Default FMain.txSalida2.Clear FMain.txSalida.ScrollBar = Scroll.Both - + End Public Sub MouseWait() 'curseur d'attente - + FMain.Mouse = Mouse.Wait FMain.txSalida.Mouse = Mouse.Wait FMain.txSalida2.Mouse = Mouse.Wait FMain.txSalida3.Mouse = Mouse.Wait FMain.txSalida.ScrollBar = Scroll.None - + End Public Sub RecupVirus() - + Dim sLigne As String[] = Split(FMain.txSalida.Text, gb.NewLine, "", True) Dim i As Integer - + If FMain.Quarant = True Then 'si quarantaine automatique For i = 0 To sLigne.Max If sLigne[i] Ends " FOUND" Then @@ -199,28 +199,28 @@ Public Sub RecupVirus() Next File.Save(FMain.pil, sTexte) 'sauvegarde de la liste des fichiers et virus après scan Endif - + End Public Sub FichierLog() 'sauvegarde des Log et de l'Historique - + Dim TextDate As String - + TextDate = " ---------| " & (" Escaneo realizado : ") & Now() & " |--------- " - + If Not Exist(FMain.clamLog) Then 'fichier Log FMain.leFichier = Open FMain.clamLog For Create Else FMain.leFichier = Open FMain.clamLog For Input Endif - + If Not Exist(FMain.historic) Then 'fichier historique FMain.histo = Open FMain.historic For Create Else FMain.histo = Open FMain.historic For Input Endif - + File.Save(FMain.clamLog, FMain.leFichier.Load(FMain.clamLog) & gb.CrLf & TextDate & gb.CrLf & gb.CrLf & FMain.txSalida.Text) 'Logs File.Save(FMain.historic, FMain.histo.Load(FMain.historic) & gb.CrLf & TextDate & gb.CrLf & gb.CrLf & FMain.txSalida.Text) 'Historique - + End diff --git a/.src/FMain.class b/.src/FMain.class index 28e3e70..0113179 100644 --- a/.src/FMain.class +++ b/.src/FMain.class @@ -75,7 +75,7 @@ Public dTemps As Date Public Entree As Boolean 'entrée dans prog Public Sub Exit() - + SalidaERR = Null SinINF = Null Recursive = Null @@ -129,57 +129,57 @@ Public Sub Exit() histo = Null 'fichier historique dTemps = Null 'temps écoulé du scan Entree = Null 'entrée dans prog - + End Public Sub Form_Open() 'Form principale appelée par le Module1 - + PanLimit.Visible = False 'panneau des limites, invisible Entree = True - + If Not Exist("/usr/bin/clamscan") Then 'test installation de clamscan Message.Title = ("¡Atención!") Message.Warning(("Debe tener instalado el antivirus ClamAv para poder utilizar esta App")) Me.Close Endif - + If Not Exist("/etc/clamav/clamd.conf") Then 'test installation de clamav et de son deamon Message.Title = ("¡Atención!") & (" ~ Instalación incompleta de Clamav") Message(("Para reconfigurar clamd, ejecute sudo dpkg-reconfigure clamav-daemon") & "\n" & ("Para reconfigurar clamav-milter, ejecute sudo dpkg-reconfigure clamav-milter")) Me.Close Endif - + quarantaine = User.Home &/ ".clamscangui/viruses" 'dossier de quarantaine des virus clamLog = User.Home &/ ".clamscangui/ClamScanGui_Log.txt" 'fichier Log historic = User.Home &/ ".clamscangui/Historique" 'fichier historique liste = User.Home &/ ".clamscangui/viruses/liste.txt" 'liste des virus en quarantaine pil = User.Home &/ ".clamscangui/pil.txt" 'liste des virus trouvés - + If Not Exist(quarantaine) Then 'création du dossier de quarantaine des virus Try Mkdir User.Home &/ ".clamscangui" Try Mkdir quarantaine Endif - + If Not Exist(clamLog) Then 'fichier Log leFichier = Open clamLog For Create Endif - + If Not Exist(historic) Then 'fichier historique histo = Open historic For Create Endif - + If Not Exist(pil) Then 'liste des fichiers corrompus fPil = Open pil For Create Endif - + If Not Exist(liste) Then 'liste des fichiers en quarantaine fListe = Open liste For Create Endif - + quarantaine = Shell$(quarantaine) 'Quote du nom du répertoire de quarantaine - - FMain.Text = Application.Name & " " & Application.Version 'titre de la form - + + FMain.Text = Application.Name & " v" & Application.Version 'titre de la form + If Settings["First_Time", True] = True Then 'démarrage première fois Settings["First_Time"] = False premiereFois 'premier démarrage du prog @@ -187,11 +187,11 @@ Public Sub Form_Open() LoadSettings() 'réglages enregistrés Cerf.ShowModal() 'splash form après loadsettings à cause du son Entree = False - + End Public Sub sortie() - + While fc.Children.Count fc.Children.Clear Wend @@ -204,7 +204,7 @@ Public Sub sortie() tp.Children.Clear Wend tp.Delete - + txSalida.Delete txSalida2.Delete txSalida3.Delete @@ -216,7 +216,7 @@ Public Sub sortie() PanLimit.Children.Clear Wend PanLimit.Delete - + fc = Null dc = Null tp = Null @@ -225,29 +225,29 @@ Public Sub sortie() txSalida3 = Null PanGauche = Null PanLimit = Null - + FMain.Exit 'sortie - + End Public Sub Form_Close() 'fermeture de la Form principale - + SaveSettings() 'sauvegarde des réglages avant sortie programme Me.Hide() Module1.quitAppli sortie() - + End Public Sub mnSalir_Click() - + Wait Me.Close - + End Public Sub premiereFois() 'réglages pour une première fois - + MnuAuto.Value = True MnuManuelle.Value = False MnuImmediate.Enabled = False @@ -255,7 +255,7 @@ Public Sub premiereFois() MnuVirus.Enabled = False MnuCorrompus.Enabled = False MenuSon.Value = True - + Settings["Menu/Auto"] = MnuAuto.Value Settings["Menu/Manuel"] = MnuManuelle.Value Settings["Menu/Immediat"] = MnuImmediate.Enabled @@ -265,7 +265,7 @@ Public Sub premiereFois() Settings["General/courriel"] = "" Settings["General/nom"] = "" Settings["General/sons"] = MenuSon.Value - + mnuHWP3.Value = True mnuXML.Value = True mnuSWF.Value = True @@ -279,7 +279,7 @@ Public Sub premiereFois() MnuPhishingUrl.Value = True MnuCrossFs.value = True MnuAlgo.Value = True - + Settings["Menu/pHWP3"] = mnuHWP3.Value Settings["Menu/pXML"] = mnuXML.Value Settings["Menu/pSWF"] = mnuSWF.Value @@ -293,11 +293,11 @@ Public Sub premiereFois() Settings["Menu/PhishingUrl"] = MnuPhishingUrl.Value Settings["Menu/CrossFs"] = MnuCrossFs.value Settings["Menu/Algo"] = MnuAlgo.Value - + End Public Sub LoadSettings() 'réglages enregistrés en conf - + MenuSon.Value = Settings["General/sons"] If MenuSon.Value = True Then SonOn = True @@ -377,7 +377,7 @@ Public Sub LoadSettings() AppsIndeseadas = mnDetectar.Value Intersection = MnuIntersection.Value Structured = MnuStructured.Value - + If langue = "fr" Then 'langue dans menu MnuFrancais.Value = True Else If langue = "en" Then @@ -393,7 +393,7 @@ Public Sub LoadSettings() Else If langue = "it" Then MnuItalien.Value = True Endif - + If TBSudo.Value = True Then 'idem à TBSudo_Click bSudo = True bTBSudo = True @@ -402,7 +402,7 @@ Public Sub LoadSettings() bSudo = False bTBSudo = False Endif - + If MnuDeplacer.Value = True Then 'voyant vert RB1.Background = Color.Red RB1.Enabled = False @@ -413,13 +413,13 @@ Public Sub LoadSettings() Endif MnuVirus.Enabled = True MnuCorrompus.Enabled = True - + presentation() 'présentation des informations de scan - + End Public Sub presentation() 'présentation des informations de scan - + txSalida.text = ("Versión instalada: ") & ClamScan.Version() '********************** presente les limitations ************************** txSalida.text &= ("Limitaciones:") 'limitations' @@ -450,7 +450,7 @@ Public Sub presentation() If MnuArchVerbose.value = True Then txSalida.text &= "-archVerbose " & "ON ; " If MnuJson.value = True Then txSalida.text &= "-gen-json " & "ON ; " If mnErrores.Value = False And mnNoSummary.Value = False And mnInfectados.Value = False And MnuVerbose.value = False And mnSupressOK.value = False And mnBell.value = False And MnuDebug.value = False And MnuArchVerbose.value = False And MnuJson.value = False Then txSalida.text &= ("Sin selección") - + '********************** presente les options cochées ********************** txSalida.text &= gb.CrLf & ("Opciones no marcadas por defecto :") & gb.CrLf 'options décochées par défaut txSalida.text &= gb.Tab @@ -484,11 +484,11 @@ Public Sub presentation() txSalida.text &= gb.Tab If TBSudo.Value = True Then txSalida.text &= "ON" If TBSudo.Value = False Then txSalida.text &= "OFF" - + End Public Sub TBSudo_Click() 'bouton sudo enfoncé - + Module1.son(Module1.camera1) If TBSudo.Value = True Then 'le bouton est enfoncé bSudo = True 'boolean @@ -502,11 +502,11 @@ Public Sub TBSudo_Click() bTBSudo = False presentation Endif - + End Public Sub SaveSettings() 'sauvegarde des réglages en conf - + '********** Group log1 **************************************************** 'choix de session Settings["Menu/Errores"] = mnErrores.Value Settings["Menu/Infectes"] = mnInfectados.Value @@ -548,42 +548,42 @@ Public Sub SaveSettings() Settings["General/LangInit"] = langue Settings["General/limites"] = BtnDefaut.Value Settings["General/sons"] = MenuSon.Value - + End Public Sub Form_KeyPress() - + If Key.code = Key.Esc Then Me.Close - + End Public Sub FC_Activate() - + Ruta = Shell$(FC.SelectedPath) Scan_Activation() - + End Public Sub DC_Activate() - + Ruta = Shell$(DC.SelectedPath) Scan_Activation() - + End Public Sub Scan_Activation() - + Module1.son(Module1.Message1) If Message.Question(("Por favor, espere unos segundos mientras inicia el antivirus"), ("No"), ("Si")) = 1 Then Return menuFaux() 'menus désactivés txSalida.Clear 'effacement Terminal ClamScan.ScanAction(Ruta) 'module de scan activé menuVraix() ' 'menus activés - + End Public Sub _new() 'pour remise à jour de certains éléments - + If Not IsNull(fc) Or Not IsNull(dc) Then maCle = 0 Wait @@ -591,11 +591,11 @@ Public Sub _new() fc.Tooltip = ("Elija el archivo para analizar") Endif menuVraix() 'menus activés - + End Public Sub FC_Change() 'le file chooser a changé - + If fc.SelectedPath = "" Then _new() Else @@ -603,11 +603,11 @@ Public Sub FC_Change() dc.Tooltip = ("") fc.Tooltip = ("") Endif - + End Public Sub DC_Change() 'le dir chooser a changé - + If dc.SelectedPath = "" Then _new() Else @@ -615,11 +615,11 @@ Public Sub DC_Change() dc.Tooltip = ("") fc.Tooltip = ("") Endif - + End Public Sub TBhProc_Click() 'execute hproc - + If maCle = 0 Then Module1.son(Module1.beep) Message.Info(("Seleccione \n an objeto para escanear!")) @@ -628,13 +628,13 @@ Public Sub TBhProc_Click() Else If maCle = 2 Then DC_Activate Endif - + _new() - + End Public Sub menuFaux() 'menus et boutons désactivés pendant le scan - + mnOpciones.Enabled = False mnOpcionesAvanzadas.Enabled = False MnuBase.Enabled = False @@ -667,11 +667,11 @@ Public Sub menuFaux() Panel3.Visible = True FMain.txSalida3.Clear Wait - + End Public Sub menuVraix() 'menus et boutons activés avant un scan - + mnOpciones.Enabled = True mnOpcionesAvanzadas.Enabled = True MnuBase.Enabled = True @@ -705,28 +705,28 @@ Public Sub menuVraix() SlidZipType.Enabled = True Panel3.Visible = False Wait - + End Public Sub TBKill_Click() 'Bouton kill hproc - + If IsNull(ClamScan.hProc) Then 'pas de processus à tuer _new() Module1.son(Module1.beep) Message.Info(("Seleccione \n an objeto para escanear!")) Return Endif - + If ClamScan.hProc.State = ClamScan.hProc.Running Then 'si le process tourne - + Module1.son(Module1.shade) FMain.txSalida3.Clear FMain.txSalida2.Clear FMain.txSalida2.Text = ("Espere mientras se apaga el antivirus") 'affichage dans terminal du bas FMain.txSalida3.Text = (" Interrupción del trabajo ") 'affichage dans terminal du bas - + bTBKill = True 'marque le fait de kill le process - + If FMain.bSudo = True Then Authenticate.Command("sudo killall -u root -9 clamscan") 'montexte est affecté à la commande du process Wait 'pour établissement de Authenticate @@ -743,21 +743,21 @@ Public Sub TBKill_Click() Module1.son(Module1.OpenApp) Message(("¡El proceso ya se detuvo!")) Endif - + FMain.monTexte = "" 'pour être sûr! - + End Public Sub mnAcerca_Click() 'menu à propos - + Me.Hide frmAbout.ShowModal() FMain.Show() - + End Public Sub MnuHistoric_Click() 'montre l'historique global - + FMain.Mouse = Mouse.Wait Wait iForm = 0 @@ -765,11 +765,11 @@ Public Sub MnuHistoric_Click() Me.Hide FMain.Mouse = Mouse.Default FMain.Show() - + End Public Sub MnuLog_Click() 'montre les Logs - + FMain.Mouse = Mouse.Wait Wait iForm = 1 @@ -777,11 +777,11 @@ Public Sub MnuLog_Click() Me.Hide FMain.Mouse = Mouse.Default FMain.Show() - + End Public Sub mnFreshclam_Click() 'montre le fichier freshclam Log - + FMain.Mouse = Mouse.Wait Wait iForm = 2 @@ -789,11 +789,11 @@ Public Sub mnFreshclam_Click() Me.Hide FMain.Mouse = Mouse.Default FMain.Show() - + End Public Sub mnClamav_Click() 'montre le fichier freshclam Log - + FMain.Mouse = Mouse.Wait Wait iForm = 7 @@ -801,11 +801,11 @@ Public Sub mnClamav_Click() Me.Hide FMain.Mouse = Mouse.Default FMain.Show() - + End Public Sub mnClamavmilter_Click() 'montre le fichier freshclam Log - + FMain.Mouse = Mouse.Wait Wait iForm = 8 @@ -813,84 +813,84 @@ Public Sub mnClamavmilter_Click() Me.Hide FMain.Mouse = Mouse.Default FMain.Show() - + End Public Sub Config_Click() 'lecture ou édition des fichiers de config - + If MnuConfClamd.Value = True Then iFlag = 0 If MnuConfFresh.Value = True Then iFlag = 1 If MnuConfMilter.Value = True Then iFlag = 2 - + FMain.Hide() iForm = 3 FrmGeneral.ShowModal() FMain.Show() - + End Public Sub Exemples_Click() 'pour l'instant lecture des fichiers exemples - + If MnuExempleClamd.Value = True Then iFlag = 3 If MnuExempleFreshclam.Value = True Then iFlag = 4 If MnuExempleMilter.Value = True Then iFlag = 5 - + FMain.Hide() iForm = 3 FrmGeneral.ShowModal() FMain.Show() - + End Public Sub MnuAide_Click() 'affichage de l'aide - + Me.Hide iForm = 4 FrmGeneral.ShowModal() FMain.Show() - + End Public Sub MnuVirus_Click() 'Affichage du fichier des virus découverts - + FMain.Mouse = Mouse.Wait Wait Me.Hide iForm = 5 - + If Not Exist(liste) Then 'liste des fichiers en quarantaine fListe = Open liste For Create Endif - + FrmGeneral.ShowModal() FMain.Mouse = Mouse.Default FMain.Show() DC.Reload FC.Reload - + End Public Sub MnuCorrompus_Click() 'fichiers potentiellement corrompus - + FMain.Mouse = Mouse.Wait Wait Me.Hide iForm = 6 - + If Not Exist(pil) Then 'liste des fichiers corrompus fPil = Open pil For Create Endif - + FrmGeneral.ShowModal() FMain.Mouse = Mouse.Default FMain.Show() DC.Reload FC.Reload - + End Public Sub mnu_click() 'group mnu Mise à jour Freshclam - + If MnuManuelle.Checked = False Then 'mise à jour automatique sMot = "/etc/init.d/clamav-freshclam start" Authenticate.Command("sudo " & sMot) @@ -926,24 +926,24 @@ Public Sub mnu_click() MnuImmediate.Enabled = True MnuAuto.Checked = False Endif - + Module1.son(Module1.Message2) presentation() 'des informations de scan - + End Public Sub MnuImmediate_Click() 'Mise à jour Freshclam manuelle et immédiate - + If MnuManuelle.Checked = True Then sMot = "sudo freshclam" Authenticate.Command(sMot) Wait Endif - + End Public Sub langue_Click() 'choix de la langue et affichage du menu checked - + Module1.son(Module1.camera1) If MnuEspagnol.Checked = True Then langue = "es" If MnuFrancais.Checked = True Then langue = "fr" @@ -953,11 +953,11 @@ Public Sub langue_Click() If MnuPortugais.checked = True Then langue = "pt" If MnuRusse.Checked = True Then langue = "ru" AppliLangues() - + End Public Sub AppliLangues() 'application du choix de langue par redémarrage auto - + Message.Title = ("El idioma elegido se aplicará después del reinicio") If Message.Question(("¿Quieres renunciar?") & gb.CrLf & ("El idioma elegido se aplicará después de reiniciar el programa."), ("Si"), ("No")) = 2 Then @@ -973,18 +973,18 @@ Public Sub AppliLangues() '*** ATTENTION ligne suivante à décommenter avant de générer l'executable *** Exec [Application.Path & "/" & Application.Name] Endif - + End Public Sub TBeffacer_Click() 'bouton effacer le texte du textarea1 - + Module1.son(Module1.Message2) FMain.txSalida.Clear - + End Public Sub Log1_Click() 'menu des enregistrements de session - + Settings["Menu/Errores"] = mnErrores.Value Settings["Menu/Infectes"] = mnInfectados.Value Settings["Menu/NoSummary"] = mnNoSummary.Value @@ -994,7 +994,7 @@ Public Sub Log1_Click() Settings["Menu/ArchVerbose"] = MnuArchVerbose.Value Settings["Menu/Debug"] = MnuDebug.value Settings["Menu/Json"] = MnuJson.Value - + SalidaERR = mnErrores.Value 'valeurs transmises infect = mnInfectados.Value SuprimirOK = mnSupressOK.Value @@ -1004,15 +1004,15 @@ Public Sub Log1_Click() ArchVerbose = MnuArchVerbose.Value Adebug = MnuDebug.Value Json = MnuJson.Value - + Module1.son(Module1.camera1) SaveSettings() presentation() 'affichage des changements dans terminal - + End Public Sub option1_Click() 'menu des options + ou cochées par défaut - + Settings["Menu/pHWP3"] = mnuHWP3.Value Settings["Menu/pXML"] = mnuXML.Value Settings["Menu/pSWF"] = mnuSWF.Value @@ -1026,7 +1026,7 @@ Public Sub option1_Click() Settings["Menu/PhishingUrl"] = MnuPhishingUrl.Value Settings["Menu/Algo"] = MnuAlgo.Value Settings["Menu/CrossFs"] = MnuCrossFs.Value - + mail = mnuMail.Value 'valeurs transmises pdf = mnuPdf.Value Swf = mnuSWF.Value @@ -1040,15 +1040,15 @@ Public Sub option1_Click() PhishingUrl = MnuPhishingUrl.Value Algo = MnuAlgo.Value CrossFs = MnuCrossFs.Value - + Module1.son(Module1.camera1) SaveSettings() presentation() 'affichage des changements dans terminal - + End Public Sub optionAvance_Click() 'menu des options avancées ou non cochées par défaut - + If MnuDeplacer.Value = True Then RB1.Background = Color.Red RB1.Enabled = False @@ -1057,7 +1057,7 @@ Public Sub optionAvance_Click() RB1.Background = Color.Green RB1.Enabled = False Endif - + Settings["Menu/Recursif"] = mnRecursivo.Value Settings["Menu/Remover"] = mnRemover.Value Settings["Menu/Detectar"] = mnDetectar.Value @@ -1065,7 +1065,7 @@ Public Sub optionAvance_Click() Settings["Menu/AllMatch"] = MnuAllMatch.value Settings["Menu/Intersection"] = MnuIntersection.Value Settings["Menu/Structured"] = MnuStructured.Value - + Remover = mnRemover.Value 'valeurs transmises Quarant = MnuDeplacer.Value Recursive = mnRecursivo.Value @@ -1073,15 +1073,15 @@ Public Sub optionAvance_Click() AllMatch = MnuAllMatch.Value Intersection = MnuIntersection.Value Structured = MnuStructured.Value - + Module1.son(Module1.camera1) SaveSettings() presentation() 'affichage des changements dans terminal - + End Public Sub MnuLimit_Click() 'apparition ou non des limites - + If PanLimit.Visible = False Then PanLimit.Visible = True Me.Center @@ -1089,11 +1089,11 @@ Public Sub MnuLimit_Click() PanLimit.Visible = False Me.Center Endif - + End Public Sub limit_Change() 'changement des limites - + If SlidFilesize.value = SlidFilesize.DefaultValue Then sCommande = "" If SlidScansize.Value = SlidScansize.DefaultValue Then sCommande = "" If SlidFiles.Value = SlidFiles.DefaultValue Then sCommande = "" @@ -1110,11 +1110,11 @@ Public Sub limit_Change() If SlidPcreRecLimit.Value = SlidPcreRecLimit.DefaultValue Then sCommande = "" If SlidPcreFilesize.Value = SlidPcreFilesize.DefaultValue Then sCommande = "" If SlidZipType.Value = SlidZipType.DefaultValue Then sCommande = "" - + End Public Sub limit_Leave() 'application des changements des limites - + sCommande = "" If SlidFilesize.value <> SlidFilesize.DefaultValue Then sCommande = sCommande & " --max-filesize=" & CStr(SlidFilesize.Value) & "M" If SlidScansize.Value <> SlidScansize.DefaultValue Then sCommande = sCommande & " --max-scansize=" & CStr(SlidScansize.Value) & "M" @@ -1127,17 +1127,17 @@ Public Sub limit_Leave() If SlidScriptNorm.Value <> SlidScriptNorm.DefaultValue Then sCommande = sCommande & " --max-scriptnormalize=" & CStr(SlidScriptNorm.Value) & "M" If SlidPartitions.Value <> SlidPartitions.DefaultValue Then sCommande = sCommande & " --max-partitions=" & CStr(SlidPartitions.Value) If SlidIconsPE.Value <> SlidIconsPE.DefaultValue Then sCommande = sCommande & " -- max-iconspe=" & CStr(SlidIconsPE.Value) - + If SlidRechWP3.Value <> SlidRechWP3.DefaultValue Then sCommande = sCommande & " --max-rechwp3=" & CStr(SlidRechWP3.Value) If SlidPcreLimit.Value <> SlidPcreLimit.DefaultValue Then sCommande = sCommande & " --pcre-match-limit=" & CStr(SlidPcreLimit.Value) If SlidPcreRecLimit.Value <> SlidPcreRecLimit.DefaultValue Then sCommande = sCommande & " --pcre-recmatch-limit=" & CStr(SlidPcreRecLimit.Value) If SlidPcreFilesize.Value <> SlidPcreFilesize.DefaultValue Then sCommande = sCommande & " --pcre-max-filesize=" & CStr(SlidPcreFilesize.Value) & "M" If SlidZipType.Value <> SlidZipType.DefaultValue Then sCommande = sCommande & " --max-ziptypercg=" & CStr(SlidZipType.Value) & "M" - + End Public Sub BtnDefaut_Click() 'Changement état du Bouton défaut dans les limites - + FMain.sCommande = "" If BtnDefaut.value = False Then 'Défaut BtnDefaut.Text = ("Defecto") @@ -1181,22 +1181,22 @@ Public Sub BtnDefaut_Click() Endif limit_Leave() 'Application des limites presentation() 'affichage des changements dans terminal - + End Public Function GitVersion(raw As String) As String 'test de la version github du prog. - + Dim s As String Dim stx As String[] Dim r As String Dim v As String - + v = "" If Exist("/tmp/project.txt") Then Shell "rm /tmp/project.txt" Wait Endif - - Shell "wget -O '/tmp/project.txt' '" & raw & "'" Wait + + Shell "wget -qO '/tmp/project.txt' '" & raw & "'" Wait If Exist("/tmp/project.txt") Then s = File.Load("/tmp/project.txt") stx = Split(s, "\n") @@ -1210,15 +1210,15 @@ Public Function GitVersion(raw As String) As String Next Endif Return v - + End Public Sub mnuMiseAJour_Click() 'menu mise à jour sur github - + Dim vChk As String - + vChk = GitVersion("https://raw.githubusercontent.com/mcattani/clamscangui/master/.project") - + If Application.Version < vChk Then Message.Info(("Nueva versión encontrada!") & ": " & "v" & vChk) frmUpdate.Show @@ -1226,36 +1226,36 @@ Public Sub mnuMiseAJour_Click() Module1.son(Module1.beep) Message.Info(("No hay actualizaciones disponibles")) Endif - + End Public Sub TBPresent_Click() 'bouton d'apparition de la présentation des infos de scan - + Module1.son(Module1.Message2) presentation() 'affichage des changements dans terminal - + End Public Sub MenuSon_Click() - + If MenuSon.Value = True Then SonOn = True Else SonOn = False Endif - + End Public Sub MnuLynis_Click() - + End Public Sub MnuTiger_Click() - + End Public Sub TBSudo2_Click() 'limitations - + MnuLimit_Click() - + End diff --git a/.src/FMain.form b/.src/FMain.form index 91a6b6c..69ba693 100644 --- a/.src/FMain.form +++ b/.src/FMain.form @@ -1,13 +1,11 @@ # Gambas Form File 3.0 { Form Form - Move(0,0,875,637) + Move(0,0,873,648) #Scaled = False Font = Font["10"] - Expand = True Text = ("// ClamAV GUI //") Icon = Picture["icon:/48/security"] - Resizable = False Arrangement = Arrange.Horizontal AutoResize = True Padding = 2 @@ -456,16 +454,16 @@ } } { PanGauche Panel - Move(7,0,559,601) + Move(7,0,567,621) Padding = 2 { TP TabPanel - Move(0,0,558,420) + Move(0,0,558,432) Padding = 2 Count = 2 Index = 0 Text = ("Analizar un Archivo") { FC FileChooser - Move(7,7,539,378) + Move(9,9,540,378) Expand = True Border = False Root = "/" @@ -482,10 +480,10 @@ Index = 0 } { Panel2 Panel - Move(0,427,557,174) + Move(9,441,558,180) Arrangement = Arrange.Vertical { !txSalida TextArea - Move(0,0,553,126) + Move(0,9,549,126) #Public = True Font = Font["10"] Background = Color.Black @@ -497,7 +495,7 @@ Border = False } { Panel3 Panel - Move(0,154,557,21) + Move(0,144,558,27) Arrangement = Arrange.Horizontal { !txSalida3 TextArea Move(0,0,224,21) @@ -510,7 +508,7 @@ ScrollBar = Scroll.None } { !txSalida2 TextArea - Move(252,0,280,21) + Move(261,0,280,21) #Public = True Font = Font["10"] Background = Color.Black @@ -527,25 +525,25 @@ AutoResize = True { TBKill ToolButton Move(105,0,32,28) - Mouse = Mouse.Pointing + Mouse = Cursor.Pointing ToolTip = ("¡Mata el proceso en curso!") Picture = Picture["icon:/32/halt"] } { TBhProc ToolButton Move(73,0,32,28) - Mouse = Mouse.Pointing + Mouse = Cursor.Pointing ToolTip = ("¡Ejecute el proceso!") Picture = Picture["icon:/32/exec"] } { TBeffacer ToolButton Move(2,0,35,28) - Mouse = Mouse.Pointing + Mouse = Cursor.Pointing ToolTip = ("Salida de texto claro") Picture = Picture["icon:/24/clear"] } { TBSudo ToolButton Move(140,0,35,28) - Mouse = Mouse.Pointing + Mouse = Cursor.Pointing ToolTip = ("Sudo") Picture = Picture["icon:/32/linux"] Toggle = True @@ -556,13 +554,13 @@ } { TBPresent ToolButton Move(38,0,32,28) - Mouse = Mouse.Pointing + Mouse = Cursor.Pointing ToolTip = ("Presentación") Picture = Picture["icon:/24/edit"] } { TBSudo2 ToolButton Move(201,0,35,28) - Mouse = Mouse.Pointing + Mouse = Cursor.Pointing ToolTip = ("Limitaciones") Picture = Picture["icon:/32/flag"] Toggle = True diff --git a/.src/Impr1.class b/.src/Impr1.class index 162e9f5..05ea54e 100644 --- a/.src/Impr1.class +++ b/.src/Impr1.class @@ -14,20 +14,20 @@ Private Xtexto As String[] Public Sub _new(parrafos As String[]) - + Xtexto = parrafos - + End Public Sub Report_Open() - + Dim EsteParrafo As String Dim LabelParrafo As ReportLabel - + For Each EsteParrafo In Xtexto LabelParrafo = New ReportLabel(RVBox) LabelParrafo.Visible = True LabelParrafo.Text = EsteParrafo Next - + End diff --git a/.src/Module1.module b/.src/Module1.module index c117cbb..17364be 100644 --- a/.src/Module1.module +++ b/.src/Module1.module @@ -30,10 +30,10 @@ Public powerplug As String = "power-plug" Public camera1 As String = "camera1" Public Sub Exit() - + hLock = Null 'pour locker un fichier de contrôle cloture = Null 'cloture voulue ou non - + MonSon = Null ouverture3 = Null beep = Null @@ -47,11 +47,11 @@ Public Sub Exit() Warning = Null powerplug = Null camera1 = Null - + End Public Sub Main() - + Try hLock = Lock User.home & "/.ClamScanGui-lock" 'pour éviter plusieurs instance du programme If Error Then Message.Title = (("¡Atención!") & ("para ClamScanGui")) @@ -60,11 +60,11 @@ Public Sub Main() Endif langues 'langues en fonction du système FMain.Show() 'démarrage formulaire principal, pour démarrage par module. - + End Public Sub son($son As String) - + If FMain.SonOn = True Then Select Case $son Case beep @@ -94,16 +94,16 @@ Public Sub son($son As String) End Select Try MonSon.Play() Endif - + Catch Message(("An error : ") & "son " & Error.Text) - + End Public Sub langues() - + Dim cLangues As String[] = ["en", "fr", "es", "it", "de", "pt", "ru"] 'liste des langues actuelles - + If Not cLangues.Exist(Left(System.Language, 2)) Then 'anglais si langue pas dans cLangues Settings["General/LangInit"] = "en" Else If Settings["General/LangInit"] = "en" Then @@ -129,13 +129,13 @@ Public Sub langues() FMain.txSalida3.Width = 220 Endif Settings.Save() - + End Public Sub sortie() - + Dim result As String - + If FMain.bSudo = True Then 'si sudo alors ... Authenticate.Command("sudo killall -u root -9 clamscan") 'montexte est affecté à la commande du process If FMain.bFlag = True Then @@ -149,13 +149,13 @@ Public Sub sortie() Shell "pgrep -if clamscan" To result Shell "kill -9 " & result Endif - + End Public Sub quitAppli() ' 'procédure de fin et de cloture de programme - + Dim oFichier As String - + If Not IsNull(Module1.hLock) Then ' 'libération du fichier de contrôle hLock Try Unlock Module1.hLock Try Kill (User.home & "/.ClamScanGui-lock") @@ -165,17 +165,17 @@ Public Sub quitAppli() ' If Exist(User.Home &/ ".clamscangui/ClamScanGui_Log.txt") Then 'effacement du fichier Log à la fermeture File.Save(User.Home &/ ".clamscangui/ClamScanGui_Log.txt", "") 'par enregistrement d'un fichier vide Endif - + If Exist(User.Home &/ ".clamscangui/pil.txt") Then Kill User.Home &/ ".clamscangui/pil.txt" Endif - + If Stat(FMain.liste).Size = 0 Then 'si fichier liste vide alors on vide le répertoire For Each oFichier In Dir(User.Home &/ ".clamscangui/viruses", "*", gb.File) Kill User.Home &/ ".clamscangui/viruses/" & oFichier Next Endif - + If Not IsNull(clamscan.hProc) Then If clamscan.hProc.State = clamscan.hProc.Running Then clamscan.hProc.Kill @@ -191,5 +191,5 @@ Public Sub quitAppli() ' Cerf.ShowModal() 'splashform Module1.Exit ' Quit - + End diff --git a/.startup b/.startup index f6a97e2..a383847 100644 --- a/.startup +++ b/.startup @@ -1,11 +1,11 @@ Module1 ClamScanGui +#ClamScanGui 0 -0 -1.1.92 +1.2.93 gb.image -gb.qt5 +gb.gui gb.form gb.dbus gb.desktop @@ -16,7 +16,6 @@ gb.settings gb.form.stock gb.net gb.net.curl -gb.qt5.ext gb.report2 gb.sdl2.audio diff --git a/DEB_Files/clamscangui_1.1.92-0ubuntu1.diff.gz b/DEB_Files/clamscangui_1.1.92-0ubuntu1.diff.gz deleted file mode 100644 index ac969f5..0000000 Binary files a/DEB_Files/clamscangui_1.1.92-0ubuntu1.diff.gz and /dev/null differ diff --git a/DEB_Files/clamscangui_1.1.92-0ubuntu1.dsc b/DEB_Files/clamscangui_1.1.92-0ubuntu1.dsc deleted file mode 100644 index 09c83f6..0000000 --- a/DEB_Files/clamscangui_1.1.92-0ubuntu1.dsc +++ /dev/null @@ -1,19 +0,0 @@ -Format: 1.0 -Source: clamscangui -Binary: clamscangui -Architecture: all -Version: 1.1.92-0ubuntu1 -Maintainer: The Nerdy Apprentice -Standards-Version: 3.9.6 -Build-Depends: debhelper (>= 9), gambas3-dev (>= 3.15), gambas3-dev (<< 3.99.0), gambas3-gb-dbus (>= 3.15), gambas3-gb-dbus (<< 3.99.0), gambas3-gb-desktop (>= 3.15), gambas3-gb-desktop (<< 3.99.0), gambas3-gb-form (>= 3.15), gambas3-gb-form (<< 3.99.0), gambas3-gb-form-dialog (>= 3.15), gambas3-gb-form-dialog (<< 3.99.0), gambas3-gb-form-stock (>= 3.15), gambas3-gb-form-stock (<< 3.99.0), gambas3-gb-image (>= 3.15), gambas3-gb-image (<< 3.99.0), gambas3-gb-net (>= 3.15), gambas3-gb-net (<< 3.99.0), gambas3-gb-net-curl (>= 3.15), gambas3-gb-net-curl (<< 3.99.0), gambas3-gb-qt5 (>= 3.15), gambas3-gb-qt5 (<< 3.99.0), gambas3-gb-qt5-ext (>= 3.15), gambas3-gb-qt5-ext (<< 3.99.0), gambas3-gb-report2 (>= 3.15), gambas3-gb-report2 (<< 3.99.0), gambas3-gb-sdl2-audio (>= 3.15), gambas3-gb-sdl2-audio (<< 3.99.0), gambas3-gb-settings (>= 3.15), gambas3-gb-settings (<< 3.99.0), gambas3-gb-util (>= 3.15), gambas3-gb-util (<< 3.99.0), clamav (>= 0.99), gambas3-runtime (>= 3.1), build-essential, fakeroot, checkinstall -Package-List: - clamscangui deb contrib/utils optional arch=all -Checksums-Sha1: - 31bfe3a2b48f6506056fe981ee25fde637b5cdea 1325156 clamscangui_1.1.92.orig.tar.gz - a2ad3965a125a02ea18f04a1d52b81aa9a135d1e 4844 clamscangui_1.1.92-0ubuntu1.diff.gz -Checksums-Sha256: - 6d86e6ac4ce947ddda54bad510e99b5456edc06b266af005854e50556850505c 1325156 clamscangui_1.1.92.orig.tar.gz - 1e01bf3af451a923782ab430644d1f5c436516f8b8b7e0639c0cc50e06b3312e 4844 clamscangui_1.1.92-0ubuntu1.diff.gz -Files: - 86014c2ed4c3790a224e79ce9c3654db 1325156 clamscangui_1.1.92.orig.tar.gz - 7ea4bb8b74bc643191b1a3bbb9275126 4844 clamscangui_1.1.92-0ubuntu1.diff.gz diff --git a/DEB_Files/clamscangui_1.1.92-0ubuntu1_all.deb b/DEB_Files/clamscangui_1.1.92-0ubuntu1_all.deb deleted file mode 100644 index 668d30d..0000000 Binary files a/DEB_Files/clamscangui_1.1.92-0ubuntu1_all.deb and /dev/null differ diff --git a/DEB_Files/clamscangui_1.1.92-0ubuntu1_amd64.buildinfo b/DEB_Files/clamscangui_1.1.92-0ubuntu1_amd64.buildinfo deleted file mode 100644 index 97234c1..0000000 --- a/DEB_Files/clamscangui_1.1.92-0ubuntu1_amd64.buildinfo +++ /dev/null @@ -1,31 +0,0 @@ -Format: 1.0 -Source: clamscangui -Binary: clamscangui -Architecture: all source -Version: 1.1.92-0ubuntu1 -Checksums-Md5: - 858ba6e66a0e7b28e424332dce359fc6 1827 clamscangui_1.1.92-0ubuntu1.dsc - 609ce53214356f5e732961c0d3cd8ec5 1151904 clamscangui_1.1.92-0ubuntu1_all.deb -Checksums-Sha1: - 686d4e9d0a00ab2e5b2d01790f22ba30290060ec 1827 clamscangui_1.1.92-0ubuntu1.dsc - 9bb9ff90659c7509bce6aee1c329adc838bf480b 1151904 clamscangui_1.1.92-0ubuntu1_all.deb -Checksums-Sha256: - ab7590abf4c05d217c918aeec963e648f7b908b37c6cce8616f421680b2eed6d 1827 clamscangui_1.1.92-0ubuntu1.dsc - 01da9f996f07e9ab67899f9ef9b11d70fbeca2a36fbc967f15addcd062386c30 1151904 clamscangui_1.1.92-0ubuntu1_all.deb -Build-Origin: ArchLinux -Build-Architecture: amd64 -Build-Date: Fri, 04 Mar 2022 18:53:40 -0300 -Environment: - DEB_BUILD_OPTIONS="parallel=4" - LANG="es_AR.UTF-8" - LC_ADDRESS="es_AR.UTF-8" - LC_ALL="es_AR.UTF-8" - LC_IDENTIFICATION="es_AR.UTF-8" - LC_MEASUREMENT="es_AR.UTF-8" - LC_MONETARY="es_AR.UTF-8" - LC_NAME="es_AR.UTF-8" - LC_NUMERIC="es_AR.UTF-8" - LC_PAPER="es_AR.UTF-8" - LC_TELEPHONE="es_AR.UTF-8" - LC_TIME="es_AR.UTF-8" - SOURCE_DATE_EPOCH="1646395200" diff --git a/DEB_Files/clamscangui_1.1.92-0ubuntu1_amd64.changes b/DEB_Files/clamscangui_1.1.92-0ubuntu1_amd64.changes deleted file mode 100644 index f13c5a5..0000000 --- a/DEB_Files/clamscangui_1.1.92-0ubuntu1_amd64.changes +++ /dev/null @@ -1,31 +0,0 @@ -Format: 1.8 -Date: Fri, 04 Mar 2022 12:00:00 +0000 -Source: clamscangui -Binary: clamscangui -Architecture: source all -Version: 1.1.92-0ubuntu1 -Distribution: unstable -Urgency: low -Maintainer: The Nerdy Apprentice -Changed-By: The Nerdy Apprentice -Description: - clamscangui - - Un sencillo GUI para el antivirus ClamAV. - Une interface grap. -Changes: - clamscangui (1.1.92-0ubuntu1) unstable; urgency=low - . - * Corregido problema de inicio -Checksums-Sha1: - 686d4e9d0a00ab2e5b2d01790f22ba30290060ec 1827 clamscangui_1.1.92-0ubuntu1.dsc - a2ad3965a125a02ea18f04a1d52b81aa9a135d1e 4844 clamscangui_1.1.92-0ubuntu1.diff.gz - 9bb9ff90659c7509bce6aee1c329adc838bf480b 1151904 clamscangui_1.1.92-0ubuntu1_all.deb - 3588d0c89e19d35fb9566ed3e08652aff8c6a3d7 1131 clamscangui_1.1.92-0ubuntu1_amd64.buildinfo -Checksums-Sha256: - ab7590abf4c05d217c918aeec963e648f7b908b37c6cce8616f421680b2eed6d 1827 clamscangui_1.1.92-0ubuntu1.dsc - 1e01bf3af451a923782ab430644d1f5c436516f8b8b7e0639c0cc50e06b3312e 4844 clamscangui_1.1.92-0ubuntu1.diff.gz - 01da9f996f07e9ab67899f9ef9b11d70fbeca2a36fbc967f15addcd062386c30 1151904 clamscangui_1.1.92-0ubuntu1_all.deb - 5e6f7b3d8e84e617e7a9d9d1e4f2e9545d7c9d89c210b3ab64077af50c6f2bb7 1131 clamscangui_1.1.92-0ubuntu1_amd64.buildinfo -Files: - 858ba6e66a0e7b28e424332dce359fc6 1827 contrib/utils optional clamscangui_1.1.92-0ubuntu1.dsc - 7ea4bb8b74bc643191b1a3bbb9275126 4844 contrib/utils optional clamscangui_1.1.92-0ubuntu1.diff.gz - 609ce53214356f5e732961c0d3cd8ec5 1151904 contrib/utils optional clamscangui_1.1.92-0ubuntu1_all.deb - 6ba13a806781994b59d02cf08bf295dd 1131 contrib/utils optional clamscangui_1.1.92-0ubuntu1_amd64.buildinfo diff --git a/DEB_Files/clamscangui_1.1.92.orig.tar.gz b/DEB_Files/clamscangui_1.1.92.orig.tar.gz deleted file mode 100644 index 62b8b8d..0000000 Binary files a/DEB_Files/clamscangui_1.1.92.orig.tar.gz and /dev/null differ diff --git a/README.md b/README.md index 83c4f12..7363e28 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,18 @@ -# clamscangui -Última versión: 1.1.92 +# Clam Scan Gui -Repositorio de la interfaz gráfica para el antivirus ClamAV hecho en Gambas. +Interfaz gráfica hecha en Gambas para el antivirus ClamAV. El ClamAV es un poderoso antivirus open source que detecta: troyanos, virus, malware y otros amenazas. - ClamAV® is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. +>ClamAV® is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. Pueden descargarlo desde su página oficial: https://www.clamav.net/ Antiguamente estaba utilizando una interfaz gráfica bastante conocida: ClamTK (excelente programa). Pero me parecía que había posibilidades de hacerlo de otra manera. -Y por qué no? +¿Y por qué no? -Dentro de la carpeta DEB_Files están el archivo .deb para su instalación en Debian y derivados. +Para más información y ver todos mis proyectos visita: [https://thenerdyapprentice.blogspot.com/](https://thenerdyapprentice.blogspot.com/) -Si querés ver más proyectos, visitá: https://thenerdyapprentice.blogspot.com/ - -Ver el archivo ChangeLog para ver los cambios realizados. - -Gracias a Philippe Valarcher por los aportes realizados. +**Gracias a Philippe Valarcher por los aportes realizados.**