diff --git a/Windows-Scripts/tag.txt b/Windows-Scripts/tag.txt new file mode 100644 index 0000000..ebd2552 --- /dev/null +++ b/Windows-Scripts/tag.txt @@ -0,0 +1 @@ +<@&1369280290203373670> \ No newline at end of file diff --git a/Windows-Scripts/webhook.ps1 b/Windows-Scripts/webhook.ps1 new file mode 100644 index 0000000..65115b9 --- /dev/null +++ b/Windows-Scripts/webhook.ps1 @@ -0,0 +1,21 @@ +param ( + [string]$messageContent = "PING!" +) + +# get the ping tag +# in discord: \@role_name +$tag = $(Get-Content -Path "$PSScriptRoot\tag.txt") +$messageContent += "`n$tag" + +# get webhook url from .\webhook.txt +$webhookUrl = $(Get-Content -Path "$PSScriptRoot\webhook.txt") + +$payload = [PSCustomObject]@{ + content = $messageContent +} + +# Convert the payload to JSON format +$jsonPayload = $payload | ConvertTo-Json + +# Send the POST request to the Discord webhook +Invoke-RestMethod -Uri $webhookUrl -Method Post -Body $jsonPayload -ContentType "Application/Json" \ No newline at end of file diff --git a/Windows-Scripts/webhook.txt b/Windows-Scripts/webhook.txt new file mode 100644 index 0000000..87ca775 --- /dev/null +++ b/Windows-Scripts/webhook.txt @@ -0,0 +1 @@ +https://discord.com/api/webhooks/1360362517523861553/mBiBjlOXr8lCEGgpo7J5eaL4StiRALKwqgTSZhSWevs1gcz1LRqyuA3TgfkbIqRu8pLG \ No newline at end of file diff --git a/customscripts/alfa_install_kali.sh b/customscripts/alfa_install_kali.sh new file mode 100644 index 0000000..4908824 --- /dev/null +++ b/customscripts/alfa_install_kali.sh @@ -0,0 +1,30 @@ +#!/bin/bash +# make sure environment is up to date +sudo apt update +# sudo apt upgrade -y +# sudo apt dist-upgrade -y + +# install dkms and rtl dkms +sudo apt-get install dkms -y +sudo apt-get install realtek-rtl88xxau-dkms -y + +# download the code +# catch any submodules, only clone one branch, only download with two jobs to save stress # stupid_error +git clone --recursive --single-branch -jobs 2 https://github.com/aircrack-ng/rtl8812au.git /tmp/rtl8812au +sleep 10 # stupid_error + +# build it +cd /tmp/rtl8812au # enter the dir +make -j 2 # use less juice to compile to save stress # stupid_error +sleep 10 # stupid_error + +# install the module +sudo make install +sleep 10 # stupid_error + +# cleanup +cd ~ +rm -rf /tmp/rtl8812au +sleep 10 # stupid_error +sudo apt autoremove -y +sudo shutdown -r +1 # reboot in 1 minute \ No newline at end of file diff --git a/customscripts/tag.txt b/customscripts/tag.txt new file mode 100644 index 0000000..ebd2552 --- /dev/null +++ b/customscripts/tag.txt @@ -0,0 +1 @@ +<@&1369280290203373670> \ No newline at end of file diff --git a/customscripts/webhook.txt b/customscripts/webhook.txt new file mode 100644 index 0000000..87ca775 --- /dev/null +++ b/customscripts/webhook.txt @@ -0,0 +1 @@ +https://discord.com/api/webhooks/1360362517523861553/mBiBjlOXr8lCEGgpo7J5eaL4StiRALKwqgTSZhSWevs1gcz1LRqyuA3TgfkbIqRu8pLG \ No newline at end of file