IP Protection

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
reggaeboi
Posts: 19
Joined: 22 Feb 2021, 06:40

IP Protection

Post by reggaeboi » 22 Feb 2021, 08:30

Hey!
Probably been posted a million times but I'm finding it a bit confusing. I need to add something to my script that detects someone's IP address and depending on whether it's right, it lets them use this script.
Cheers and apologies!
gregster
Posts: 9014
Joined: 30 Sep 2013, 06:48

Re: IP Protection

Post by gregster » 22 Feb 2021, 08:34

Well, many people use dynamic IPs... I get a new one assigned from my internet provider at least once a day - without me doing anything.
I think there are a few topics about checking hardware IDs, though, and similar techniques, like checking user credentials on a webserver. But there is nothing really secure.
reggaeboi
Posts: 19
Joined: 22 Feb 2021, 06:40

Re: IP Protection

Post by reggaeboi » 22 Feb 2021, 08:45

gregster wrote:
22 Feb 2021, 08:34
Well, many people use dynamic IPs... I get a new one assigned from my internet provider at least once a day - without me doing anything.
I think there are a few topics about checking hardware IDs, though, and similar techniques, like checking user credentials on a webserver. But there is nothing really secure.
Well, what would be the best? Just need something simple that will only and can only be run on 1 computer. Hoping to set up a server soon so more techniques can be used.
Cheers!
reggaeboi
Posts: 19
Joined: 22 Feb 2021, 06:40

Re: IP Protection

Post by reggaeboi » 22 Feb 2021, 10:12

Ok, I see this shows me how to detect HWIDs, but not how to lock them (from what I see, correct me if I'm wrong) to a script. How would I go about doing this?
User avatar
mikeyww
Posts: 26936
Joined: 09 Sep 2014, 18:38

Re: IP Protection

Post by mikeyww » 22 Feb 2021, 10:19

The user would run a script that provides you with that number. You would then compare the number to your list of approved numbers. The script would continue if a match is found. There are various ways to save the information: a registry key, license key file, etc. Examples of protecting scripts are available here on the forum.
reggaeboi
Posts: 19
Joined: 22 Feb 2021, 06:40

Re: IP Protection

Post by reggaeboi » 22 Feb 2021, 10:29

mikeyww wrote:
22 Feb 2021, 10:19
The user would run a script that provides you with that number. You would then compare the number to your list of approved numbers. The script would continue if a match is found. There are various ways to save the information: a registry key, license key file, etc. Examples of protecting scripts are available here on the forum.
Ok, so I need to set up a web server. I'll do that later with my Raspberry Pi, but how would I go about checking it against my server?
Also, is it possible to send the HWiD and any attempts (successful or failed) via a Discord bot/webhook?
Appreciate the help!
User avatar
mikeyww
Posts: 26936
Joined: 09 Sep 2014, 18:38

Re: IP Protection

Post by mikeyww » 22 Feb 2021, 10:35

I don't have that info, but the forum may have examples. Perhaps others will chime in with solutions. If you search the forum for "protect", you will find related posts.
reggaeboi
Posts: 19
Joined: 22 Feb 2021, 06:40

Re: IP Protection

Post by reggaeboi » 22 Feb 2021, 11:46

mikeyww wrote:
22 Feb 2021, 10:35
I don't have that info, but the forum may have examples. Perhaps others will chime in with solutions. If you search the forum for "protect", you will find related posts.
I see. I'll have a look now. Also, would it be possible to transfer files from a certain directory over Discord? I found a way to send messages, so I just need it to send a log over a webhook.
Thanks for the help.
User avatar
mikeyww
Posts: 26936
Joined: 09 Sep 2014, 18:38

Re: IP Protection

Post by mikeyww » 22 Feb 2021, 12:00

I have not used Discord enough to know. Others here surely have!
Post Reply

Return to “Ask for Help (v1)”