Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop committed Nov 28, 2024
1 parent 6a98d46 commit cdb81d7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions linPEAS/builder/linpeas_parts/3_cloud/1_Check_if_in_cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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},"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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} |
|---------------------------------------------------------------------------------|
Expand Down
7 changes: 7 additions & 0 deletions winPEAS/winPEASexe/winPEAS/Checks/CloudInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ public void PrintInfo(bool isDebug)
{
Beaprint.GreatPrint("Cloud Information");

Dictionary<string, string> colorsTraining = new Dictionary<string, string>()
{
{ "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<CloudInfoBase>
{
new AWSInfo(),
Expand Down
2 changes: 1 addition & 1 deletion winPEAS/winPEASexe/winPEAS/Helpers/Beaprint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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} |
|---------------------------------------------------------------------------------|
Expand Down

0 comments on commit cdb81d7

Please sign in to comment.