-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
687 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Creado por SharpDevelop. | ||
* Usuario: GNR092 | ||
* Fecha: 06/02/2017 | ||
* Hora: 08:04 p.m. | ||
* | ||
* Para cambiar esta plantilla use Herramientas | Opciones | Codificación | Editar Encabezados Estándar | ||
*/ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Windows.Forms; | ||
|
||
namespace SecureGameGuard | ||
{ | ||
public class AutoClosingMessageBox | ||
{ | ||
System.Threading.Timer _timeoutTimer; | ||
string _caption; | ||
|
||
AutoClosingMessageBox(string text, string caption, int timeout) | ||
{ | ||
_caption = caption; | ||
_timeoutTimer = new System.Threading.Timer(OnTimerElapsed, | ||
null, timeout, System.Threading.Timeout.Infinite); | ||
MessageBox.Show(text, caption, MessageBoxButtons.OK, MessageBoxIcon.Information); | ||
} | ||
|
||
public static void Show(string text, string caption, int timeout) | ||
{ | ||
new AutoClosingMessageBox(text, caption, timeout); | ||
} | ||
|
||
private void OnTimerElapsed(object state) | ||
{ | ||
IntPtr mbWnd = FindWindow(null, _caption); | ||
if (mbWnd != IntPtr.Zero) | ||
SendMessage(mbWnd, WM_CLOSE, IntPtr.Zero, IntPtr.Zero); | ||
_timeoutTimer.Dispose(); | ||
} | ||
|
||
const int WM_CLOSE = 0x0010; | ||
[DllImport("user32.dll", SetLastError = true)] | ||
static extern IntPtr FindWindow(string lpClassName, string lpWindowName); | ||
[DllImport("user32.dll", CharSet = CharSet.Auto)] | ||
static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Creado por SharpDevelop. | ||
* Usuario: GNR092 | ||
* Fecha: 06/02/2017 | ||
* Hora: 08:04 p.m. | ||
* | ||
* Para cambiar esta plantilla use Herramientas | Opciones | Codificación | Editar Encabezados Estándar | ||
*/ | ||
using System.Text; | ||
|
||
namespace SecureGameGuard | ||
{ | ||
public class DataEncript | ||
{ | ||
public static byte[] DataEncrip(int num0) | ||
{ | ||
|
||
byte[] encryted =Encoding.Unicode.GetBytes(num0.ToString()); | ||
|
||
return encryted; | ||
} | ||
|
||
public static int DataDesencrip(byte[] num0) | ||
{ | ||
string str = string.Empty; | ||
int num1 = 0; | ||
try | ||
{ | ||
str = Encoding.Unicode.GetString(num0); | ||
int.TryParse(str, out num1); | ||
return num1; | ||
} | ||
catch | ||
{ | ||
|
||
return -1; | ||
} | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Creado por SharpDevelop. | ||
* Usuario: GNR092 | ||
* Fecha: 06/02/2017 | ||
* Hora: 08:04 p.m. | ||
* | ||
* Para cambiar esta plantilla use Herramientas | Opciones | Codificación | Editar Encabezados Estándar | ||
*/ | ||
using System.Collections.Generic; | ||
|
||
namespace SecureGameGuard | ||
{ | ||
public class DList | ||
{ | ||
public List<string> Default = new List<string>(); | ||
public DList() | ||
{ | ||
Default.Add("Cheat Engine"); | ||
Default.Add("Engine"); | ||
Default.Add("Cheat"); | ||
Default.Add("CheatEngine"); | ||
Default.Add("Nopde"); | ||
Default.Add("Jakes"); | ||
Default.Add("Hack"); | ||
Default.Add("Hax"); | ||
Default.Add("Poke"); | ||
Default.Add("ArtMoney"); | ||
Default.Add("ollydbg"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Creado por SharpDevelop. | ||
* Usuario: GNR092 | ||
* Fecha: 06/02/2017 | ||
* Hora: 08:04 p.m. | ||
* | ||
* Para cambiar esta plantilla use Herramientas | Opciones | Codificación | Editar Encabezados Estándar | ||
*/ | ||
namespace SecureGameGuard | ||
{ | ||
public enum TypeInvoke | ||
{ | ||
Text, | ||
progressbar, | ||
} | ||
} |
Oops, something went wrong.