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

 

 


Tema destacado: Rompecabezas de Bitcoin, Medio millón USD en premios


  Mostrar Mensajes
Páginas: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ... 72
51  Foros Generales / Foro Libre / Re: Conflicto Ucrania-Rusia,EEUU, OTAN, Europa. (Todas las noticias relacionadas irán aquí) en: 12 Abril 2023, 00:31 am
La ONU advierte de que los "riesgos nucleares son alarmantemente altos"






La ONU advirtió este lunes de que en estos momentos los "riesgos nucleares son alarmantemente altos" y pidió a todos los países evitar cualquier acción que pueda llevar a un error de cálculo o a una escalada de la tensión. La organización respondió así a preguntas sobre el acuerdo anunciado este sábado por el presidente ruso, Vladímir Putin, para el despliegue de armas nucleares tácticas en Bielorrusia, algo que ha sido muy criticado por Occidente.

"Obviamente estamos preocupados por el estado general de las tensiones sobre armas nucleares que hemos visto recientemente", dijo el portavoz Stéphane Dujarric, que recordó que todos los Estados -tanto las potencias atómicas como el resto- deben cumplir con sus obligaciones bajo el Tratado de No Proliferación Nuclear.






Proximamente.... Explosión nuclear en Ucrania .... Ambos bandos se culpan....  :-X

52  Programación / .NET (C#, VB.NET, ASP) / [Source] Counter-Strike 1.6 Mini-Cheat en: 14 Marzo 2023, 19:02 pm
Hola, Se me ocurrio hacer un Overlay utilizando el mismo metodo que usan los 'Wallpapers Engines' en windows . a su vez use CS 1.6 como base para las pruebas .

Como resultado hice este mini-cheat.

Codigo Fuente:   https://github.com/DestroyerDarkNess/CS16_MinHook

Descarga: https://www.mediafire.com/file/4pbedzxdx4y754p/CS16_MinHook.zip/file

53  Programación / Scripting / [APORTE] Interoperabilidad entre Windows Script Host y .NET en: 12 Febrero 2023, 01:04 am
Hola, vengo con un proyecto algo loco. Si entendiste el titulo ya sabes de que va.

Estoy creando una libreria COM , que permite usar .Net Framework desde script (VBS/JS).

Les dejo el repo: https://github.com/DestroyerDarkNess/Script.Interop.Net

Son bienvenidos a contribuir .



Pasos para utilizar :

1) Descargar la version experimental que publique : Script.Interop.Net.zip

2) Ejecutar el archivo ('Register COM.BAT')

3) Crea tu script vbs , he aqui un pequeño ejemplo (Crea un formulario (Winform) de .NET) :

Código
  1. ' Call Core
  2. Dim InteropDotNet  : Set InteropDotNet = CreateObject("Script.Interop.Net.Linker")
  3. ' Create Import/using (equivalent)
  4. Dim AssemblyTarget : Set AssemblyTarget = InteropDotNet.GetAssembly("System.Windows.Forms")
  5. ' Get Form Class From AssemblyTarget
  6. Dim ClassType : Set ClassType = AssemblyTarget.GetTypeByAssembly("Form")
  7. ' Create New Form Instance.
  8. Dim FormNewInstance : Set FormNewInstance = ClassType.CreateInstance()
  9. ' Set Form Title
  10. FormNewInstance.Text = "New Form"
  11. ' Show Form
  12. FormNewInstance.ShowDialog()



He publicado la lista de objetivos en el repo de github, los que ya complete y los que estan por complear. Hay varios poblemas , si hay un guru de vbs en el foro y quiera colaborar. es bienvenido.

PD: Si logro completar este proyecto , entonces seria una gran utilidad y suplantaria este post : [IMPRESIONANTE] Crear Formularios en VBS!

Cuando termine el proyecto , creo que seria buena idea fijar este post en la sección de script.

Gracias por Leer , Porfavor comenta!  ;D




54  Programación / .NET (C#, VB.NET, ASP) / Re: ¿Cuál es el mejor archivo para guardar y recuperar datos? en: 12 Febrero 2023, 00:11 am
No sabria decirte, pero en mi caso yo siempre uso JSON . Puedes usar la popular libreria : Newtonsoft.Json , aunque yo siempre uso la que te suministra el .net framework 'System.Web.Extensions' (JavaScriptSerializer) 


55  Programación / .NET (C#, VB.NET, ASP) / Re: Librería de Snippets para VB.NET !! (Compartan aquí sus snippets) en: 29 Enero 2023, 21:10 pm

FastArgumentParser

Parsea Argumentos de manera rapida y sencilla.

( click en la imagen para ir código fuente en Github)




Codigo Fuente

FastArgumentParser.vb

Código
  1. ' ***********************************************************************
  2. ' Author   : Destroyer
  3. ' Github   : https://github.com/DestroyerDarkNess
  4. ' Modified : 26-1-2023
  5. ' ***********************************************************************
  6. ' <copyright file="FastArgumentParser.vb" company="S4lsalsoft">
  7. '     Copyright (c) S4lsalsoft. All rights reserved.
  8. ' </copyright>
  9. ' ***********************************************************************
  10.  
  11. #Region " Usage Examples "
  12.  
  13. ''Commandline Arguments
  14. '' This contains the following:
  15. '' -file "d3d9.h" -silent 0x146 H&146
  16. 'Dim CommandLineArgs As String() = Environment.GetCommandLineArgs
  17.  
  18. 'Dim FastArgumentParser As Core.FastArgumentParser = New Core.FastArgumentParser()
  19.  
  20. '' Optional Config
  21. '' FastArgumentParser.ArgumentDelimiter = "-"
  22.  
  23. '' Set your Arguments
  24. 'Dim FileA As IArgument = FastArgumentParser.Add("file").SetDescription("file name")
  25. 'Dim SilentA As IArgument = FastArgumentParser.Add("silent").SetDescription("start silent")
  26.  
  27. '' Parse Arguments
  28. 'FastArgumentParser.Parse(CommandLineArgs)
  29. '' Or
  30. '' FastArgumentParser.Parse(CommandLineArgs, " ") ' To config Parameters Delimiter
  31.  
  32.  
  33. '' Get Arguments Values
  34. 'Console.WriteLine("Argument " & FileA.Name & " Value is: " & FileA.Value)
  35. 'Console.WriteLine("Argument " & SilentA.Name & " Value is: " & SilentA.Value)
  36.  
  37. #End Region
  38.  
  39. #Region " Imports "
  40.  
  41. Imports System.Collections.Specialized
  42.  
  43. #End Region
  44.  
  45. Namespace Core
  46.  
  47.    Public Class FastArgumentParser
  48.  
  49.        Private Property ArgumentList As List(Of IArgument)
  50.        Public Property ArgumentDelimiter As String = "-"
  51.  
  52.        Private UnknownArgs As New List(Of IArgument)
  53.        Public ReadOnly Property UnknownArguments As List(Of IArgument)
  54.            Get
  55.                Return UnknownArgs
  56.            End Get
  57.        End Property
  58.  
  59.        Public ReadOnly Property Count As Integer
  60.            Get
  61.                Return ArgumentList.Count()
  62.            End Get
  63.        End Property
  64.  
  65.        Public Sub New()
  66.            ArgumentList = New List(Of IArgument)
  67.        End Sub
  68.  
  69.        Public Function Add(ByVal name As String) As IArgument
  70.            If name.StartsWith(ArgumentDelimiter) = False Then name = ArgumentDelimiter & name
  71.            Dim ArgHandler As IArgument = New IArgument() With {.Name = name}
  72.            ArgumentList.Add(ArgHandler)
  73.            Return ArgHandler
  74.        End Function
  75.  
  76.        Public Sub Parse(ByVal args As String(), Optional ByVal ParameterDelimiter As String = " ")
  77.            Dim argCol As StringCollection = New StringCollection()
  78.            argCol.AddRange(args)
  79.  
  80.            Dim strEnum As StringEnumerator = argCol.GetEnumerator()
  81.  
  82.            Dim CountRequiredArg As Integer = 0
  83.  
  84.            Dim LastArg As IArgument = Nothing
  85.  
  86.            While strEnum.MoveNext()
  87.  
  88.                If strEnum.Current.StartsWith(ArgumentDelimiter) Then
  89.                    Dim GetArg As IArgument = GetArgCommand(strEnum.Current)
  90.                    LastArg = GetArg
  91.  
  92.                    If GetArg Is Nothing Then
  93.                        Dim UnknownA As IArgument = New IArgument With {.Name = strEnum.Current}
  94.                        UnknownArgs.Add(UnknownA)
  95.                    End If
  96.  
  97.                Else
  98.                    If LastArg IsNot Nothing Then
  99.                        If Not LastArg.Value = String.Empty Then LastArg.Value += ParameterDelimiter
  100.                        LastArg.Value += strEnum.Current
  101.                        Continue While
  102.                    End If
  103.                End If
  104.  
  105.            End While
  106.  
  107.        End Sub
  108.  
  109.        Private Function GetArgCommand(ByVal NameEx As String) As IArgument
  110.            For Each item In ArgumentList
  111.                If NameEx.Equals(item.Name) Then Return item
  112.            Next
  113.            Return Nothing
  114.        End Function
  115.  
  116.  
  117.    End Class
  118.  
  119.    Public Class IArgument
  120.        Public Property Name As String = String.Empty
  121.        Public Property Description As String = String.Empty
  122.        Public Property Value As String = String.Empty
  123.  
  124.        Public Function SetDescription(ByVal _text As String) As IArgument
  125.            Me.Description = _text
  126.            Return Me
  127.        End Function
  128.    End Class
  129.  
  130. End Namespace
  131.  
  132.  

Ejemplo de Uso:

Código
  1. 'Commandline Arguments
  2.        ' This contains the following:
  3.        ' -file "d3d9.h" -silent 0x146 H&146
  4.        Dim CommandLineArgs As String() = Environment.GetCommandLineArgs
  5.  
  6.        Dim FastArgumentParser As Core.FastArgumentParser = New Core.FastArgumentParser()
  7.  
  8.        ' Optional Config
  9.        ' FastArgumentParser.ArgumentDelimiter = "-"
  10.  
  11.        ' Set your Arguments
  12.        Dim FileA As IArgument = FastArgumentParser.Add("file").SetDescription("file name")
  13.        Dim SilentA As IArgument = FastArgumentParser.Add("silent").SetDescription("start silent")
  14.  
  15.        ' Parse Arguments
  16.        FastArgumentParser.Parse(CommandLineArgs)
  17.        ' Or
  18.        ' FastArgumentParser.Parse(CommandLineArgs, " ") ' To config Parameters Delimiter
  19.  
  20.  
  21.        ' Get Arguments Values
  22.        Console.WriteLine("Argument " & FileA.Name & " Value is: " & FileA.Value)
  23.        Console.WriteLine("Argument " & SilentA.Name & " Value is: " & SilentA.Value)
  24.  
56  Foros Generales / Dudas Generales / Re: No puedo enviar imágenes en Facebook Messenger, por qué? en: 2 Enero 2023, 20:42 pm
Dale los permisos a la aplicaccion. Si no funciona, elimina todos los datos de la app y vuelve a intentar.
57  Programación / Scripting / Re: Hacer este código en bat. en: 1 Enero 2023, 18:33 pm
Aqui tienes bro. Feliz año.  ;D

Código
  1. @echo off
  2. :Sub_Main
  3. CLS
  4. set /p File="Archivo a borrar ^>^>^> "
  5. if not exist %File% (goto:Sub_Error)
  6. echo "Archivo encontrado. Esperando 5 segundos para eliminar..."
  7. timeout /t 5 /nobreak
  8. del %File%
  9. echo "Archivo  %File%  borrado."
  10. pause & exit
  11.  
  12. :Sub_Error
  13. echo "Archivo no encontrado."
  14. pause & exit
58  Foros Generales / Foro Libre / Re: Feliz año 2023!!! en: 1 Enero 2023, 18:03 pm
Feliz año nuevo a todos!!  ;D
59  Foros Generales / Foro Libre / Re: Feliz navidad a toda la gran comunidad de este foro!Feliz navidad a toda la gran comunidad de este foro!!!! en: 25 Diciembre 2022, 20:13 pm
Feliz Navidad a todos!!  ;D
60  Informática / Software / Xylateware Pro - Wallpaper [Live - Browser - Engine] en: 25 Diciembre 2022, 18:32 pm
Hola, Primeramente FELIZ Navidad.  ;D


Se acuerdan de este Post ? establece un gif fondo de escritorio

Bueno , He Hecho la app desde 0, completamente nueva. ahora no solo acepta gif, ahora acepta otros formatos de imagenes y video. tipo el conocido wallpaper engine, pero para pobres como yo xD .

Intente optimizarla completamente , para que funcione en cualquier PC , con uso minimo de recursos.



Entren a la comunidad de Reddit, Donde encontraran Informacion, Noticias e Incluso Paquetes de Wallpapers para Xylateware. ;D





Requisitos (he optimizado demasiado esta aplicacion, he hecho de todo para que funcione en tostadoras)

  • .NET Framework 4.6
  • 1GB Ram (como minimo)
  • CPU: (Funciona hasta en un Intel pentium 4)
  • 200mb de espacio en el disco.

SO Compatible

     














Preview




Me ayudaria mucho cualquier Idea o comentario. Gracias por leer  ;)




Páginas: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ... 72
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines