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


Tema destacado: Introducción a Git (Primera Parte)


  Mostrar Mensajes
Páginas: 1 ... 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ... 75
221  Programación / .NET (C#, VB.NET, ASP) / Re: [Ayuda] Prevenir que un Programa se Minimize o se cambie el foco de Windows. en: 15 Septiembre 2020, 00:07 am
Hola:
         no he intentado lo que planteas, ya me voya aponer a ver que pasa, pero... ¿por qué no usar el cheat directamente con combinación de teclas?

En efecto eso es lo que estoy haciendo actualmente. uso Up, Down , Left , Righ . para navegar por las opciones, un menu simple de cheat ON - OFF.



Pero deberia haber algun modo. de que al llamar a la venta del cheat. no se cambie el foco de windows. y ya con esto podria hacer un cheat con botones, textbox. etc..
222  Programación / .NET (C#, VB.NET, ASP) / [Ayuda] Prevenir que un Programa se Minimize o se cambie el foco de Windows. en: 14 Septiembre 2020, 23:25 pm
Hola, Tengo un Problemilla.

Bueno les pondre en contexto. hace unos dias que vengo desarrollando un Cheat para Among US.

Among US es un juego creado en Unity. y la mayoria de estos juegos . permiten superponer formularios (GDI) sobre el.

El cheat lo estamos desarrollando un amigo y yo.

el caso es que le dio por probar el menu que hice sobre otros juegos, y por casualidad funciono. yo me quede como wtf.

Bueno el caso es que el cheat puede superponerse sobre varios juegos . como es el caso de Operation 7...

Pero tengo un problema. y es de lo que vengo a pedir guia.



El problema que tengo es que algunos juegos al perder el "Foco" de la ventana del mismo se minimizan. y quiero prevenir esto.

Osea me refiero a que cuando se muestra el cheat encima del juego en pantalla completa. obviamente el foco de windows cambia de la venta del juego a mi cheat. y en ese momento el juego al perder el foco se minimiza.




Para solucionar esto. se me  ocurrieron varias ideas :

1) Pausar (suspender) el Proceso del juego y reanudarlo cuando oculte el cheat.

  R: Use la clase vieja de Elektro para hacer esto pero por alguna razón no sirve.
       -La clase esa esta medio bug , no me detectaba el proceso tuve que acomodarla.
  
     Por alguna razon el Proceso del juego no se suspendio. no se que paso la verdad.
     -tal vez sea el anticheat xingcode que no deja-



2) Intente Usar AppActivate , al parecer intento funcionar pero , en una milesima de segundo se pierde la el foco de la venta del juego y por ende se minimiza.
  
  R: Pondre Mi codigo a continuacion, que hice para que mantener el foco en el juego :
    
    Modo de uso :

    
Código
  1. Private ActiveProc As New ProcessActivate(ProcessGame)

    ProcessActivate.vb
    
Código
  1. Public Class ProcessActivate
  2.  
  3.    Private Shared Monitor As Boolean = True
  4.    Public Property ActivateMonitoring As Boolean
  5.        Get
  6.            Return Monitor
  7.        End Get
  8.        Set(value As Boolean)
  9.            Monitor = value
  10.        End Set
  11.    End Property
  12.  
  13.    Private ProcessName As String = String.Empty
  14.  
  15.    Public Sub New(ByVal ProcName As String)
  16.        ProcessName = ProcName
  17.  
  18.        Dim tsk As New Task(AddressOf AppActivateEx, TaskCreationOptions.LongRunning)
  19.        tsk.Start()
  20.    End Sub
  21.  
  22.    Private Sub AppActivateEx()
  23.        On Error Resume Next
  24.        Do While True
  25.            If Monitor = True Then
  26.                If Not ProcessName = String.Empty Then
  27.                    If ProcessName.ToLower.EndsWith(".exe") Then ProcessName = ProcessName.Substring(0, ProcessName.Length - 4)
  28.  
  29.                    Dim proc() As Process = Process.GetProcessesByName(ProcessName)
  30.  
  31.                    If Not proc.Length = 0 Then
  32.  
  33.                        AppActivate(proc(0).MainWindowTitle)
  34.  
  35.                    End If
  36.                End If
  37.            End If
  38.        Loop
  39.    End Sub
  40.  
  41. End Class
  42.  



Bueno Básicamente Necesito ayuda / Ideas , sobre como mantener el foco sobre la ventana del juego , aunque de click encima del Form del Cheat.

Incluso también me servia , alguna forma de tener el form del cheat desactivado aunque de click encima de el no llame al foco de ventana de windows. asi solo tendría que emular los clicks . etc..

Elektro una ayudita plox ...... :,v



Imagenes :
 

 



223  Programación / .NET (C#, VB.NET, ASP) / [Source-Code] StrelyCleaner Pro en: 21 Agosto 2020, 18:51 pm

Hola hoy publico la fuente de mi anti-malware creado en VB.Net



StrelyCleaner Pro


StrelyCleaner es un antimalware que se destaca por detectar malware creado en .Net y scripts maliciosos en su sistema.

Caracteristicas

  • Quick Scan.
  • Custom Scan
  • USB Scan
  • Booster
  • Startup Manager
  • Basic Network Scan


Si quieren mas Info visiten el repositorio :



Pagina Oficial : StrelyCleaner Oficial Page



Imagenes :

  

 

Comenten sujerencias  , ETC...
224  Seguridad Informática / Análisis y Diseño de Malware / Re: Muestra de virus Polimorfico Sality. en: 15 Agosto 2020, 23:39 pm
Me Sirvió perfectamente , gracias.
225  Seguridad Informática / Análisis y Diseño de Malware / Muestra de virus Polimorfico Sality. en: 15 Agosto 2020, 19:55 pm
Buenas, Como dice el titulo, alguien me pasa una muestra de este virus ?

Estoy haciendo una API para identificar malware, y preciso de una muestra del virus Sality.

Gracias de antemano.
226  Foros Generales / Foro Libre / Re: Tengo un problema informatico a ver si alguien me tira una idea en: 6 Agosto 2020, 02:46 am
Esta muy raro eso. basicamente los word te los abre Worpad en ves de Word - Microsoft Office.

Posiblemente, tus archivos esten dañados, o algun adware te abra Jodido la asociacion de la extensión al programa Word.



Intenta Descargar e Instalar :

Link : WPS Office

Lo descargas e Instalas, y veras como ya vuelves a abrir tus archivos Word.

Código:
 WPS Office, es una suite ofimática para Microsoft Windows, Linux, Android OS, iOS.​ Creada por el desarrollador de software Kingsoft Office en Zhuhai, China. Incluye los siguientes componentes: Writer, Presentation y Spreadsheet.​



Siempre lo uso, es mas ligero . y a mi parecer mejor que la Suite de Microsoft Office. y Muchisimo mejor que OpenOffice
227  Foros Generales / Foro Libre / Re: Arrestan a joven de 17 años como presunto ejecutor de hackeo masivo en Twitter en: 5 Agosto 2020, 15:51 pm
Esto seria la continuación hacia este post ¿no? :

 16 Julio 2020, 00:34 Un hackeo masivo afecta las cuentas de Twitter de Elon Musk, Kanye West, Bill Gates   By El_Andaluz

228  Foros Generales / Foro Libre / Re: ¿Alguien está dispuesto a hacerme un gran favor? (Universidad de Salamanca) en: 26 Julio 2020, 16:50 pm

Muchas gracias a ti por resolver mis dudas desde que llegué al foro y explicarme cosas que no tenía ni idea de como funcionaba, espero que te quedes o si no te quedas en el foro por lo menos que entre de vez en cuando a colaborar y pásate de vez en cuando por foro libre .

Igualmente te doy las gracias por todo @Elektro. y pienso igual que @El_Andaluz . espero que te quedes y bueno como antes, ayudes en el foro como siempre.

229  Programación / .NET (C#, VB.NET, ASP) / Re: WinMauseHelpersCore | Algunas funciones utiles para Cheats.... en: 10 Julio 2020, 22:34 pm
Bueno Comparto algunas funciones útiles por si creas algún Cheat en vb.net . las necesitaras.

Características :

  • GetCursorPosition ' De tipo Point , Devuelve la Posicion del Puntero del mause en el Escritorio
  • GetClientPosition  ' De tipo Point , Devuelve la Posicion de Alguna venta en el Escritorio [Juego / Applicacion]
  • GetClientCursorPosition ' De tipo Point , Devuelve la Posicion del Puntero del mause desde el Cliente  [Juego / Applicacion]
  • ShowCursor ' De tipo Bool , Muestra o Oculta el Cursor del mause
  • GetProcessHandle ' De tipo IntPtr , Obtienes el Handle de algun Proceso, By Elektro

Class WinMauseHelpersCore

Código
  1. Imports System.Runtime.InteropServices
  2.  
  3. Public Class WinMauseHelpersCore
  4.  
  5.  
  6. #Region " Pinvoke "
  7.  
  8.    <DllImport("user32.dll")> _
  9.    Private Shared Function GetCursorPos(<[In](), Out()> ByRef pt As System.Drawing.Point) As Boolean
  10.    End Function
  11.    <DllImport("user32.dll", SetLastError:=True)> _
  12.    Private Shared Function ScreenToClient(ByVal hWnd As IntPtr, ByRef lpPoint As System.Drawing.Point) As Boolean
  13.    End Function
  14.    <DllImport("user32.dll", CharSet:=CharSet.Auto)> _
  15.    Private Shared Function GetClientRect(ByVal hWnd As System.IntPtr, ByRef lpRECT As RECT) As Integer
  16.    End Function
  17.    <DllImport("user32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True)> _
  18.    Public Shared Function ShowCursor(ByVal bShow As Boolean) As Integer
  19.    End Function
  20.  
  21. #Region " Structures "
  22.  
  23.    <StructLayout(LayoutKind.Sequential)> _
  24.    Public Structure RECT
  25.        Private _Left As Integer, _Top As Integer, _Right As Integer, _Bottom As Integer
  26.  
  27.        Public Sub New(ByVal Rectangle As Rectangle)
  28.            Me.New(Rectangle.Left, Rectangle.Top, Rectangle.Right, Rectangle.Bottom)
  29.        End Sub
  30.        Public Sub New(ByVal Left As Integer, ByVal Top As Integer, ByVal Right As Integer, ByVal Bottom As Integer)
  31.            _Left = Left
  32.            _Top = Top
  33.            _Right = Right
  34.            _Bottom = Bottom
  35.        End Sub
  36.  
  37.        Public Property X As Integer
  38.            Get
  39.                Return _Left
  40.            End Get
  41.            Set(ByVal value As Integer)
  42.                _Right = _Right - _Left + value
  43.                _Left = value
  44.            End Set
  45.        End Property
  46.        Public Property Y As Integer
  47.            Get
  48.                Return _Top
  49.            End Get
  50.            Set(ByVal value As Integer)
  51.                _Bottom = _Bottom - _Top + value
  52.                _Top = value
  53.            End Set
  54.        End Property
  55.        Public Property Left As Integer
  56.            Get
  57.                Return _Left
  58.            End Get
  59.            Set(ByVal value As Integer)
  60.                _Left = value
  61.            End Set
  62.        End Property
  63.        Public Property Top As Integer
  64.            Get
  65.                Return _Top
  66.            End Get
  67.            Set(ByVal value As Integer)
  68.                _Top = value
  69.            End Set
  70.        End Property
  71.        Public Property Right As Integer
  72.            Get
  73.                Return _Right
  74.            End Get
  75.            Set(ByVal value As Integer)
  76.                _Right = value
  77.            End Set
  78.        End Property
  79.        Public Property Bottom As Integer
  80.            Get
  81.                Return _Bottom
  82.            End Get
  83.            Set(ByVal value As Integer)
  84.                _Bottom = value
  85.            End Set
  86.        End Property
  87.        Public Property Height() As Integer
  88.            Get
  89.                Return _Bottom - _Top
  90.            End Get
  91.            Set(ByVal value As Integer)
  92.                _Bottom = value + _Top
  93.            End Set
  94.        End Property
  95.        Public Property Width() As Integer
  96.            Get
  97.                Return _Right - _Left
  98.            End Get
  99.            Set(ByVal value As Integer)
  100.                _Right = value + _Left
  101.            End Set
  102.        End Property
  103.        Public Property Location() As Point
  104.            Get
  105.                Return New Point(Left, Top)
  106.            End Get
  107.            Set(ByVal value As Point)
  108.                _Right = _Right - _Left + value.X
  109.                _Bottom = _Bottom - _Top + value.Y
  110.                _Left = value.X
  111.                _Top = value.Y
  112.            End Set
  113.        End Property
  114.        Public Property Size() As Size
  115.            Get
  116.                Return New Size(Width, Height)
  117.            End Get
  118.            Set(ByVal value As Size)
  119.                _Right = value.Width + _Left
  120.                _Bottom = value.Height + _Top
  121.            End Set
  122.        End Property
  123.  
  124.        Public Shared Widening Operator CType(ByVal Rectangle As RECT) As Rectangle
  125.            Return New Rectangle(Rectangle.Left, Rectangle.Top, Rectangle.Width, Rectangle.Height)
  126.        End Operator
  127.        Public Shared Widening Operator CType(ByVal Rectangle As Rectangle) As RECT
  128.            Return New RECT(Rectangle.Left, Rectangle.Top, Rectangle.Right, Rectangle.Bottom)
  129.        End Operator
  130.        Public Shared Operator =(ByVal Rectangle1 As RECT, ByVal Rectangle2 As RECT) As Boolean
  131.            Return Rectangle1.Equals(Rectangle2)
  132.        End Operator
  133.        Public Shared Operator <>(ByVal Rectangle1 As RECT, ByVal Rectangle2 As RECT) As Boolean
  134.            Return Not Rectangle1.Equals(Rectangle2)
  135.        End Operator
  136.  
  137.        Public Overrides Function ToString() As String
  138.            Return "{Left: " & _Left & "; " & "Top: " & _Top & "; Right: " & _Right & "; Bottom: " & _Bottom & "}"
  139.        End Function
  140.  
  141.        Public Overloads Function Equals(ByVal Rectangle As RECT) As Boolean
  142.            Return Rectangle.Left = _Left AndAlso Rectangle.Top = _Top AndAlso Rectangle.Right = _Right AndAlso Rectangle.Bottom = _Bottom
  143.        End Function
  144.        Public Overloads Overrides Function Equals(ByVal [Object] As Object) As Boolean
  145.            If TypeOf [Object] Is RECT Then
  146.                Return Equals(DirectCast([Object], RECT))
  147.            ElseIf TypeOf [Object] Is Rectangle Then
  148.                Return Equals(New RECT(DirectCast([Object], Rectangle)))
  149.            End If
  150.  
  151.            Return False
  152.        End Function
  153.    End Structure
  154.  
  155. #End Region
  156.  
  157.    Public Function GetCursorPosition() As System.Drawing.Point
  158.        Dim CursorPos As New System.Drawing.Point
  159.        GetCursorPos(CursorPos)
  160.        Return CursorPos
  161.    End Function
  162.  
  163.    Public Function GetClientPosition(ByVal hWnd As IntPtr) As System.Drawing.Point
  164.        Dim ClientPos As New System.Drawing.Point
  165.        ScreenToClient(hWnd, ClientPos)
  166.        Return ClientPos
  167.    End Function
  168.  
  169.    Public Function GetClientCursorPosition(ByVal hWnd As IntPtr) As System.Drawing.Point
  170.        Dim ClientCursorPos As New System.Drawing.Point
  171.        Dim CursorPos As System.Drawing.Point = GetCursorPosition()
  172.        Dim ClientPos As System.Drawing.Point = GetClientPosition(hWnd)
  173.        ClientCursorPos = New System.Drawing.Point(CursorPos.X + ClientPos.X, CursorPos.Y + ClientPos.Y)
  174.        Return ClientCursorPos
  175.    End Function
  176.  
  177.    Public Function GetProcessHandle(ByVal ProcessName As String) As IntPtr
  178.        If ProcessName.ToLower.EndsWith(".exe") Then ProcessName = ProcessName.Substring(0, ProcessName.Length - 4)
  179.        Dim ProcessArray = Process.GetProcessesByName(ProcessName)
  180.        If ProcessArray.Length = 0 Then Return Nothing Else Return ProcessArray(0).MainWindowHandle
  181.    End Function
  182.  
  183. #End Region
  184.  
  185. End Class
  186.  

230  Foros Generales / Foro Libre / Re: Meteoro explota sobre Japón: liberó energía equivalente a 150 toneladas de TNT en: 7 Julio 2020, 22:50 pm


Páginas: 1 ... 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ... 75
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines