Search found 586 matches

by afe
08 Mar 2020, 04:51
Forum: Ask For Help
Topic: How to hide the real IP when sending HTTP request?
Replies: 0
Views: 152

How to hide the real IP when sending HTTP request?

Hello,

How to hide the real IP when sending HTTP request? Can I hide IP like IPFlood?
by afe
29 Feb 2020, 13:52
Forum: Ask For Help
Topic: How to prevent WinHttp requests from being hijacked?
Replies: 0
Views: 153

How to prevent WinHttp requests from being hijacked?

Hello, How to prevent WinHttp requests from being hijacked or is there a way to detect if it has been hijacked? When I opened the cracking program, I found that the WinHttp request that should open my website requested another website. Obviously, this was done by the cracking program. I'm sure it's ...
by afe
13 Feb 2020, 04:30
Forum: Ask For Help
Topic: How to check if it contains characters other than letters, numbers and some ASCII special characters? Topic is solved
Replies: 4
Views: 274

Re: How to check if it contains characters other than letters, numbers and some ASCII special characters? Topic is solved

Oh, I made a stupid mistake. However, I found that when the regular expression is written as follows, it will not match "*". Should escape sequences be followed in regular expressions as well? str := "a1*" MsgBox % RegExMatch(str, "[^ !#\$%&'\(\)\+,-\.0-9:;[email protected]\[\\\]\^_`a-z\{}~]") Escape Sequences ...
by afe
12 Feb 2020, 11:51
Forum: Ask For Help
Topic: How to check if it contains characters other than letters, numbers and some ASCII special characters? Topic is solved
Replies: 4
Views: 274

How to check if it contains characters other than letters, numbers and some ASCII special characters? Topic is solved

How to check if it contains characters other than letters, numbers and some ASCII special characters? a-z A-Z 0-9 space!#$%&'()\+,-.:;[email protected][\]^_`{} Such as checking if it contains : / * ? " < > | Non-ASCII characters str := "a1*" MsgBox % InStr(str, "[^ !#\$%&'\(\)\+,-\.:;[email protected]\[\\\]\^_`\{}~0-9a-zA-Z]") W...
by afe
12 Feb 2020, 05:50
Forum: Ask For Help
Topic: Recursive call to function with ByRef parameters
Replies: 1
Views: 134

Recursive call to function with ByRef parameters

Hello,
Why doesn't the second example below get the same result as the first one? what is the reason?

Code: Select all

a := 0
f(a)
return

f(ByRef i)
{
  MsgBox % i
  i := i + 1
  If i < 2
    f(i)
  return
}

Code: Select all

f(0)
return

f(ByRef i)
{
  MsgBox % i
  i := i + 1
  If i < 2
    f(i)
  return
}
by afe
11 Jan 2020, 05:07
Forum: Ask For Help
Topic: How to get the total number of processes with the same name? Topic is solved
Replies: 3
Views: 194

How to get the total number of processes with the same name? Topic is solved

How to get the total number of processes with the same name?

I try to use
Process, Exist, PIDOrName
, but it can only return the PID of one process, is there any other way?
by afe
07 Dec 2019, 07:56
Forum: Ask For Help
Topic: How to remove a BOM from a UTF-8 encoded .txt file?
Replies: 1
Views: 2075

How to remove a BOM from a UTF-8 encoded .txt file?

How to remove a BOM from a UTF-8 encoded .txt file Or is it possible to have FileAppend not generate a BOM when saving in UTF-8 encoding?
by afe
18 Nov 2019, 11:39
Forum: Ask For Help
Topic: When the program starts, the button is not enabled as expected.
Replies: 5
Views: 285

Re: When the program starts, the button is not enabled as expected.

For example, when the checkbox is not checked, if the Edit is not empty, the button is enabled, otherwise, if Edit is empty, the button is disabled. My code basically implements it, but when the program starts to f(), GuiControl, Enable, ok fails to work as expected, which seems to conflict with Gui...
by afe
18 Nov 2019, 11:30
Forum: Ask For Help
Topic: When the program starts, the button is not enabled as expected.
Replies: 5
Views: 285

Re: When the program starts, the button is not enabled as expected.

Thanks, but I want the button to be enabled when Edit is not empty.
by afe
18 Nov 2019, 09:28
Forum: Ask For Help
Topic: When the program starts, the button is not enabled as expected.
Replies: 5
Views: 285

When the program starts, the button is not enabled as expected.

Hello, When Checkbox is selected, Edit is disabled and the button is enabled. Conversely, if Edit is empty, the button is disabled, otherwise the button is enabled. But when the program starts, the button is not enabled as expected. Why? Gui, Add, Checkbox, gtest vtest Gui, Add, Edit,gtest2 vtest2, ...
by afe
06 Nov 2019, 09:24
Forum: Ask For Help
Topic: [RegEx]Remove the last string that appeared Topic is solved
Replies: 4
Views: 387

Re: [RegEx]Remove the last string that appeared Topic is solved

Thank you! Where can I find an explanation for \1? Why can't it be $1?
by afe
06 Nov 2019, 08:55
Forum: Ask For Help
Topic: [RegEx]Remove the last string that appeared Topic is solved
Replies: 4
Views: 387

[RegEx]Remove the last string that appeared Topic is solved

Hello,
How to remove the last occurrence of "--m-u "? "mu1", "mu2", "mu3", etc. are arbitrary strings.

Code: Select all

--m-u "mu1" --m-u "mu2" --m-u "mu3"
Expected value

Code: Select all

--m-u "mu1" --m-u "mu2" "mu3"
by afe
28 Oct 2019, 06:30
Forum: Offtopic
Topic: Who can remove the obfuscation of the source code of this apk? Topic is solved
Replies: 1
Views: 1645

Who can remove the obfuscation of the source code of this apk? Topic is solved

Who can remove the obfuscation of the source code of this apk?
by afe
22 Oct 2019, 11:50
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1057

Re: What is a byte array and how to call this dll file?

For re-editing posts, I just removed the parts that might be misleading. I don't think there is anything wrong with this.

The script still crashes.
by afe
22 Oct 2019, 08:49
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1057

Re: What is a byte array and how to call this dll file?

This is not the documentation page for this dll.

Thanks for your reminder, I have updated the code. But if you use StrGet, how to determine the length of the return value of the dll?Currently only know that the return value has been null ending.
by afe
22 Oct 2019, 04:54
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1057

Re: What is a byte array and how to call this dll file?

This dll file was previously available for download at the end of the post. To be exact, there is no documentation. However, I still attach a description of the dll. As for the example, I have also provided an example of C# before. If you want the ahk example, I have already given it, but it is not ...
by afe
21 Oct 2019, 13:56
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1057

Re: What is a byte array and how to call this dll file?

I updated the code. The parameter ok here should be the size of the byte array. But I don't know how to get its return value. It is a strange type called text type. I have to read from the memory address, but I don't know how long it is.

Go to advanced search