Search found 110 matches

by whynotregister
30 Oct 2019, 01:31
Forum: Ask For Help
Topic: D3D9 Ordinal address
Replies: 0
Views: 172

D3D9 Ordinal address

The ordinal address is not a dll function, so I don't know how to get it.

Image

CE can obtain addresses in the form d3d9.ordinal. how can I get the d3d9 ordinal address in ahk? :wtf:
by whynotregister
24 Oct 2019, 05:32
Forum: Ask For Help
Topic: Classmemory readbytes Topic is solved
Replies: 2
Views: 165

Re: Classmemory readbytes Topic is solved

You're reading the memory as a string. The 00 byte in a string acts as a null terminator, i.e. it ends the string. What are you trying to do with the string of hex bytes after you read it? https://i.imgur.com/5IDwX2W.png calc.readRaw(0x283E85E1196, myBuffer, 10) msgbox % bufferToHex(myBuffer, 10) b...
by whynotregister
24 Oct 2019, 00:54
Forum: Ask For Help
Topic: Classmemory readbytes Topic is solved
Replies: 2
Views: 165

Classmemory readbytes Topic is solved

There is no function readbytes in classmemory, so I temporarily used the following method: #include classmemory.ahk StringToHex(String) { local Old_A_FormatInteger, CharHex, HexString If !String Return 0 ;Save the current Integer format Old_A_FormatInteger := A_FormatInteger SetFormat, INTEGER, H Lo...
by whynotregister
09 Oct 2019, 08:35
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Re: Unload dll loaded running process Topic is solved

jNizM wrote:
09 Oct 2019, 08:32
Edit: fixed typo
Please recheck
:D This works fine for both unicode ascii
by whynotregister
09 Oct 2019, 08:11
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Re: Unload dll loaded running process Topic is solved

Can you test the rewritten function? DllUnInject(ProcessID, ModuleName) { static TH32CS_SNAPMODULE := 0x00000008 static STANDARD_RIGHTS_REQUIRED := 0x000F0000 static SYNCHRONIZE := 0x00100000 static PROCESS_ALL_ACCESS := (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFFF) static INFINITE := 0xFFFFFFF...
by whynotregister
09 Oct 2019, 06:47
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Re: Unload dll loaded running process Topic is solved

jNizM wrote:
09 Oct 2019, 06:31
Your welcome :)
Maybe I write a function to uninject all unwanted Dll's like the tool from novirusthanks (https://www.novirusthanks.org/products/dll-uninjector/)

And I will rewrite the EjectDll function for better error handling
thank your good feedback. :mrgreen:
by whynotregister
09 Oct 2019, 06:11
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Re: Unload dll loaded running process Topic is solved

jNizM wrote:
09 Oct 2019, 05:54
Edit code: missed a comma and a typo mistake

And solved. Thank you so much for help :thumbup: me.!!
by whynotregister
09 Oct 2019, 05:24
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Re: Unload dll loaded running process Topic is solved

Without tests and at your own risk or I need more info, how I can test the code on my side Process, Exist, notepad.exe ProcessID := ErrorLevel MsgBox % EjectDll(ProcessID, "user32.dll") EjectDll(ProcessID, ModuleName) { static TH32CS_SNAPMODULE := 0x00000008 static STANDARD_RIGHTS_REQUIRED := 0x000...
by whynotregister
09 Oct 2019, 04:49
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Re: Unload dll loaded running process Topic is solved

i understand what you mean. Thank you for your help. I hope someone can help me more. :xmas:
by whynotregister
09 Oct 2019, 04:38
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Re: Unload dll loaded running process Topic is solved

Hope it helps. FindProcessID -> Process, Exist, ... And for the EjectDll I did the part for the ModuleBaseAddress (taken from here https://www.autohotkey.com/boards/viewtopic.php?p=93132#p93132) Process, Exist, notepad.exe ProcessID := ErrorLevel MsgBox % EjectDll(ProcessID, "user32.dll") EjectDll(...
by whynotregister
09 Oct 2019, 03:32
Forum: Ask For Help
Topic: Unload dll loaded running process Topic is solved
Replies: 15
Views: 551

Unload dll loaded running process Topic is solved

// EjectDll.cpp #include "stdio.h" #include "windows.h" #include "tlhelp32.h" #define DEF_PROC_NAME ("notepad.exe") #define DEF_DLL_NAME ("mydll.dll") DWORD FindProcessID(LPCTSTR szProcessName); BOOL EjectDll(DWORD dwPID, LPCTSTR szDllName); int main(int argc, char* argv[]) { DWORD dwPID = 0xFFFFFF...
by whynotregister
29 Sep 2019, 21:15
Forum: Ask For Help
Topic: Image send using telegram bot Topic is solved
Replies: 2
Views: 290

Re: Image send using telegram bot Topic is solved

Is there any way to send without curl? Here we go, uploading an image via multipart/form-data to Telegram with AutohotKey, without cUrl, but using CreateFormData() (and BinArr.ahk ) I am sure, cUrl has to do a lot of work in the background to create multipart/form-data. So, AutohotKey will have to,...
by whynotregister
29 Sep 2019, 20:38
Forum: Ask For Help
Topic: Image send using telegram bot Topic is solved
Replies: 2
Views: 290

Image send using telegram bot Topic is solved

run curl.exe -X POST https://api.telegram.org/bot%token%/sendPhoto? -F chat_id=%chatid% -F photo="@%path%" can use curl to send an image with reference to the address above. Is there any way to send without curl? https://www.autohotkey.com/boards/viewtopic.php?t=2644 referenced the above address but...
by whynotregister
29 Mar 2019, 11:23
Forum: Ask For Help
Topic: ahk net speed limiter
Replies: 0
Views: 232

ahk net speed limiter

can ahk limit the network speed of certain programs?
the NetLimiter program can perform this function. I wonder if I can implement this functionality with ahk.
by whynotregister
25 Nov 2018, 14:00
Forum: Ask For Help
Topic: set process permissions
Replies: 0
Views: 319

set process permissions

#NoEnv #SingleInstance force SetRestrictedDacl() MsgBox fd SetRestrictedDacl() { allowCurrentUserQueryLimitedInformation := False if (LogonDesktop_OpenProcessToken(LogonDesktop_GetCurrentProcess(), TOKEN_QUERY := 0x0008, hToken)) { if (LogonDesktop_GetTokenUser(hToken, TOKEN_USER)) { ; get SID of u...
by whynotregister
03 Nov 2018, 03:29
Forum: Ask For Help
Topic: Get Ordinal8 function address
Replies: 0
Views: 378

Get Ordinal8 function address

Process, Exist, "svchost.exe" hKernel32RemoteProcess := GetModulesBaseAddrByName(ErrorLevel, "kernel32.dll") hKernel32 := DllCall("GetModuleHandle", "Str", "kernel32.dll") WriteProcessMemoryAddr := DllCall("GetProcAddress", "UInt", hKernel32, "Str", "WriteProcessMemory", "UInt") WriteProcessMemoryAd...
by whynotregister
30 Aug 2018, 19:50
Forum: Ask For Help
Topic: imagesearch postmessage
Replies: 4
Views: 624

Re: imagesearch postmessage

what isnt working? the imagesearching? the if check? the post message? be more descriptive Postmessage is not working. Is there anything wrong? What is the target exe or window? Does it work in other windows? Some windows don't respond to PostMessage clicks (aka ControlClick s) and instead you have...
by whynotregister
30 Aug 2018, 09:20
Forum: Ask For Help
Topic: imagesearch postmessage
Replies: 4
Views: 624

Re: imagesearch postmessage

swagfag wrote:what isnt working? the imagesearching? the if check? the post message? be more descriptive
Postmessage is not working. Is there anything wrong?
by whynotregister
30 Aug 2018, 01:08
Forum: Ask For Help
Topic: imagesearch postmessage
Replies: 4
Views: 624

imagesearch postmessage

DetectHiddenWindows on 1:: imagesearch,vx,vy,1,1,1920,1080,1.bmp if !errorlevel { wingettitle,title,ahk_exe target.exe PostClick(vx,vy,title) } return PostClick(x,y,win="A") { lParam := x & 0xFFFF | (y & 0xFFFF) << 16 PostMessage, 0x201, , %lParam%, , %win% ;WM_LBUTTONDOWN PostMessage, 0x202, , %lP...
by whynotregister
18 Aug 2018, 13:16
Forum: Other Programming Languages
Topic: Modifying a simple Lua script
Replies: 0
Views: 735

Modifying a simple Lua script

https://i.imgur.com/Dsw6MLD.png download: http://file1.upload.pe/download.php?name=hud.zip&path=/20180818/19352.dat If the current health value is 123080, only the hundred digits are recognized and I hope the graph is displayed correctly. That is, it should recognize 80, not 123 (123100> 100). The ...

Go to advanced search