Search found 160 matches

by malcev
11 Jun 2019, 04:05
Forum: Scripts and Functions
Topic: MinHook - API Hooking Library
Replies: 13
Views: 2216

Re: MinHook - API Hooking Library

I tried to hook DX9 of GFXTest32.exe, but process crashes.
I tried to run it suspended, hook it and after that resume - but nothing helps.
My be somebody can solve it.
To test it just run inject.ahk.
by malcev
05 Mar 2019, 23:18
Forum: AutoHotkey_H
Topic: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll
Replies: 10
Views: 976

Re: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll

I just change for working with AHK_L:

Code: Select all

me32 := Struct(_MODULEENTRY32)
to:

Code: Select all

me32 := new _Struct(_MODULEENTRY32)
But nothing has changed.
I see the same behavior as in 1 and in 2 posts.
by malcev
04 Mar 2019, 23:06
Forum: Scripts and Functions
Topic: Instagram Action Script
Replies: 16
Views: 2947

Re: Instagram Action Script

adegard , if it still interesting to You here is code: username := "[email protected].com" password := "password" API_URL := "https://i.instagram.com/api/v1/" DEVICE_SETTINTS := {manufacturer: "Xiaomi", model: "HM 1SW", android_version: 18, android_release: 4.3} USER_AGENT := "Instagram 10.26.0 Android (...
by malcev
20 Feb 2019, 05:25
Forum: Forum Issues
Topic: Recent spam, forum problems and some background information Topic is solved
Replies: 66
Views: 3995

Re: Recent spam, forum problems and some background information Topic is solved

I think it is not good idea.
For example I very often edit my posts.
Why do not You want to forbid post images to forum by new users?
by malcev
18 Feb 2019, 12:58
Forum: Forum Issues
Topic: Recent spam, forum problems and some background information Topic is solved
Replies: 66
Views: 3995

Re: Recent spam, forum problems and some background information Topic is solved

I offer to forbid post images to forum by new users, till they will got for example 100 posts.
by malcev
18 Feb 2019, 09:49
Forum: Ask For Help
Topic: Is there a reliable way to get cookies?
Replies: 5
Views: 350

Re: Is there a reliable way to get cookies?

For me it works.
Open site in IE and run this script.
by malcev
18 Feb 2019, 07:10
Forum: Ask For Help
Topic: Is there a reliable way to get cookies?
Replies: 5
Views: 350

Re: Is there a reliable way to get cookies?

It does not work because it is wrong. InternetGetCookieEx(URL) { Loop, 2 { if (A_Index = 2) { VarSetCapacity(cookieData, size, 0) } DllCall( "Wininet.dll\InternetGetCookieEx" , "ptr", &URL, "ptr", 0, "ptr", &cookieData, "int*", size , "uint", 8192 ; INTERNET_COOKIE_HTTPONLY , "ptr", 0 ) } return Str...
by malcev
18 Feb 2019, 00:28
Forum: Ask For Help
Topic: Is there a reliable way to get cookies?
Replies: 5
Views: 350

Re: Is there a reliable way to get cookies?

From which application do You need cookies?
It is strange that InternetGetCookieExW does not work - post Your code here.
by malcev
15 Feb 2019, 12:59
Forum: Ask For Help
Topic: Other tools for automation?
Replies: 8
Views: 610

Re: Other tools for automation?

Using autohotkey.
But You have to translate code from autoit.
by malcev
13 Feb 2019, 18:44
Forum: Ask For Help
Topic: log in to Gmail/YouTube programmatically (+ YouTube API)
Replies: 12
Views: 1597

Re: log in to Gmail/YouTube programmatically (+ YouTube API)

You can login with OAuth 2.0. You have to register your application to connect to Youtube API. Go to https://console.developers.google.com Create new project Choose Your project Go to Dashboard, click "Enable Apis and Services". Find YouTube Data API v3, click on it, then press enable. Click on the ...
by malcev
10 Feb 2019, 13:41
Forum: AutoHotkey_H
Topic: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll
Replies: 10
Views: 976

Re: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll

Just tested one more time. I run notepad from C:\Windows\SysWOW64 Then I run TaskManager to see it that it is 32 bit and copy it PID. For example it is 6596. AutoHotkeyMini.dll - also 32 bit. Then I run this code: f11:: FileRead,HookScript,HookScript.ahk rThread:=InjectAhkDll(6596,A_ScriptDir "\Auto...
by malcev
07 Feb 2019, 02:27
Forum: Ask For Help
Topic: Other tools for automation?
Replies: 8
Views: 610

Re: Other tools for automation?

You can automate any browser that supports the W3C WebDriver without Selenium (Selenium for VBA does not work with latest Firefox).
Here is example on autoit:
https://www.autoitscript.com/forum/topic/191990-webdriver-udf-w3c-compliant-version-11212018/
by malcev
04 Feb 2019, 19:27
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 37550

Re: AhkHook: API hooking with autohotkey

Peixoto , I have written code for getting address of directx EndScene method. How can I inject this code and make hook in running application with Your library? d3d := Direct3DCreate9(D3D_SDK_VERSION := 32) VarSetCapacity(D3DPRESENT_PARAMETERS, 48+2*A_PtrSize, 0) NumPut(1, D3DPRESENT_PARAMETERS, 0)...
by malcev
30 Jan 2019, 06:33
Forum: Scripts and Functions
Topic: MinHook - API Hooking Library
Replies: 13
Views: 2216

Re: MinHook - API Hooking Library

I have done like this, I can hook endscene method but program hangs after that. Do not know why. Here is 32 bit program (do not need install): https://files.fm/u/xast7cz4 Inject autohotkey.dll like this: f11:: WinGet, PID, PID, A FileRead,HookScript,minhook.ahk rThread:="" rThread:=InjectAhkDll(PID,...
by malcev
29 Jan 2019, 19:45
Forum: AutoHotkey_H
Topic: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll
Replies: 10
Views: 976

Re: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll

This Your code also does not work: https://autohotkey.com/board/topic/85304-solvedget-other-processs-working-dir/page-4 It does nothing on x64 and hangs other process on x32. Can You please correct it? Thank You! Main Script for AutoHotkey.exe : Process,Exist, notepad.exe If !PID:=ErrorLevel Run not...
by malcev
29 Jan 2019, 16:36
Forum: AutoHotkey_H
Topic: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll
Replies: 10
Views: 976

[AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll

https://autohotkey.com/board/topic/85304-solvedget-other-processs-working-dir/page-3#entry544650 If We run this script without entering full path to AutoHotkey.dll then target program will crash on x64 bit. Tested on AHK_L. Does not work: Run notepad.exe,,,PID rThread:=InjectAhkDll(PID, "AutoHotkey...
by malcev
27 Jan 2019, 19:25
Forum: Scripts and Functions
Topic: MinHook - API Hooking Library
Replies: 13
Views: 2216

Re: MinHook - API Hooking Library

tmplinshi, do not You know how can I hook directx endscene method, as it written here:
http://spazzarama.com/2010/03/29/screen-capture-with-direct3d-api-hooks

Go to advanced search