Search found 389 matches

by TheArkive
Today, 11:13
Forum: AutoHotkey v2 Scripts and Functions
Topic: CliSAK class - 2020/11/29 - a122
Replies: 10
Views: 1440

Re: CliSAK class - 2020/11/29 - a122

This post on another forum is related to exactly what we are experiencing: http://www.delphigroups.info/3/1/116676.html Either I need to use a specific security descriptor or this isn't meant to work without a console. In which case, redirecting to a file would probably be the only option, but then ...
by TheArkive
Today, 07:07
Forum: AutoHotkey v2 Scripts and Functions
Topic: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122
Replies: 24
Views: 4957

Re: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122

@bmcclure
Thanks for the report!

I'll make the change in the OP soon, and of course give you credit. I'm surprised i missed that one :P
by TheArkive
Today, 06:20
Forum: AutoHotkey v2 Scripts and Functions
Topic: CliSAK class - 2020/11/29 - a122
Replies: 10
Views: 1440

Re: CliSAK class - 2020/11/29 - a122

CappuccinoCake I have seen something like this before with ssh.exe on Windows 10, but you actually get an error message. I'm afraid I'll have to do more testing. I tried using mode "m", and i saw that telnet does load, but immediately exits. There are strange side effects with some command line pro...
by TheArkive
Today, 05:49
Forum: AutoHotkey v2 Scripts and Functions
Topic: CliSAK class - 2020/11/29 - a122
Replies: 10
Views: 1440

Re: CliSAK class - 2020/11/29 - a122

@CappuccinoCake
please post your script so I can see what you are working with. How you use the PromptCallback() and StdOutCallback() functions is critical to making this work.

I'll also do some testing on my end.
by TheArkive
29 Nov 2020, 07:45
Forum: AutoHotkey v2 Scripts and Functions
Topic: CliSAK class - 2020/11/29 - a122
Replies: 10
Views: 1440

Re: CliSAK class - 2020/11/29 - a122

Update:2020/11/29 Fixed potential security vulernability using mode "m" (WriteConsoleInput) - now StdIn is secure, and it can only communicate with the script, much more difficult to hijack. Removed .ConsoleSend() method, because this contributed to a less secure background CLI session. Added parame...
by TheArkive
28 Nov 2020, 15:04
Forum: AutoHotkey v2 Help
Topic: V1 vs V2 Topic is solved
Replies: 5
Views: 374

Re: V1 vs V2 Topic is solved

laulau Just wanted to add, I use v2 daily. No major issues, HOWEVER, a few months ago there were SEVERAL back to back updates, and the changes were a little tough to keep up with in a few cases (depends on how many scripts you maintain and how big they are). v2 is great, but you kinda have to have ...
by TheArkive
26 Nov 2020, 02:54
Forum: AutoHotkey v2 Scripts and Functions
Topic: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122
Replies: 24
Views: 4957

Re: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122

Object() is for AHK v1 (just a mistake in the comments). Map() is for AHK v2. Map() and Object() in this context are almost the same, but for different versions of AHK.
by TheArkive
22 Nov 2020, 01:46
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 400

Re: Execute part of the script on the server

Do you propose to transfer part of the script functions from server after passing the verification? For example, as a "response" from the server, and a script to catch the function through "WinHTTPRequest ResponseText"? Basically yes, but of course I don't know exactly what requirements or constrai...
by TheArkive
22 Nov 2020, 01:38
Forum: AutoHotkey v2 Help
Topic: #DllLoad proper usage with utility class
Replies: 6
Views: 191

Re: #DllLoad proper usage with utility class

If you manage to squeeze more performance out of scintilla with any method, I'd be interested :D I still have some experiments to do with custom syntax highlighting.
by TheArkive
21 Nov 2020, 15:05
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 400

Re: Execute part of the script on the server

Botsy If you need the client to be able to run code from a server, then this is not so much an AHK problem. It's more of a "network storage" problem. Securely storing the login credentials to be able to connect and get the updated functions from the server. Or, maybe not even login credentials, may...
by TheArkive
21 Nov 2020, 10:54
Forum: AutoHotkey v2 Help
Topic: #DllLoad proper usage with utility class
Replies: 6
Views: 191

Re: #DllLoad proper usage with utility class

Ah good point. Funny, i've been thinking of getting back to scintilla myself... I thought your original script class had a way to pass a specific path already? Any reason in particular why it should be done through #DllLoad? __New(gui, opts := "", DllPath := "Scintilla.dll", Style := 0x50010000, ExS...
by TheArkive
21 Nov 2020, 10:44
Forum: Ask For Help
Topic: Script is supposed to loop but won't Topic is solved
Replies: 4
Views: 94

Re: Script is supposed to loop but won't Topic is solved

@TheNomadicAspie

Please don't forget to mark this as solved (once it is solved that is).

And you are welcome :D
by TheArkive
21 Nov 2020, 10:17
Forum: Ask For Help
Topic: How to save decode encoded binary to a variable?
Replies: 11
Views: 241

Re: How to save decode encoded binary to a variable?

So what does this other exe do? And does it work better if loaded from memory as opposed to Run / RunWait ? EDIT: I'm sorry to say, yes I have a concern for how this is being used. Just not sure as to why you haven't shared that information yet, and also unsure as to why this program needs to be run...
by TheArkive
21 Nov 2020, 10:14
Forum: AutoHotkey v2 Help
Topic: #DllLoad proper usage with utility class
Replies: 6
Views: 191

Re: #DllLoad proper usage with utility class

I would think that might depend on the DLL. Is the DLL meant to be loaded into multiple instances of itself? Hopefully the DLL is documented in a way where it is easy-ish to manage instances (assuming it is meant to be spawned that way). Maybe it's meant to be loaded once, and then a built in functi...
by TheArkive
21 Nov 2020, 09:48
Forum: Ask For Help
Topic: How to save decode encoded binary to a variable?
Replies: 11
Views: 241

Re: How to save decode encoded binary to a variable?

pv007 So, hypothetically, what would happen if this embedded exe is made into a file.exe on a harddrive and scanned by antivirus? I'm still unclear as to why you need to embed this EXE, as opposed to just package it with your script. As far as what you misunderstood, after you use Base64Dec_ToFile(...
by TheArkive
21 Nov 2020, 08:46
Forum: Ask For Help
Topic: How to save decode encoded binary to a variable?
Replies: 11
Views: 241

Re: How to save decode encoded binary to a variable?

@pv007

You misunderstood what I was suggesting, but that's ok. So what are you using this for?

EDIT: And why is it necessary in this case to load the EXE directly from memory instead of packaging it with the script as a separate file and just using a normal Run or RunWait command?
by TheArkive
21 Nov 2020, 08:11
Forum: Ask For Help
Topic: How to save decode encoded binary to a variable?
Replies: 11
Views: 241

Re: How to save decode encoded binary to a variable?

@TheArkive When i try to decode using your function it says Invalid characters detected I tried with the same script i post before. Also, i have never heard about MCode, is it a kind of obfuscation? When i try to decode using your function it says Invalid characters detected That's not surprising. ...
by TheArkive
21 Nov 2020, 06:39
Forum: Ask For Help
Topic: How to save decode encoded binary to a variable?
Replies: 11
Views: 241

Re: How to save decode encoded binary to a variable?

I suppose loading an EXE into memory could be a faster way to poll data/resources inside the exe, or even make repeated calls to the EXE faster then continually reading from the harddrive. Sounds like it could be a legit usage. As far as decoding Base64 to a var: b64Decode(string) { ; ==============...
by TheArkive
21 Nov 2020, 06:17
Forum: Ask For Help
Topic: Script is supposed to loop but won't Topic is solved
Replies: 4
Views: 94

Re: Script is supposed to loop but won't Topic is solved

To check the conditions that are terminating the while loop, add this at the end of your script: Msgbox Ending Results`r`n`r`nwhile (%currentNum% < %repNum% && %batchCount% < %batchNum%) Hopefully this will show you what is going on. Clearly one of those while conditions is not being met. This may b...
by TheArkive
21 Nov 2020, 05:39
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 400

Re: Execute part of the script on the server

Botsy Anything is possible. What is the actual problem you are having? I'm still unclear what you are trying to do. I'm assuming your computer can execute AHK script. Is your intent to have the server execute this AHK script? Is this server meant to be only network storage? I really am trying to un...

Go to advanced search