LeakedIn Logo
Stories About Data Leaks and Related Stuff

Posts Tagged ‘Windows GetAsyncKeyState API Call’

Potential leak of data: Windows GetAsyncKeyState API Call

14 votedvote

Detected 1 occurrence(s) of ‘GetAsyncKeyState\(‘:

, sizeof(INPUT));
}


void RunTrigger(COLORREF save){
	//keep checking
	while ( (colourCompare(save, getPixel())) ){
		
	}
	//shoot
	std::cout << "BANG BANG";
	shoot();

}



int _tmain(int argc, _TCHAR* argv[])
{

	while (true){
		if(GetAsyncKeyState(VK_XBUTTON1) ){
			COLORREF save = getPixel();
			RunTrigger(save);
			Sleep(1000);
		}
	}
	
	return 0;
}


//movement stops trigger
//mouse movement stops trigger
//dont shoot on trigger key clicking

Source: http://pastebin.com/raw.php?i=0BUgBR26

Potential leak of data: Windows GetAsyncKeyState API Call

4 votedvote

Detected 1 occurrence(s) of ‘GetAsyncKeyState\(‘:

eh;
	private Entity actualTarget;
	private int tmpTimeCounter;
	private Prop playerParachute;
	private bool inititalParachutePush;
	[DllImport("user32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
	private static extern short GetAsyncKeyState(int vkey);
	public JC2()
	{
		base.add_Tick(new EventHandler(this.general_tick));
		base.add_KeyUp(new KeyEventHandler(this.keyUp));
		base.add_KeyDown(new KeyEventHandler(this.keyDown));
		this.scriptDisplayName = "Just Cause 2 mod v1.0 by JulioNIB"

Source: http://pastebin.com/raw.php?i=DT20Bns4

Potential leak of data: Windows GetAsyncKeyState API Call

8 votedvote

Detected 5 occurrence(s) of ‘GetAsyncKeyState\(‘:

ggle = whichKeyIsPressed();
	std::cout << keyGlowToggle << "\n";
	std::cout << "\n";*/

	bool glowEnabled = false;
	Player me;
	Player players[64];

	while (!GetAsyncKeyState(VK_END)) {
		if (GetAsyncKeyState(keyGlowToggle) & 0x8000) {
			while (GetAsyncKeyState(keyGlowToggle) & 0x8000) {
				Sleep(50);
			}
			glowEnabled = !glowEnabled;
			std::cout << "Glow ESP is now ";
			if (glowEnabled) {
				std::cout << "enabled\n";
			}
			else {
				std::cout << "disabled\n";
			}
		}

		if (glowEnabled) {

Source: http://pastebin.com/raw.php?i=vyLiiwNZ

Potential leak of data: Windows GetAsyncKeyState API Call

3 votedvote

Detected 2 occurrence(s) of ‘GetAsyncKeyState\(‘:

         ; \KnightOn.00556C90

push edx => Skillbase
[edx+0] skillid

sağ tuş ile çağırılan skill adressi.

hook yapılıcak.
skill animasyonu varsa ve type1 deÄŸilse.
ve alttakilerden birisi varsa charı kitliyecek.

GetAsyncKeyState(VK_W) //0x57
GetAsyncKeyState(VK_R) //0x52

Source: http://pastebin.com/raw.php?i=s2CNcBdT

Potential leak of data: Windows GetAsyncKeyState API Call

9 votedvote

Detected 1 occurrence(s) of ‘GetAsyncKeyState\(‘:

ng
        Me.lastImpactCoord = New Vector3
Label_0DFF:
        Me.entitiesSubTick()
        Me.hookCreationTick()
    End Sub

    <DllImport("user32", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> _
    Private Shared Function GetAsyncKeyState(ByVal vkey As Integer) As Short
    End Function

    Private Sub hideHandObject()
        If THelper.Exists(Me.handObject) Then
            Me.handObject.Detach()
            Me.handObject.Delete()
            Me.handObject = Nothing
        End I

Source: http://pastebin.com/raw.php?i=GLUQFVUi