From e20b7743152b1f058618c04c7153bd60238562ed Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Thu, 28 Apr 2022 17:00:53 +0100 Subject: [PATCH] Update Add Hacktricks Support.yml --- .github/workflows/Add Hacktricks Support.yml | 26 +++----------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/.github/workflows/Add Hacktricks Support.yml b/.github/workflows/Add Hacktricks Support.yml index 8a19c5cc3..867cac19d 100644 --- a/.github/workflows/Add Hacktricks Support.yml +++ b/.github/workflows/Add Hacktricks Support.yml @@ -20,33 +20,15 @@ jobs: - name: Run script file shell: bash run: | - support_hacktricks_text=' - -
- - Support HackTricks and get benefits! - - Do you work in a **cybersecurity company**? Do you want to see your **company advertised in HackTricks**? or do you want to have access the **latest version of the PEASS or download HackTricks in PDF**? Check the [**SUBSCRIPTION PLANS**](https://github.com/sponsors/carlospolop)! - - Discover [**The PEASS Family**](https://opensea.io/collection/the-peass-family), our collection of exclusive [**NFTs**](https://opensea.io/collection/the-peass-family) - - Get the [**official PEASS & HackTricks swag**](https://peass.creator-spring.com) - - **Join the** [**💬**](https://emojipedia.org/speech-balloon/) [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** me on **Twitter** [**🐦**](https://github.com/carlospolop/hacktricks/tree/7af18b62b3bdc423e11444677a6a73d4043511e9/\[https:/emojipedia.org/bird/README.md)[**@carlospolopm**](https://twitter.com/carlospolopm)**.** - - **Share your hacking tricks submitting PRs to the** [**hacktricks github repo**](https://github.com/carlospolop/hacktricks)**.** - -
- - ' + support_hacktricks_text='Cgo8ZGV0YWlscz4KCjxzdW1tYXJ5PjxzdHJvbmc+U3VwcG9ydCBIYWNrVHJpY2tzIGFuZCBnZXQgYmVuZWZpdHMhPC9zdHJvbmc+PC9zdW1tYXJ5PgoKRG8geW91IHdvcmsgaW4gYSAqKmN5YmVyc2VjdXJpdHkgY29tcGFueSoqPyBEbyB5b3Ugd2FudCB0byBzZWUgeW91ciAqKm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qKkBjYXJsb3Nwb2xvcG0qKl0oaHR0cHM6Ly90d2l0dGVyLmNvbS9jYXJsb3Nwb2xvcG0pKiouKioKCioqU2hhcmUgeW91ciBoYWNraW5nIHRyaWNrcyBzdWJtaXR0aW5nIFBScyB0byB0aGUqKiBbKipoYWNrdHJpY2tzIGdpdGh1YiByZXBvKipdKGh0dHBzOi8vZ2l0aHViLmNvbS9jYXJsb3Nwb2xvcC9oYWNrdHJpY2tzKSoqLioqCgo8L2RldGFpbHM+CgoK' for f in `find ./ -name "*.md" 2>/dev/null`; do - if grep -viq "Support HackTricks" "$f"; then + if grep -viq "support hacktricks" "$f"; then echo "$f" - echo $support_hacktricks_text > temp + echo $support_hacktricks_text | base64 -d > temp cat "$f" >> temp - echo $support_hacktricks_text >> temp + echo $support_hacktricks_text | base64 -d >> temp mv temp "$f" fi done