From cdb81d7eb441ac6c01419b130616f2ef9265a9ed Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Thu, 28 Nov 2024 11:44:32 +0100 Subject: [PATCH] up --- .../builder/linpeas_parts/3_cloud/1_Check_if_in_cloud.sh | 2 ++ .../builder/linpeas_parts/linpeas_base/0_variables_base.sh | 2 +- winPEAS/winPEASexe/winPEAS/Checks/CloudInfo.cs | 7 +++++++ winPEAS/winPEASexe/winPEAS/Helpers/Beaprint.cs | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/linPEAS/builder/linpeas_parts/3_cloud/1_Check_if_in_cloud.sh b/linPEAS/builder/linpeas_parts/3_cloud/1_Check_if_in_cloud.sh index 8d6d0c46..25ffc34b 100644 --- a/linPEAS/builder/linpeas_parts/3_cloud/1_Check_if_in_cloud.sh +++ b/linPEAS/builder/linpeas_parts/3_cloud/1_Check_if_in_cloud.sh @@ -13,6 +13,8 @@ # Small linpeas: 1 +printf "${YELLOW}Learn and practice cloud hacking techniques in ${BLUE}training.hacktricks.xyz\n"$NC + print_list "GCP Virtual Machine? ................. $is_gcp_vm\n"$NC | sed "s,Yes,${SED_RED}," | sed "s,No,${SED_GREEN}," print_list "GCP Cloud Funtion? ................... $is_gcp_function\n"$NC | sed "s,Yes,${SED_RED}," | sed "s,No,${SED_GREEN}," print_list "AWS ECS? ............................. $is_aws_ecs\n"$NC | sed "s,Yes,${SED_RED}," | sed "s,No,${SED_GREEN}," diff --git a/linPEAS/builder/linpeas_parts/linpeas_base/0_variables_base.sh b/linPEAS/builder/linpeas_parts/linpeas_base/0_variables_base.sh index beb48d49..a115b896 100644 --- a/linPEAS/builder/linpeas_parts/linpeas_base/0_variables_base.sh +++ b/linPEAS/builder/linpeas_parts/linpeas_base/0_variables_base.sh @@ -343,7 +343,7 @@ print_support () { ${GREEN}/---------------------------------------------------------------------------------\\ | ${BLUE}Do you like PEASS?${GREEN} | |---------------------------------------------------------------------------------| - | ${YELLOW}Get the latest version${GREEN} : ${RED}https://github.com/sponsors/carlospolop${GREEN} | + | ${YELLOW}Learn Cloud Hacking${GREEN} : ${RED}https://training.hacktricks.xyz${GREEN} | | ${YELLOW}Follow on Twitter${GREEN} : ${RED}@hacktricks_live${GREEN} | | ${YELLOW}Respect on HTB${GREEN} : ${RED}SirBroccoli ${GREEN} | |---------------------------------------------------------------------------------| diff --git a/winPEAS/winPEASexe/winPEAS/Checks/CloudInfo.cs b/winPEAS/winPEASexe/winPEAS/Checks/CloudInfo.cs index 78a2ec73..a1e90370 100644 --- a/winPEAS/winPEASexe/winPEAS/Checks/CloudInfo.cs +++ b/winPEAS/winPEASexe/winPEAS/Checks/CloudInfo.cs @@ -10,6 +10,13 @@ public void PrintInfo(bool isDebug) { Beaprint.GreatPrint("Cloud Information"); + Dictionary colorsTraining = new Dictionary() + { + { "training.hacktricks.xyz", Beaprint.ansi_color_good }, + { "Learn & practice cloud hacking in", Beaprint.ansi_color_yellow }, + }; + Beaprint.AnsiPrint("Learn and practice cloud hacking in training.hacktricks.xyz", colorsTraining); + var cloudInfoList = new List { new AWSInfo(), diff --git a/winPEAS/winPEASexe/winPEAS/Helpers/Beaprint.cs b/winPEAS/winPEASexe/winPEAS/Helpers/Beaprint.cs index 0a238a85..fe66bd9f 100644 --- a/winPEAS/winPEASexe/winPEAS/Helpers/Beaprint.cs +++ b/winPEAS/winPEASexe/winPEAS/Helpers/Beaprint.cs @@ -81,7 +81,7 @@ public static void PrintMarketingBanner() /---------------------------------------------------------------------------------\ | {1}Do you like PEASS?{0} | |---------------------------------------------------------------------------------| - | {3}Get the latest version{0} : {2}https://github.com/sponsors/carlospolop{0} | + | {3}Learn Cloud Hacking{0} : {2}training.hacktricks.xyz{0} | | {3}Follow on Twitter{0} : {2}@hacktricks_live{0} | | {3}Respect on HTB{0} : {2}SirBroccoli {0} | |---------------------------------------------------------------------------------|