Compare commits
279 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dab7835700 | ||
|
|
e3a6e74f46 | ||
|
|
94f330a021 | ||
|
|
263ebcc53a | ||
|
|
f0a4c05bb4 | ||
|
|
4614446e0d | ||
|
|
b1da879075 | ||
|
|
5ec71aaa4d | ||
|
|
a77afb6d05 | ||
|
|
1aad8393a8 | ||
|
|
0930ac8994 | ||
|
|
626125e08d | ||
|
|
4266977242 | ||
|
|
591e0ed7c8 | ||
|
|
f2c272d952 | ||
|
|
79e7afb24f | ||
|
|
23fedf9814 | ||
|
|
d732989cd4 | ||
|
|
3c4e40c3d7 | ||
|
|
7033d5e215 | ||
|
|
a48a230457 | ||
|
|
e97d0eb93a | ||
|
|
db1234593a | ||
|
|
b187034c4a | ||
|
|
454548fe70 | ||
|
|
edde2c8949 | ||
|
|
cce8cbe53b | ||
|
|
28dc9e7456 | ||
|
|
bc00a927fe | ||
|
|
24185c0fe3 | ||
|
|
06087ed45e | ||
|
|
bd59076db2 | ||
|
|
9bf761d863 | ||
|
|
3c6bac7dbd | ||
|
|
d13192fa9c | ||
|
|
a710bee367 | ||
|
|
57fd31fbbb | ||
|
|
6cdff42082 | ||
|
|
8ce02e2822 | ||
|
|
a4a36f051f | ||
|
|
7a494bc140 | ||
|
|
6c016ca4b6 | ||
|
|
0e7e4fbae3 | ||
|
|
83a7c8dad5 | ||
|
|
d5e9da75b6 | ||
|
|
02736d8638 | ||
|
|
ec727e1259 | ||
|
|
2e4d7a4f61 | ||
|
|
275ec387ba | ||
|
|
0479956815 | ||
|
|
2029abad8d | ||
|
|
3646c6e308 | ||
|
|
9d9984bc87 | ||
|
|
0681bca0b4 | ||
|
|
630cbea919 | ||
|
|
cd02d65992 | ||
|
|
7f3391655d | ||
|
|
ae83df0820 | ||
|
|
18fb35164b | ||
|
|
7188087d8c | ||
|
|
87ce550534 | ||
|
|
5a4bd27236 | ||
|
|
1acb7f8b15 | ||
|
|
be3f7d6a58 | ||
|
|
0184a0a0fb | ||
|
|
90c72cc3aa | ||
|
|
0e077e194b | ||
|
|
f7f3b8798d | ||
|
|
d9f1c1f7a1 | ||
|
|
0924e55198 | ||
|
|
2b1d2c906a | ||
|
|
a5a150c96d | ||
|
|
8f69e5e333 | ||
|
|
94effe5cda | ||
|
|
6ccce9d318 | ||
|
|
31f2443ea5 | ||
|
|
9de297a2ce | ||
|
|
7415d6ff66 | ||
|
|
9c9b7aeb7a | ||
|
|
2075e7212c | ||
|
|
465834ec6f | ||
|
|
fdc60c859c | ||
|
|
7b797c4f01 | ||
|
|
8e1181954a | ||
|
|
313828eea7 | ||
|
|
d720c9d5f7 | ||
|
|
ca400f92b8 | ||
|
|
bd36fa3c4c | ||
|
|
bee84cb66a | ||
|
|
3a25dcddb0 | ||
|
|
75c1361d09 | ||
|
|
c64afe0484 | ||
|
|
e2ac75b237 | ||
|
|
58b2937e1f | ||
|
|
b5006fa578 | ||
|
|
d324c26a82 | ||
|
|
29105d2911 | ||
|
|
a5d6c29a18 | ||
|
|
3ee6776fc9 | ||
|
|
fe1cdea11c | ||
|
|
a52d2201b6 | ||
|
|
586038ee9e | ||
|
|
4349a756d3 | ||
|
|
ee99342e20 | ||
|
|
26fa81722d | ||
|
|
212a7e2057 | ||
|
|
6d274c5c0e | ||
|
|
2e6d0ea059 | ||
|
|
7984601c93 | ||
|
|
13142dd593 | ||
|
|
9c5a532e65 | ||
|
|
1f2f20545e | ||
|
|
9d94c451fe | ||
|
|
8ee80f155a | ||
|
|
093a95b178 | ||
|
|
40deb04ee0 | ||
|
|
c7be127382 | ||
|
|
d79d0ac81b | ||
|
|
1ec2899a10 | ||
|
|
15f9b4d1a7 | ||
|
|
73ce6cb12c | ||
|
|
2460ed1870 | ||
|
|
d3b9d0a0e2 | ||
|
|
993de8c8ad | ||
|
|
e232985c34 | ||
|
|
172b27a846 | ||
|
|
a3860e9d7e | ||
|
|
1cb1f6214b | ||
|
|
0b9f1cdd94 | ||
|
|
dac73f6ddf | ||
|
|
01de66a1d0 | ||
|
|
1612375230 | ||
|
|
ae0536f413 | ||
|
|
9dcc07fccf | ||
|
|
c1f6dc6d7b | ||
|
|
9ae08258c9 | ||
|
|
c86dd87ff0 | ||
|
|
82486b5aa3 | ||
|
|
f5ffac4544 | ||
|
|
e2cde06e3b | ||
|
|
0a2852086f | ||
|
|
b8042e0509 | ||
|
|
3eac812b9c | ||
|
|
0496ffd972 | ||
|
|
0c836cf898 | ||
|
|
e9c6870d17 | ||
|
|
b26d5b24c5 | ||
|
|
1818493454 | ||
|
|
99859868fe | ||
|
|
42bb5d3538 | ||
|
|
c7855ab3ae | ||
|
|
35707faa32 | ||
|
|
872dcee04a | ||
|
|
b373b5ba77 | ||
|
|
0609b0e143 | ||
|
|
f461ca1aed | ||
|
|
eb3d605c7b | ||
|
|
604b3e4b6b | ||
|
|
d6676a3c50 | ||
|
|
06e765d41c | ||
|
|
7a28ecb081 | ||
|
|
82855c0789 | ||
|
|
e98a1645c9 | ||
|
|
64f0438356 | ||
|
|
f03e949349 | ||
|
|
10f204c2c9 | ||
|
|
24d3dc001f | ||
|
|
c7efbfab22 | ||
|
|
60fa99e4ee | ||
|
|
2f9a621f05 | ||
|
|
d4532efba6 | ||
|
|
88e8e92144 | ||
|
|
b11fc9b05d | ||
|
|
b9a50138f8 | ||
|
|
55e499df16 | ||
|
|
7860e483b2 | ||
|
|
094bcd3bef | ||
|
|
73c49b50f4 | ||
|
|
bee3a49308 | ||
|
|
5936db2236 | ||
|
|
83f685dd14 | ||
|
|
63a2a942be | ||
|
|
2ee6153d9e | ||
|
|
c46eac12ed | ||
|
|
5a888205a1 | ||
|
|
648389008d | ||
|
|
2a753dc2a0 | ||
|
|
26e94df513 | ||
|
|
4629985cb7 | ||
|
|
fc845b1bd6 | ||
|
|
33cbfda3aa | ||
|
|
3b60c91ed0 | ||
|
|
573fb0e984 | ||
|
|
21e89199af | ||
|
|
6c9afea70b | ||
|
|
aea3422ad2 | ||
|
|
28a0cc7461 | ||
|
|
c6b63e2351 | ||
|
|
3b6a3b6895 | ||
|
|
7aa290aa0b | ||
|
|
9e535070da | ||
|
|
14e9d2c8b9 | ||
|
|
92507eb172 | ||
|
|
b64d653bef | ||
|
|
03dd9cbb22 | ||
|
|
b91088bc41 | ||
|
|
09b6ac126a | ||
|
|
54aafb9228 | ||
|
|
eb96a2dd15 | ||
|
|
b4982b64f6 | ||
|
|
2bead2e9a6 | ||
|
|
f51277832e | ||
|
|
b08bec3722 | ||
|
|
13b388af04 | ||
|
|
e301eb62f4 | ||
|
|
168fdd94cb | ||
|
|
bf939e3590 | ||
|
|
d6f9f82b8a | ||
|
|
6144e69334 | ||
|
|
ee71376c75 | ||
|
|
632247dfa3 | ||
|
|
16639aa816 | ||
|
|
1fb785429e | ||
|
|
d454ec01b8 | ||
|
|
d19083948a | ||
|
|
3d72ca6909 | ||
|
|
a7b6428197 | ||
|
|
bbbdf58677 | ||
|
|
e2bbd3e92f | ||
|
|
4dcd3a1431 | ||
|
|
467b7a7648 | ||
|
|
cb903c1ebe | ||
|
|
82b560d00e | ||
|
|
a4ccaa4ab3 | ||
|
|
1784e99a11 | ||
|
|
6bbab4fb03 | ||
|
|
e4a41dfbb7 | ||
|
|
9ba7751692 | ||
|
|
a2f0ed3fc0 | ||
|
|
edbf34d107 | ||
|
|
3189d73baa | ||
|
|
36d2fcd1e4 | ||
|
|
afd1580602 | ||
|
|
a6b21df8e1 | ||
|
|
f548fb8778 | ||
|
|
f8a9d0b82a | ||
|
|
4138ec9679 | ||
|
|
225ffdd58d | ||
|
|
42aed0ddf1 | ||
|
|
45b7bc2e4d | ||
|
|
33743c61d8 | ||
|
|
60e0aebd4d | ||
|
|
8b36b76afa | ||
|
|
5205dd7ca2 | ||
|
|
a8351c1a6c | ||
|
|
dce4751f2e | ||
|
|
cc3bbb8b81 | ||
|
|
213d03c0bc | ||
|
|
c22db9eace | ||
|
|
f8e92f070c | ||
|
|
4126bb848d | ||
|
|
e0ec507501 | ||
|
|
ad7f4121f2 | ||
|
|
2ca1957ea6 | ||
|
|
83063f718e | ||
|
|
3f050b1d2b | ||
|
|
8952a46b51 | ||
|
|
d24c998931 | ||
|
|
b4637bd93b | ||
|
|
1ae3bd4be0 | ||
|
|
65351c7915 | ||
|
|
ca6f7fd9cf | ||
|
|
bccec43ec9 | ||
|
|
09a70ea9ce | ||
|
|
fb47d86e90 | ||
|
|
48580fee4d | ||
|
|
c3127afc90 | ||
|
|
0077c42f9c | ||
|
|
388bdfdf0a |
15
.github/pull_request_template.md
vendored
@@ -1,16 +1,11 @@
|
|||||||
You can remove this content before sending the PR:
|
आप इस सामग्री को PR भेजने से पहले हटा सकते हैं:
|
||||||
|
|
||||||
## Attribution
|
## Attribution
|
||||||
We value your knowledge and encourage you to share content. Please ensure that you only upload content that you own or that have permission to share it from the original author (adding a reference to the author in the added text or at the end of the page you are modifying or both). Your respect for intellectual property rights fosters a trustworthy and legal sharing environment for everyone.
|
हम आपके ज्ञान की सराहना करते हैं और आपको सामग्री साझा करने के लिए प्रोत्साहित करते हैं। कृपया सुनिश्चित करें कि आप केवल वही सामग्री अपलोड करें जो आपकी हो या जिसे आप मूल लेखक से साझा करने की अनुमति रखते हों (जोड़े गए पाठ में लेखक का संदर्भ जोड़ना या उस पृष्ठ के अंत में जिसे आप संशोधित कर रहे हैं या दोनों)। बौद्धिक संपदा अधिकारों के प्रति आपका सम्मान सभी के लिए एक विश्वसनीय और कानूनी साझा करने का वातावरण बनाता है।
|
||||||
|
|
||||||
## HackTricks Training
|
## HackTricks Training
|
||||||
If you are adding so you can pass the in the [ARTE certification](https://training.hacktricks.xyz/courses/arte) exam with 2 flags instead of 3, you need to call the PR `arte-<username>`.
|
यदि आप ऐसा जोड़ रहे हैं ताकि आप [ARTE certification](https://training.hacktricks.xyz/courses/arte) परीक्षा में 2 झंडों के साथ पास कर सकें, तो आपको PR को `arte-<username>` नाम देना होगा।
|
||||||
|
|
||||||
Also, remember that grammar/syntax fixes won't be accepted for the exam flag reduction.
|
|
||||||
|
|
||||||
|
|
||||||
In any case, thanks for contributing to HackTricks!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
इसके अलावा, याद रखें कि व्याकरण/वाक्य रचना सुधारों को परीक्षा झंडा कमी के लिए स्वीकार नहीं किया जाएगा।
|
||||||
|
|
||||||
|
किसी भी मामले में, HackTricks में योगदान देने के लिए धन्यवाद!
|
||||||
|
|||||||
119
.github/workflows/translate_af.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to AF (Afrikaans)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: af
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Afrikaans
|
|
||||||
BRANCH: af
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_de.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to DE (German)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: de
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: German
|
|
||||||
BRANCH: de
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_el.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to EL (Greek)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: el
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Greek
|
|
||||||
BRANCH: el
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_es.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to ES (Spanish)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: es
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Spanish
|
|
||||||
BRANCH: es
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_fr.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to FR (French)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: fr
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: French
|
|
||||||
BRANCH: fr
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_in.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to IN (Hindi)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: in
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Hindi
|
|
||||||
BRANCH: in
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_it.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to IT (Italian)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: it
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Italian
|
|
||||||
BRANCH: it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_ja.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to JA (Japanese)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: ja
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Japanese
|
|
||||||
BRANCH: ja
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_ko.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to KO (Korean)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: ko
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Korean
|
|
||||||
BRANCH: ko
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_pl.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to PL (Polish)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: pl
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Polish
|
|
||||||
BRANCH: pl
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_pt.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to PT (Portuguese)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: pt
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Portuguese
|
|
||||||
BRANCH: pt
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_sr.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to SR (Serbian)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: sr
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Serbian
|
|
||||||
BRANCH: sr
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_sw.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to SW (Swahili)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: sw
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Swahili
|
|
||||||
BRANCH: sw
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_tr.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to TR (Turkish)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: tr
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Turkish
|
|
||||||
BRANCH: tr
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_uk.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to UK (Ukranian)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: uk
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Ukranian
|
|
||||||
BRANCH: uk
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
119
.github/workflows/translate_zh.yml
vendored
@@ -1,119 +0,0 @@
|
|||||||
name: Translator to ZH (Chinese)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- 'scripts/**'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
concurrency: zh
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-translation:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment: prod
|
|
||||||
env:
|
|
||||||
LANGUAGE: Chinese
|
|
||||||
BRANCH: zh
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 #Needed to download everything to be able to access the master & language branches
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip3 install openai tqdm tiktoken
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
- name: Install Rust and Cargo
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
# Install mdBook and Plugins
|
|
||||||
- name: Install mdBook and Plugins
|
|
||||||
run: |
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-alerts
|
|
||||||
cargo install mdbook-reading-time
|
|
||||||
cargo install mdbook-pagetoc
|
|
||||||
cargo install mdbook-tabs
|
|
||||||
cargo install mdbook-codename
|
|
||||||
|
|
||||||
|
|
||||||
- name: Update & install wget & translator.py
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install wget -y
|
|
||||||
cd scripts
|
|
||||||
rm -f translator.py
|
|
||||||
wget https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Download language branch #Make sure we have last version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Translator'
|
|
||||||
git config --global user.email 'github-actions@github.com'
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git pull
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
|
||||||
run: |
|
|
||||||
echo "Starting translations"
|
|
||||||
echo "Commit: $GITHUB_SHA"
|
|
||||||
|
|
||||||
# Export the OpenAI API key as an environment variable
|
|
||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
|
||||||
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
|
||||||
else
|
|
||||||
echo "Skipping $file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Translating $(cat /tmp/file_paths.txt)"
|
|
||||||
python scripts/translator.py --language "$LANGUAGE" --branch "$BRANCH" --api-key "$OPENAI_API_KEY" -f "$(cat /tmp/file_paths.txt)" -t 3
|
|
||||||
|
|
||||||
# Push changes to the repository
|
|
||||||
- name: Commit and push changes
|
|
||||||
run: |
|
|
||||||
git checkout "$BRANCH"
|
|
||||||
git add -A
|
|
||||||
git commit -m "Translated $BRANCH files" || true
|
|
||||||
git push --set-upstream origin "$BRANCH"
|
|
||||||
|
|
||||||
# Build the mdBook
|
|
||||||
- name: Build mdBook
|
|
||||||
run: mdbook build
|
|
||||||
|
|
||||||
# Login in AWs
|
|
||||||
- name: Configure AWS credentials using OIDC
|
|
||||||
uses: aws-actions/configure-aws-credentials@v3
|
|
||||||
with:
|
|
||||||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
|
|
||||||
# Sync the build to S3
|
|
||||||
- name: Sync to S3
|
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
|
||||||
3
.gitignore
vendored
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# General
|
# General
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.AppleDouble
|
.AppleDouble
|
||||||
@@ -36,3 +34,4 @@ Temporary Items
|
|||||||
book
|
book
|
||||||
book/*
|
book/*
|
||||||
hacktricks-preprocessor.log
|
hacktricks-preprocessor.log
|
||||||
|
hacktricks-preprocessor-error.log
|
||||||
|
|||||||
34
README.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# HackTricks Cloud
|
||||||
|
|
||||||
|
{{#include ./banners/hacktricks-training.md}}
|
||||||
|
|
||||||
|
<figure><img src="images/cloud.gif" alt=""><figcaption></figcaption></figure>
|
||||||
|
|
||||||
|
_Hacktricks लोगो और मोशन डिज़ाइन_ [_@ppiernacho_](https://www.instagram.com/ppieranacho/)_ द्वारा।_
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> उस पृष्ठ पर आपका स्वागत है जहाँ आप प्रत्येक **हैकिंग ट्रिक/तकनीक/जो भी CI/CD & Cloud से संबंधित है** जो मैंने **CTFs**, **वास्तविक** जीवन **पर्यावरण**, **शोध**, और **शोधों और समाचारों** को पढ़ने में सीखा है।
|
||||||
|
|
||||||
|
### **Pentesting CI/CD Methodology**
|
||||||
|
|
||||||
|
**HackTricks CI/CD Methodology में आप CI/CD गतिविधियों से संबंधित बुनियादी ढांचे का परीक्षण करने का तरीका पाएंगे।** एक **परिचय** के लिए निम्नलिखित पृष्ठ पढ़ें:
|
||||||
|
|
||||||
|
[pentesting-ci-cd-methodology.md](pentesting-ci-cd/pentesting-ci-cd-methodology.md)
|
||||||
|
|
||||||
|
### Pentesting Cloud Methodology
|
||||||
|
|
||||||
|
**HackTricks Cloud Methodology में आप क्लाउड वातावरण का परीक्षण करने का तरीका पाएंगे।** एक **परिचय** के लिए निम्नलिखित पृष्ठ पढ़ें:
|
||||||
|
|
||||||
|
[pentesting-cloud-methodology.md](pentesting-cloud/pentesting-cloud-methodology.md)
|
||||||
|
|
||||||
|
### License & Disclaimer
|
||||||
|
|
||||||
|
**इन्हें देखें:**
|
||||||
|
|
||||||
|
[HackTricks Values & FAQ](https://app.gitbook.com/s/-L_2uGJGU7AVNRcqRvEi/welcome/hacktricks-values-and-faq)
|
||||||
|
|
||||||
|
### Github Stats
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
{{#include ./banners/hacktricks-training.md}}
|
||||||
19
book.toml
@@ -1,7 +1,6 @@
|
|||||||
[book]
|
[book]
|
||||||
authors = ["Carlos Polop"]
|
authors = ["HackTricks Team"]
|
||||||
language = "en"
|
language = "en"
|
||||||
multilingual = false
|
|
||||||
src = "src"
|
src = "src"
|
||||||
title = "HackTricks Cloud"
|
title = "HackTricks Cloud"
|
||||||
|
|
||||||
@@ -9,31 +8,25 @@ title = "HackTricks Cloud"
|
|||||||
create-missing = false
|
create-missing = false
|
||||||
extra-watch-dirs = ["translations"]
|
extra-watch-dirs = ["translations"]
|
||||||
|
|
||||||
[preprocessor.alerts]
|
|
||||||
after = ["links"]
|
|
||||||
|
|
||||||
[preprocessor.reading-time]
|
|
||||||
|
|
||||||
[preprocessor.pagetoc]
|
|
||||||
|
|
||||||
[preprocessor.tabs]
|
[preprocessor.tabs]
|
||||||
|
|
||||||
[preprocessor.codename]
|
|
||||||
|
|
||||||
[preprocessor.hacktricks]
|
[preprocessor.hacktricks]
|
||||||
command = "python3 ./hacktricks-preprocessor.py"
|
command = "python3 ./hacktricks-preprocessor.py"
|
||||||
|
env = "prod"
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
additional-css = ["theme/pagetoc.css", "theme/tabs.css"]
|
additional-css = ["theme/tabs.css", "theme/pagetoc.css"]
|
||||||
additional-js = [
|
additional-js = [
|
||||||
"theme/pagetoc.js",
|
|
||||||
"theme/tabs.js",
|
"theme/tabs.js",
|
||||||
|
"theme/pagetoc.js",
|
||||||
"theme/ht_searcher.js",
|
"theme/ht_searcher.js",
|
||||||
"theme/sponsor.js",
|
"theme/sponsor.js",
|
||||||
|
"theme/ai.js"
|
||||||
]
|
]
|
||||||
no-section-label = true
|
no-section-label = true
|
||||||
preferred-dark-theme = "hacktricks-dark"
|
preferred-dark-theme = "hacktricks-dark"
|
||||||
default-theme = "hacktricks-light"
|
default-theme = "hacktricks-light"
|
||||||
|
hash-files = false
|
||||||
|
|
||||||
[output.html.fold]
|
[output.html.fold]
|
||||||
enable = true # whether or not to enable section folding
|
enable = true # whether or not to enable section folding
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import json
|
import json
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
import logging
|
import logging
|
||||||
@@ -6,7 +7,14 @@ from os import path
|
|||||||
from urllib.request import urlopen, Request
|
from urllib.request import urlopen, Request
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
logging.basicConfig(filename='hacktricks-preprocessor.log', filemode='w', encoding='utf-8', level=logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
|
handler = logging.FileHandler(filename='hacktricks-preprocessor.log', mode='w', encoding='utf-8')
|
||||||
|
handler.setLevel(logging.DEBUG)
|
||||||
|
logger.addHandler(handler)
|
||||||
|
|
||||||
|
handler2 = logging.FileHandler(filename='hacktricks-preprocessor-error.log', mode='w', encoding='utf-8')
|
||||||
|
handler2.setLevel(logging.ERROR)
|
||||||
|
logger.addHandler(handler2)
|
||||||
|
|
||||||
|
|
||||||
def findtitle(search ,obj, key, path=(),):
|
def findtitle(search ,obj, key, path=(),):
|
||||||
@@ -26,37 +34,63 @@ def findtitle(search ,obj, key, path=(),):
|
|||||||
|
|
||||||
|
|
||||||
def ref(matchobj):
|
def ref(matchobj):
|
||||||
logger.debug(f'Match: {matchobj.groups(0)[0].strip()}')
|
logger.debug(f'Ref match: {matchobj.groups(0)[0].strip()}')
|
||||||
href = matchobj.groups(0)[0].strip()
|
href = matchobj.groups(0)[0].strip()
|
||||||
title = href
|
title = href
|
||||||
if href.startswith("http://") or href.startswith("https://"):
|
if href.startswith("http://") or href.startswith("https://"):
|
||||||
# pass
|
if context['config']['preprocessor']['hacktricks']['env'] == 'dev':
|
||||||
try:
|
pass
|
||||||
raw_html = str(urlopen(Request(href, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0'})).read())
|
else:
|
||||||
match = re.search('<title>(.*?)</title>', raw_html)
|
try:
|
||||||
title = match.group(1) if match else href
|
raw_html = str(urlopen(Request(href, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0'})).read())
|
||||||
except Exception as e:
|
match = re.search('<title>(.*?)</title>', raw_html)
|
||||||
logger.debug(f'Error opening URL {href}: {e}')
|
title = match.group(1) if match else href
|
||||||
pass #nDont stop on broken link
|
except Exception as e:
|
||||||
|
logger.error(f'Error opening URL {href}: {e}')
|
||||||
|
pass #Dont stop on broken link
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
if href.endswith("/"):
|
if href.endswith("/"):
|
||||||
href = href+"README.md" # Fix if ref points to a folder
|
href = href+"README.md" # Fix if ref points to a folder
|
||||||
chapter, _path = findtitle(href, book, "source_path")
|
if "#" in href:
|
||||||
logger.debug(f'Recursive title search result: {chapter['name']}')
|
result = findtitle(href.split("#")[0], book, "source_path")
|
||||||
title = chapter['name']
|
if result is None or result[0] is None:
|
||||||
|
raise Exception(f"Chapter not found")
|
||||||
|
chapter, _path = result
|
||||||
|
title = " ".join(href.split("#")[1].split("-")).title()
|
||||||
|
logger.debug(f'Ref has # using title: {title}')
|
||||||
|
else:
|
||||||
|
result = findtitle(href, book, "source_path")
|
||||||
|
if result is None or result[0] is None:
|
||||||
|
raise Exception(f"Chapter not found")
|
||||||
|
chapter, _path = result
|
||||||
|
logger.debug(f'Recursive title search result: {chapter["name"]}')
|
||||||
|
title = chapter['name']
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
try:
|
try:
|
||||||
dir = path.dirname(current_chapter['source_path'])
|
dir = path.dirname(current_chapter['source_path'])
|
||||||
logger.debug(f'Error getting chapter title: {href} trying with relative path {path.normpath(path.join(dir,href))}')
|
logger.debug(f'Error getting chapter title: {href} trying with relative path {path.normpath(path.join(dir,href))}')
|
||||||
chapter, _path = findtitle(path.normpath(path.join(dir,href)), book, "source_path")
|
if "#" in href:
|
||||||
logger.debug(f'Recursive title search result: {chapter['name']}')
|
result = findtitle(path.normpath(path.join(dir,href.split('#')[0])), book, "source_path")
|
||||||
title = chapter['name']
|
if result is None or result[0] is None:
|
||||||
|
raise Exception(f"Chapter not found")
|
||||||
|
chapter, _path = result
|
||||||
|
title = " ".join(href.split("#")[1].split("-")).title()
|
||||||
|
logger.debug(f'Ref has # using title: {title}')
|
||||||
|
else:
|
||||||
|
result = findtitle(path.normpath(path.join(dir,href.split('#')[0])), book, "source_path")
|
||||||
|
if result is None or result[0] is None:
|
||||||
|
raise Exception(f"Chapter not found")
|
||||||
|
chapter, _path = result
|
||||||
|
title = chapter["name"]
|
||||||
|
logger.debug(f'Recursive title search result: {chapter["name"]}')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.debug(f'Error getting chapter title: {path.normpath(path.join(dir,href))}')
|
logger.error(f"Error: {e}")
|
||||||
print(f'Error getting chapter title: {path.normpath(path.join(dir,href))}')
|
logger.error(f'Error getting chapter title: {path.normpath(path.join(dir,href))}')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
if href.endswith("/README.md"):
|
||||||
|
href = href.replace("/README.md", "/index.html")
|
||||||
|
|
||||||
template = f"""<a class="content_ref" href="{href}"><span class="content_ref_label">{title}</span></a>"""
|
template = f"""<a class="content_ref" href="{href}"><span class="content_ref_label">{title}</span></a>"""
|
||||||
|
|
||||||
@@ -67,6 +101,41 @@ def ref(matchobj):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
def files(matchobj):
|
||||||
|
logger.debug(f'Files match: {matchobj.groups(0)[0].strip()}')
|
||||||
|
href = matchobj.groups(0)[0].strip()
|
||||||
|
title = ""
|
||||||
|
|
||||||
|
try:
|
||||||
|
for root, dirs, files in os.walk(os.getcwd()+'/src/files'):
|
||||||
|
logger.debug(root)
|
||||||
|
logger.debug(files)
|
||||||
|
if href in files:
|
||||||
|
title = href
|
||||||
|
logger.debug(f'File search result: {os.path.join(root, href)}')
|
||||||
|
|
||||||
|
except Exception as e:
|
||||||
|
logger.error(f"Error: {e}")
|
||||||
|
logger.error(f'Error searching file: {href}')
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
if title=="":
|
||||||
|
logger.error(f'Error searching file: {href}')
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
template = f"""<a class="content_ref" href="/files/{href}"><span class="content_ref_label">{title}</span></a>"""
|
||||||
|
|
||||||
|
result = template
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
def add_read_time(content):
|
||||||
|
regex = r'(<\/style>\n# .*(?=\n))'
|
||||||
|
new_content = re.sub(regex, lambda x: x.group(0) + "\n\nReading time: {{ #reading_time }}", content)
|
||||||
|
return new_content
|
||||||
|
|
||||||
|
|
||||||
def iterate_chapters(sections):
|
def iterate_chapters(sections):
|
||||||
if isinstance(sections, dict) and "PartTitle" in sections: # Not a chapter section
|
if isinstance(sections, dict) and "PartTitle" in sections: # Not a chapter section
|
||||||
return
|
return
|
||||||
@@ -90,13 +159,22 @@ if __name__ == '__main__':
|
|||||||
context, book = json.load(sys.stdin)
|
context, book = json.load(sys.stdin)
|
||||||
|
|
||||||
logger.debug(f"Context: {context}")
|
logger.debug(f"Context: {context}")
|
||||||
|
logger.debug(f"Book keys: {book.keys()}")
|
||||||
|
|
||||||
|
# Handle both old (sections) and new (items) mdbook API
|
||||||
for chapter in iterate_chapters(book['sections']):
|
book_items = book.get('sections') or book.get('items', [])
|
||||||
|
|
||||||
|
for chapter in iterate_chapters(book_items):
|
||||||
|
if chapter is None:
|
||||||
|
continue
|
||||||
logger.debug(f"Chapter: {chapter['path']}")
|
logger.debug(f"Chapter: {chapter['path']}")
|
||||||
current_chapter = chapter
|
current_chapter = chapter
|
||||||
regex = r'{{[\s]*#ref[\s]*}}(?:\n)?([^\\\n]*)(?:\n)?{{[\s]*#endref[\s]*}}'
|
# regex = r'{{[\s]*#ref[\s]*}}(?:\n)?([^\\\n]*)(?:\n)?{{[\s]*#endref[\s]*}}'
|
||||||
|
regex = r'{{[\s]*#ref[\s]*}}(?:\n)?([^\\\n#]*(?:#(.*))?)(?:\n)?{{[\s]*#endref[\s]*}}'
|
||||||
new_content = re.sub(regex, ref, chapter['content'])
|
new_content = re.sub(regex, ref, chapter['content'])
|
||||||
|
regex = r'{{[\s]*#file[\s]*}}(?:\n)?([^\\\n]*)(?:\n)?{{[\s]*#endfile[\s]*}}'
|
||||||
|
new_content = re.sub(regex, files, new_content)
|
||||||
|
new_content = add_read_time(new_content)
|
||||||
chapter['content'] = new_content
|
chapter['content'] = new_content
|
||||||
|
|
||||||
content = json.dumps(book)
|
content = json.dumps(book)
|
||||||
|
|||||||
@@ -1,145 +0,0 @@
|
|||||||
import os
|
|
||||||
import re
|
|
||||||
import tempfile
|
|
||||||
|
|
||||||
def clean_and_merge_md_files(start_folder, exclude_keywords, output_file):
|
|
||||||
def clean_file_content(file_path):
|
|
||||||
"""Clean the content of a single file and return the cleaned lines."""
|
|
||||||
with open(file_path, "r", encoding="utf-8") as f:
|
|
||||||
content = f.readlines()
|
|
||||||
|
|
||||||
cleaned_lines = []
|
|
||||||
inside_hint = False
|
|
||||||
for i,line in enumerate(content):
|
|
||||||
# Skip lines containing excluded keywords
|
|
||||||
if any(keyword in line for keyword in exclude_keywords):
|
|
||||||
continue
|
|
||||||
|
|
||||||
# Detect and skip {% hint %} ... {% endhint %} blocks
|
|
||||||
if "{% hint style=\"success\" %}" in line and "Learn & practice" in content[i+1]:
|
|
||||||
inside_hint = True
|
|
||||||
if "{% endhint %}" in line:
|
|
||||||
inside_hint = False
|
|
||||||
continue
|
|
||||||
if inside_hint:
|
|
||||||
continue
|
|
||||||
|
|
||||||
# Skip lines with <figure> ... </figure>
|
|
||||||
if re.match(r"<figure>.*?</figure>", line):
|
|
||||||
continue
|
|
||||||
|
|
||||||
# Add the line if it passed all checks
|
|
||||||
cleaned_lines.append(line.rstrip())
|
|
||||||
|
|
||||||
# Remove excess consecutive empty lines
|
|
||||||
cleaned_lines = remove_consecutive_empty_lines(cleaned_lines)
|
|
||||||
return cleaned_lines
|
|
||||||
|
|
||||||
def remove_consecutive_empty_lines(lines):
|
|
||||||
"""Allow no more than one consecutive empty line."""
|
|
||||||
cleaned_lines = []
|
|
||||||
previous_line_empty = False
|
|
||||||
for line in lines:
|
|
||||||
if line.strip() == "":
|
|
||||||
if not previous_line_empty:
|
|
||||||
cleaned_lines.append("")
|
|
||||||
previous_line_empty = True
|
|
||||||
else:
|
|
||||||
cleaned_lines.append(line)
|
|
||||||
previous_line_empty = False
|
|
||||||
return cleaned_lines
|
|
||||||
|
|
||||||
def gather_files_in_order(start_folder):
|
|
||||||
"""Gather all .md files in a depth-first order."""
|
|
||||||
files = []
|
|
||||||
for root, _, filenames in os.walk(start_folder):
|
|
||||||
md_files = sorted([os.path.join(root, f) for f in filenames if f.endswith(".md")])
|
|
||||||
files.extend(md_files)
|
|
||||||
return files
|
|
||||||
|
|
||||||
# Gather files in depth-first order
|
|
||||||
all_files = gather_files_in_order(start_folder)
|
|
||||||
|
|
||||||
# Process files and merge into a single output
|
|
||||||
with open(output_file, "w", encoding="utf-8") as output:
|
|
||||||
for file_path in all_files:
|
|
||||||
# Clean the content of the file
|
|
||||||
cleaned_content = clean_file_content(file_path)
|
|
||||||
|
|
||||||
# Skip saving if the cleaned file has fewer than 10 non-empty lines
|
|
||||||
if len([line for line in cleaned_content if line.strip()]) < 10:
|
|
||||||
continue
|
|
||||||
|
|
||||||
# Get the name of the file for the header
|
|
||||||
file_name = os.path.basename(file_path)
|
|
||||||
|
|
||||||
# Write header, cleaned content, and 2 extra new lines
|
|
||||||
output.write(f"# {file_name}\n\n")
|
|
||||||
output.write("\n".join(cleaned_content))
|
|
||||||
output.write("\n\n")
|
|
||||||
|
|
||||||
def main():
|
|
||||||
# Specify the starting folder and output file
|
|
||||||
start_folder = os.getcwd()
|
|
||||||
output_file = os.path.join(tempfile.gettempdir(), "merged_output.md")
|
|
||||||
|
|
||||||
# Keywords to exclude from lines
|
|
||||||
exclude_keywords = [
|
|
||||||
"STM Cyber", # STM Cyber ads
|
|
||||||
"offer several valuable cybersecurity services", # STM Cyber ads
|
|
||||||
"and hack the unhackable", # STM Cyber ads
|
|
||||||
"blog.stmcyber.com", # STM Cyber ads
|
|
||||||
|
|
||||||
"RootedCON", # RootedCON ads
|
|
||||||
"rootedcon.com", # RootedCON ads
|
|
||||||
"the mission of promoting technical knowledge", # RootedCON ads
|
|
||||||
|
|
||||||
"Intigriti", # Intigriti ads
|
|
||||||
"intigriti.com", # Intigriti ads
|
|
||||||
|
|
||||||
"Trickest", # Trickest ads
|
|
||||||
"trickest.com", # Trickest ads,
|
|
||||||
"Get Access Today:",
|
|
||||||
|
|
||||||
"HACKENPROOF", # Hackenproof ads
|
|
||||||
"hackenproof.com", # Hackenproof ads
|
|
||||||
"HackenProof", # Hackenproof ads
|
|
||||||
"discord.com/invite/N3FrSbmwdy", # Hackenproof ads
|
|
||||||
"Hacking Insights:", # Hackenproof ads
|
|
||||||
"Engage with content that delves", # Hackenproof ads
|
|
||||||
"Real-Time Hack News:", # Hackenproof ads
|
|
||||||
"Keep up-to-date with fast-paced", # Hackenproof ads
|
|
||||||
"Latest Announcements:", # Hackenproof ads
|
|
||||||
"Stay informed with the newest bug", # Hackenproof ads
|
|
||||||
"start collaborating with top hackers today!", # Hackenproof ads
|
|
||||||
"discord.com/invite/N3FrSbmwdy", # Hackenproof ads
|
|
||||||
|
|
||||||
"Pentest-Tools", # Pentest-Tools.com ads
|
|
||||||
"pentest-tools.com", # Pentest-Tools.com ads
|
|
||||||
"perspective on your web apps, network, and", # Pentest-Tools.com ads
|
|
||||||
"report critical, exploitable vulnerabilities with real business impact", # Pentest-Tools.com ads
|
|
||||||
|
|
||||||
"SerpApi", # SerpApi ads
|
|
||||||
"serpapi.com", # SerpApi ads
|
|
||||||
"offers fast and easy real-time", # SerpApi ads
|
|
||||||
"plans includes access to over 50 different APIs for scraping", # SerpApi ads
|
|
||||||
|
|
||||||
"8kSec", # 8kSec ads
|
|
||||||
"academy.8ksec.io", # 8kSec ads
|
|
||||||
"Learn the technologies and skills required", # 8kSec ads
|
|
||||||
|
|
||||||
"WebSec", # WebSec ads
|
|
||||||
"websec.nl", # WebSec ads
|
|
||||||
"which means they do it all; Pentesting", # WebSec ads
|
|
||||||
]
|
|
||||||
|
|
||||||
# Clean and merge .md files
|
|
||||||
clean_and_merge_md_files(start_folder, exclude_keywords, output_file)
|
|
||||||
|
|
||||||
# Print the path to the output file
|
|
||||||
print(f"Merged content has been saved to: {output_file}")
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
# Execute this from the hacktricks folder to clean
|
|
||||||
# It will clean all the .md files and compile them into 1 in a proper order
|
|
||||||
main()
|
|
||||||
@@ -1,31 +1,55 @@
|
|||||||
# HackTricks Cloud
|
# HackTricks Cloud
|
||||||
|
|
||||||
Reading time: {{ #reading_time }}
|
|
||||||
|
|
||||||
{{#include ./banners/hacktricks-training.md}}
|
{{#include ./banners/hacktricks-training.md}}
|
||||||
|
|
||||||
<figure><img src="images/cloud.gif" alt=""><figcaption></figcaption></figure>
|
<figure><img src="images/cloud.gif" alt=""><figcaption></figcaption></figure>
|
||||||
|
|
||||||
_Hacktricks logos & motion designed by_ [_@ppiernacho_](https://www.instagram.com/ppieranacho/)_._
|
_Hacktricks के लोगो और मोशन का डिज़ाइन_ [_@ppieranacho_](https://www.instagram.com/ppieranacho/)_._
|
||||||
|
|
||||||
> [!TIP]
|
### HackTricks Cloud को लोकल रूप से चलाएँ
|
||||||
> Welcome to the page where you will find each **hacking trick/technique/whatever related to CI/CD & Cloud** I have learnt in **CTFs**, **real** life **environments**, **researching**, and **reading** researches and news.
|
```bash
|
||||||
|
# Download latest version of hacktricks cloud
|
||||||
|
git clone https://github.com/HackTricks-wiki/hacktricks-cloud
|
||||||
|
|
||||||
### **Pentesting CI/CD Methodology**
|
# Select the language you want to use
|
||||||
|
export LANG="master" # Leave master for English
|
||||||
|
# "af" for Afrikaans
|
||||||
|
# "de" for German
|
||||||
|
# "el" for Greek
|
||||||
|
# "es" for Spanish
|
||||||
|
# "fr" for French
|
||||||
|
# "hi" for Hindi
|
||||||
|
# "it" for Italian
|
||||||
|
# "ja" for Japanese
|
||||||
|
# "ko" for Korean
|
||||||
|
# "pl" for Polish
|
||||||
|
# "pt" for Portuguese
|
||||||
|
# "sr" for Serbian
|
||||||
|
# "sw" for Swahili
|
||||||
|
# "tr" for Turkish
|
||||||
|
# "uk" for Ukrainian
|
||||||
|
# "zh" for Chinese
|
||||||
|
|
||||||
**In the HackTricks CI/CD Methodology you will find how to pentest infrastructure related to CI/CD activities.** Read the following page for an **introduction:**
|
# Run the docker container indicating the path to the hacktricks-cloud folder
|
||||||
|
docker run -d --rm --platform linux/amd64 -p 3377:3000 --name hacktricks_cloud -v $(pwd)/hacktricks-cloud:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "mkdir -p ~/.ssh && ssh-keyscan -H github.com >> ~/.ssh/known_hosts && cd /app && git checkout $LANG && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0"
|
||||||
|
```
|
||||||
|
आपकी लोकल कॉपी HackTricks Cloud एक मिनट के बाद **[http://localhost:3377](http://localhost:3377)** पर उपलब्ध होगी।
|
||||||
|
|
||||||
|
### **Pentesting CI/CD पद्धति**
|
||||||
|
|
||||||
|
**HackTricks CI/CD Methodology में आप जानेंगे कि CI/CD गतिविधियों से संबंधित इन्फ्रास्ट्रक्चर को कैसे pentest किया जाता है।** परिचय के लिए निम्नलिखित पेज पढ़ें:
|
||||||
|
|
||||||
[pentesting-ci-cd-methodology.md](pentesting-ci-cd/pentesting-ci-cd-methodology.md)
|
[pentesting-ci-cd-methodology.md](pentesting-ci-cd/pentesting-ci-cd-methodology.md)
|
||||||
|
|
||||||
### Pentesting Cloud Methodology
|
### Pentesting Cloud पद्धति
|
||||||
|
|
||||||
**In the HackTricks Cloud Methodology you will find how to pentest cloud environments.** Read the following page for an **introduction:**
|
**HackTricks Cloud Methodology में आप जानेंगे कि cloud environments को कैसे pentest किया जाता है।** परिचय के लिए निम्नलिखित पेज पढ़ें:
|
||||||
|
|
||||||
[pentesting-cloud-methodology.md](pentesting-cloud/pentesting-cloud-methodology.md)
|
[pentesting-cloud-methodology.md](pentesting-cloud/pentesting-cloud-methodology.md)
|
||||||
|
|
||||||
### License & Disclaimer
|
### लाइसेंस & अस्वीकरण
|
||||||
|
|
||||||
**Check them in:**
|
**इन्हें देखें:**
|
||||||
|
|
||||||
[HackTricks Values & FAQ](https://app.gitbook.com/s/-L_2uGJGU7AVNRcqRvEi/welcome/hacktricks-values-and-faq)
|
[HackTricks Values & FAQ](https://app.gitbook.com/s/-L_2uGJGU7AVNRcqRvEi/welcome/hacktricks-values-and-faq)
|
||||||
|
|
||||||
@@ -34,7 +58,3 @@ _Hacktricks logos & motion designed by_ [_@ppiernacho_](https://www.instagram.co
|
|||||||

|

|
||||||
|
|
||||||
{{#include ./banners/hacktricks-training.md}}
|
{{#include ./banners/hacktricks-training.md}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
368
src/SUMMARY.md
@@ -3,12 +3,15 @@
|
|||||||
# 👽 Welcome!
|
# 👽 Welcome!
|
||||||
|
|
||||||
- [HackTricks Cloud](README.md)
|
- [HackTricks Cloud](README.md)
|
||||||
- [About the Author$$external:https://book.hacktricks.xyz/welcome/about-the-author$$]()
|
- [About the Author$$external:https://book.hacktricks.wiki/en/welcome/about-the-author.html$$]()
|
||||||
- [HackTricks Values & faq$$external:https://book.hacktricks.xyz/welcome/hacktricks-values-and-faq$$]()
|
- [HackTricks Values & faq$$external:https://book.hacktricks.wiki/en/welcome/hacktricks-values-and-faq.html$$]()
|
||||||
|
|
||||||
# 🏭 Pentesting CI/CD
|
# 🏭 Pentesting CI/CD
|
||||||
|
|
||||||
- [Pentesting CI/CD Methodology](pentesting-ci-cd/pentesting-ci-cd-methodology.md)
|
- [Pentesting CI/CD Methodology](pentesting-ci-cd/pentesting-ci-cd-methodology.md)
|
||||||
|
- [Docker Build Context Abuse in Cloud Envs](pentesting-ci-cd/docker-build-context-abuse.md)
|
||||||
|
- [Gitblit Security](pentesting-ci-cd/gitblit-security/README.md)
|
||||||
|
- [Ssh Auth Bypass](pentesting-ci-cd/gitblit-security/gitblit-embedded-ssh-auth-bypass-cve-2024-28080.md)
|
||||||
- [Github Security](pentesting-ci-cd/github-security/README.md)
|
- [Github Security](pentesting-ci-cd/github-security/README.md)
|
||||||
- [Abusing Github Actions](pentesting-ci-cd/github-security/abusing-github-actions/README.md)
|
- [Abusing Github Actions](pentesting-ci-cd/github-security/abusing-github-actions/README.md)
|
||||||
- [Gh Actions - Artifact Poisoning](pentesting-ci-cd/github-security/abusing-github-actions/gh-actions-artifact-poisoning.md)
|
- [Gh Actions - Artifact Poisoning](pentesting-ci-cd/github-security/abusing-github-actions/gh-actions-artifact-poisoning.md)
|
||||||
@@ -39,18 +42,22 @@
|
|||||||
- [Atlantis Security](pentesting-ci-cd/atlantis-security.md)
|
- [Atlantis Security](pentesting-ci-cd/atlantis-security.md)
|
||||||
- [Cloudflare Security](pentesting-ci-cd/cloudflare-security/README.md)
|
- [Cloudflare Security](pentesting-ci-cd/cloudflare-security/README.md)
|
||||||
- [Cloudflare Domains](pentesting-ci-cd/cloudflare-security/cloudflare-domains.md)
|
- [Cloudflare Domains](pentesting-ci-cd/cloudflare-security/cloudflare-domains.md)
|
||||||
|
- [Cloudflare Workers Pass Through Proxy Ip Rotation](pentesting-ci-cd/cloudflare-security/cloudflare-workers-pass-through-proxy-ip-rotation.md)
|
||||||
- [Cloudflare Zero Trust Network](pentesting-ci-cd/cloudflare-security/cloudflare-zero-trust-network.md)
|
- [Cloudflare Zero Trust Network](pentesting-ci-cd/cloudflare-security/cloudflare-zero-trust-network.md)
|
||||||
- [Okta Security](pentesting-ci-cd/okta-security/README.md)
|
- [Okta Security](pentesting-ci-cd/okta-security/README.md)
|
||||||
- [Okta Hardening](pentesting-ci-cd/okta-security/okta-hardening.md)
|
- [Okta Hardening](pentesting-ci-cd/okta-security/okta-hardening.md)
|
||||||
- [Serverless.com Security](pentesting-ci-cd/serverless.com-security.md)
|
- [Serverless.com Security](pentesting-ci-cd/serverless.com-security.md)
|
||||||
- [Supabase Security](pentesting-ci-cd/supabase-security.md)
|
- [Supabase Security](pentesting-ci-cd/supabase-security.md)
|
||||||
- [Ansible Tower / AWX / Automation controller Security](pentesting-ci-cd/ansible-tower-awx-automation-controller-security.md)
|
- [Check Automate Security](pentesting-ci-cd/chef-automate-security/README.md)
|
||||||
|
- [Chef Automate Enumeration And Attacks](pentesting-ci-cd/chef-automate-security/chef-automate-enumeration-and-attacks.md)
|
||||||
- [Vercel Security](pentesting-ci-cd/vercel-security.md)
|
- [Vercel Security](pentesting-ci-cd/vercel-security.md)
|
||||||
|
- [Ansible Tower / AWX / Automation controller Security](pentesting-ci-cd/ansible-tower-awx-automation-controller-security.md)
|
||||||
- [TODO](pentesting-ci-cd/todo.md)
|
- [TODO](pentesting-ci-cd/todo.md)
|
||||||
|
|
||||||
# ⛈️ Pentesting Cloud
|
# ⛈️ Pentesting Cloud
|
||||||
|
|
||||||
- [Pentesting Cloud Methodology](pentesting-cloud/pentesting-cloud-methodology.md)
|
- [Pentesting Cloud Methodology](pentesting-cloud/pentesting-cloud-methodology.md)
|
||||||
|
- [Luks2 Header Malleability Null Cipher Abuse](pentesting-cloud/confidential-computing/luks2-header-malleability-null-cipher-abuse.md)
|
||||||
- [Kubernetes Pentesting](pentesting-cloud/kubernetes-security/README.md)
|
- [Kubernetes Pentesting](pentesting-cloud/kubernetes-security/README.md)
|
||||||
- [Kubernetes Basics](pentesting-cloud/kubernetes-security/kubernetes-basics.md)
|
- [Kubernetes Basics](pentesting-cloud/kubernetes-security/kubernetes-basics.md)
|
||||||
- [Pentesting Kubernetes Services](pentesting-cloud/kubernetes-security/pentesting-kubernetes-services/README.md)
|
- [Pentesting Kubernetes Services](pentesting-cloud/kubernetes-security/pentesting-kubernetes-services/README.md)
|
||||||
@@ -80,6 +87,7 @@
|
|||||||
- [GCP - Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/README.md)
|
- [GCP - Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/README.md)
|
||||||
- [GCP - App Engine Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-app-engine-post-exploitation.md)
|
- [GCP - App Engine Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-app-engine-post-exploitation.md)
|
||||||
- [GCP - Artifact Registry Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-artifact-registry-post-exploitation.md)
|
- [GCP - Artifact Registry Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-artifact-registry-post-exploitation.md)
|
||||||
|
- [GCP - Bigtable Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-bigtable-post-exploitation.md)
|
||||||
- [GCP - Cloud Build Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-cloud-build-post-exploitation.md)
|
- [GCP - Cloud Build Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-cloud-build-post-exploitation.md)
|
||||||
- [GCP - Cloud Functions Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-cloud-functions-post-exploitation.md)
|
- [GCP - Cloud Functions Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-cloud-functions-post-exploitation.md)
|
||||||
- [GCP - Cloud Run Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-cloud-run-post-exploitation.md)
|
- [GCP - Cloud Run Post Exploitation](pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-cloud-run-post-exploitation.md)
|
||||||
@@ -102,18 +110,22 @@
|
|||||||
- [GCP - Artifact Registry Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-artifact-registry-privesc.md)
|
- [GCP - Artifact Registry Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-artifact-registry-privesc.md)
|
||||||
- [GCP - Batch Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-batch-privesc.md)
|
- [GCP - Batch Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-batch-privesc.md)
|
||||||
- [GCP - BigQuery Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-bigquery-privesc.md)
|
- [GCP - BigQuery Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-bigquery-privesc.md)
|
||||||
|
- [GCP - Bigtable Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-bigtable-privesc.md)
|
||||||
- [GCP - ClientAuthConfig Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-clientauthconfig-privesc.md)
|
- [GCP - ClientAuthConfig Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-clientauthconfig-privesc.md)
|
||||||
- [GCP - Cloudbuild Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudbuild-privesc.md)
|
- [GCP - Cloudbuild Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudbuild-privesc.md)
|
||||||
- [GCP - Cloudfunctions Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudfunctions-privesc.md)
|
- [GCP - Cloudfunctions Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudfunctions-privesc.md)
|
||||||
- [GCP - Cloudidentity Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudidentity-privesc.md)
|
- [GCP - Cloudidentity Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudidentity-privesc.md)
|
||||||
- [GCP - Cloud Scheduler Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudscheduler-privesc.md)
|
- [GCP - Cloud Scheduler Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudscheduler-privesc.md)
|
||||||
|
- [GCP - Cloud Tasks Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-cloudtasks-privesc.md)
|
||||||
- [GCP - Compute Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-compute-privesc/README.md)
|
- [GCP - Compute Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-compute-privesc/README.md)
|
||||||
- [GCP - Add Custom SSH Metadata](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-compute-privesc/gcp-add-custom-ssh-metadata.md)
|
- [GCP - Add Custom SSH Metadata](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-compute-privesc/gcp-add-custom-ssh-metadata.md)
|
||||||
- [GCP - Composer Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-composer-privesc.md)
|
- [GCP - Composer Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-composer-privesc.md)
|
||||||
- [GCP - Container Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-container-privesc.md)
|
- [GCP - Container Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-container-privesc.md)
|
||||||
|
- [GCP - Dataproc Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-dataproc-privesc.md)
|
||||||
- [GCP - Deploymentmaneger Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-deploymentmaneger-privesc.md)
|
- [GCP - Deploymentmaneger Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-deploymentmaneger-privesc.md)
|
||||||
- [GCP - IAM Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-iam-privesc.md)
|
- [GCP - IAM Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-iam-privesc.md)
|
||||||
- [GCP - KMS Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-kms-privesc.md)
|
- [GCP - KMS Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-kms-privesc.md)
|
||||||
|
- [GCP - Firebase Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-firebase-privesc.md)
|
||||||
- [GCP - Orgpolicy Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-orgpolicy-privesc.md)
|
- [GCP - Orgpolicy Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-orgpolicy-privesc.md)
|
||||||
- [GCP - Pubsub Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-pubsub-privesc.md)
|
- [GCP - Pubsub Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-pubsub-privesc.md)
|
||||||
- [GCP - Resourcemanager Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-resourcemanager-privesc.md)
|
- [GCP - Resourcemanager Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-resourcemanager-privesc.md)
|
||||||
@@ -122,6 +134,7 @@
|
|||||||
- [GCP - Serviceusage Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-serviceusage-privesc.md)
|
- [GCP - Serviceusage Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-serviceusage-privesc.md)
|
||||||
- [GCP - Sourcerepos Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-sourcerepos-privesc.md)
|
- [GCP - Sourcerepos Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-sourcerepos-privesc.md)
|
||||||
- [GCP - Storage Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-storage-privesc.md)
|
- [GCP - Storage Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-storage-privesc.md)
|
||||||
|
- [GCP - Vertex AI Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-vertex-ai-privesc.md)
|
||||||
- [GCP - Workflows Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-workflows-privesc.md)
|
- [GCP - Workflows Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-workflows-privesc.md)
|
||||||
- [GCP - Generic Permissions Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-misc-perms-privesc.md)
|
- [GCP - Generic Permissions Privesc](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-misc-perms-privesc.md)
|
||||||
- [GCP - Network Docker Escape](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-network-docker-escape.md)
|
- [GCP - Network Docker Escape](pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-network-docker-escape.md)
|
||||||
@@ -131,6 +144,7 @@
|
|||||||
- [GCP - App Engine Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-app-engine-persistence.md)
|
- [GCP - App Engine Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-app-engine-persistence.md)
|
||||||
- [GCP - Artifact Registry Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-artifact-registry-persistence.md)
|
- [GCP - Artifact Registry Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-artifact-registry-persistence.md)
|
||||||
- [GCP - BigQuery Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-bigquery-persistence.md)
|
- [GCP - BigQuery Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-bigquery-persistence.md)
|
||||||
|
- [GCP - Bigtable Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-bigtable-persistence.md)
|
||||||
- [GCP - Cloud Functions Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-cloud-functions-persistence.md)
|
- [GCP - Cloud Functions Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-cloud-functions-persistence.md)
|
||||||
- [GCP - Cloud Run Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-cloud-run-persistence.md)
|
- [GCP - Cloud Run Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-cloud-run-persistence.md)
|
||||||
- [GCP - Cloud Shell Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-cloud-shell-persistence.md)
|
- [GCP - Cloud Shell Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-cloud-shell-persistence.md)
|
||||||
@@ -141,7 +155,7 @@
|
|||||||
- [GCP - Logging Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-logging-persistence.md)
|
- [GCP - Logging Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-logging-persistence.md)
|
||||||
- [GCP - Secret Manager Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-secret-manager-persistence.md)
|
- [GCP - Secret Manager Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-secret-manager-persistence.md)
|
||||||
- [GCP - Storage Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-storage-persistence.md)
|
- [GCP - Storage Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-storage-persistence.md)
|
||||||
- [GCP - Token Persistance](pentesting-cloud/gcp-security/gcp-persistence/gcp-non-svc-persistance.md)
|
- [GCP - Token Persistence](pentesting-cloud/gcp-security/gcp-persistence/gcp-non-svc-persistence.md)
|
||||||
- [GCP - Services](pentesting-cloud/gcp-security/gcp-services/README.md)
|
- [GCP - Services](pentesting-cloud/gcp-security/gcp-services/README.md)
|
||||||
- [GCP - AI Platform Enum](pentesting-cloud/gcp-security/gcp-services/gcp-ai-platform-enum.md)
|
- [GCP - AI Platform Enum](pentesting-cloud/gcp-security/gcp-services/gcp-ai-platform-enum.md)
|
||||||
- [GCP - API Keys Enum](pentesting-cloud/gcp-security/gcp-services/gcp-api-keys-enum.md)
|
- [GCP - API Keys Enum](pentesting-cloud/gcp-security/gcp-services/gcp-api-keys-enum.md)
|
||||||
@@ -161,6 +175,7 @@
|
|||||||
- [GCP - VPC & Networking](pentesting-cloud/gcp-security/gcp-services/gcp-compute-instances-enum/gcp-vpc-and-networking.md)
|
- [GCP - VPC & Networking](pentesting-cloud/gcp-security/gcp-services/gcp-compute-instances-enum/gcp-vpc-and-networking.md)
|
||||||
- [GCP - Composer Enum](pentesting-cloud/gcp-security/gcp-services/gcp-composer-enum.md)
|
- [GCP - Composer Enum](pentesting-cloud/gcp-security/gcp-services/gcp-composer-enum.md)
|
||||||
- [GCP - Containers & GKE Enum](pentesting-cloud/gcp-security/gcp-services/gcp-containers-gke-and-composer-enum.md)
|
- [GCP - Containers & GKE Enum](pentesting-cloud/gcp-security/gcp-services/gcp-containers-gke-and-composer-enum.md)
|
||||||
|
- [GCP - Dataproc Enum](pentesting-cloud/gcp-security/gcp-services/gcp-dataproc-enum.md)
|
||||||
- [GCP - DNS Enum](pentesting-cloud/gcp-security/gcp-services/gcp-dns-enum.md)
|
- [GCP - DNS Enum](pentesting-cloud/gcp-security/gcp-services/gcp-dns-enum.md)
|
||||||
- [GCP - Filestore Enum](pentesting-cloud/gcp-security/gcp-services/gcp-filestore-enum.md)
|
- [GCP - Filestore Enum](pentesting-cloud/gcp-security/gcp-services/gcp-filestore-enum.md)
|
||||||
- [GCP - Firebase Enum](pentesting-cloud/gcp-security/gcp-services/gcp-firebase-enum.md)
|
- [GCP - Firebase Enum](pentesting-cloud/gcp-security/gcp-services/gcp-firebase-enum.md)
|
||||||
@@ -177,6 +192,7 @@
|
|||||||
- [GCP - Spanner Enum](pentesting-cloud/gcp-security/gcp-services/gcp-spanner-enum.md)
|
- [GCP - Spanner Enum](pentesting-cloud/gcp-security/gcp-services/gcp-spanner-enum.md)
|
||||||
- [GCP - Stackdriver Enum](pentesting-cloud/gcp-security/gcp-services/gcp-stackdriver-enum.md)
|
- [GCP - Stackdriver Enum](pentesting-cloud/gcp-security/gcp-services/gcp-stackdriver-enum.md)
|
||||||
- [GCP - Storage Enum](pentesting-cloud/gcp-security/gcp-services/gcp-storage-enum.md)
|
- [GCP - Storage Enum](pentesting-cloud/gcp-security/gcp-services/gcp-storage-enum.md)
|
||||||
|
- [GCP - Vertex AI Enum](pentesting-cloud/gcp-security/gcp-services/gcp-vertex-ai-enum.md)
|
||||||
- [GCP - Workflows Enum](pentesting-cloud/gcp-security/gcp-services/gcp-workflows-enum.md)
|
- [GCP - Workflows Enum](pentesting-cloud/gcp-security/gcp-services/gcp-workflows-enum.md)
|
||||||
- [GCP <--> Workspace Pivoting](pentesting-cloud/gcp-security/gcp-to-workspace-pivoting/README.md)
|
- [GCP <--> Workspace Pivoting](pentesting-cloud/gcp-security/gcp-to-workspace-pivoting/README.md)
|
||||||
- [GCP - Understanding Domain-Wide Delegation](pentesting-cloud/gcp-security/gcp-to-workspace-pivoting/gcp-understanding-domain-wide-delegation.md)
|
- [GCP - Understanding Domain-Wide Delegation](pentesting-cloud/gcp-security/gcp-to-workspace-pivoting/gcp-understanding-domain-wide-delegation.md)
|
||||||
@@ -208,105 +224,139 @@
|
|||||||
- [AWS - Federation Abuse](pentesting-cloud/aws-security/aws-basic-information/aws-federation-abuse.md)
|
- [AWS - Federation Abuse](pentesting-cloud/aws-security/aws-basic-information/aws-federation-abuse.md)
|
||||||
- [AWS - Permissions for a Pentest](pentesting-cloud/aws-security/aws-permissions-for-a-pentest.md)
|
- [AWS - Permissions for a Pentest](pentesting-cloud/aws-security/aws-permissions-for-a-pentest.md)
|
||||||
- [AWS - Persistence](pentesting-cloud/aws-security/aws-persistence/README.md)
|
- [AWS - Persistence](pentesting-cloud/aws-security/aws-persistence/README.md)
|
||||||
- [AWS - API Gateway Persistence](pentesting-cloud/aws-security/aws-persistence/aws-api-gateway-persistence.md)
|
- [AWS - API Gateway Persistence](pentesting-cloud/aws-security/aws-persistence/aws-api-gateway-persistence/README.md)
|
||||||
- [AWS - Cognito Persistence](pentesting-cloud/aws-security/aws-persistence/aws-cognito-persistence.md)
|
- [AWS - Cloudformation Persistence](pentesting-cloud/aws-security/aws-persistence/aws-cloudformation-persistence/README.md)
|
||||||
- [AWS - DynamoDB Persistence](pentesting-cloud/aws-security/aws-persistence/aws-dynamodb-persistence.md)
|
- [AWS - Cognito Persistence](pentesting-cloud/aws-security/aws-persistence/aws-cognito-persistence/README.md)
|
||||||
- [AWS - EC2 Persistence](pentesting-cloud/aws-security/aws-persistence/aws-ec2-persistence.md)
|
- [AWS - DynamoDB Persistence](pentesting-cloud/aws-security/aws-persistence/aws-dynamodb-persistence/README.md)
|
||||||
- [AWS - ECR Persistence](pentesting-cloud/aws-security/aws-persistence/aws-ecr-persistence.md)
|
- [AWS - EC2 Persistence](pentesting-cloud/aws-security/aws-persistence/aws-ec2-persistence/README.md)
|
||||||
- [AWS - ECS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-ecs-persistence.md)
|
- [AWS - EC2 ReplaceRootVolume Task (Stealth Backdoor / Persistence)](pentesting-cloud/aws-security/aws-persistence/aws-ec2-replace-root-volume-persistence/README.md)
|
||||||
- [AWS - Elastic Beanstalk Persistence](pentesting-cloud/aws-security/aws-persistence/aws-elastic-beanstalk-persistence.md)
|
- [AWS - ECR Persistence](pentesting-cloud/aws-security/aws-persistence/aws-ecr-persistence/README.md)
|
||||||
- [AWS - EFS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-efs-persistence.md)
|
- [AWS - ECS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-ecs-persistence/README.md)
|
||||||
- [AWS - IAM Persistence](pentesting-cloud/aws-security/aws-persistence/aws-iam-persistence.md)
|
- [AWS - Elastic Beanstalk Persistence](pentesting-cloud/aws-security/aws-persistence/aws-elastic-beanstalk-persistence/README.md)
|
||||||
- [AWS - KMS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-kms-persistence.md)
|
- [AWS - EFS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-efs-persistence/README.md)
|
||||||
|
- [AWS - IAM Persistence](pentesting-cloud/aws-security/aws-persistence/aws-iam-persistence/README.md)
|
||||||
|
- [AWS - KMS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-kms-persistence/README.md)
|
||||||
- [AWS - Lambda Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/README.md)
|
- [AWS - Lambda Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/README.md)
|
||||||
- [AWS - Abusing Lambda Extensions](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/aws-abusing-lambda-extensions.md)
|
- [AWS - Abusing Lambda Extensions](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/aws-abusing-lambda-extensions.md)
|
||||||
|
- [AWS - Lambda Alias Version Policy Backdoor](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/aws-lambda-alias-version-policy-backdoor.md)
|
||||||
|
- [AWS - Lambda Async Self Loop Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/aws-lambda-async-self-loop-persistence.md)
|
||||||
- [AWS - Lambda Layers Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/aws-lambda-layers-persistence.md)
|
- [AWS - Lambda Layers Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/aws-lambda-layers-persistence.md)
|
||||||
- [AWS - Lightsail Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lightsail-persistence.md)
|
- [AWS - Lambda Exec Wrapper Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lambda-persistence/aws-lambda-exec-wrapper-persistence.md)
|
||||||
- [AWS - RDS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-rds-persistence.md)
|
- [AWS - Lightsail Persistence](pentesting-cloud/aws-security/aws-persistence/aws-lightsail-persistence/README.md)
|
||||||
- [AWS - S3 Persistence](pentesting-cloud/aws-security/aws-persistence/aws-s3-persistence.md)
|
- [AWS - RDS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-rds-persistence/README.md)
|
||||||
- [AWS - SNS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-sns-persistence.md)
|
- [AWS - S3 Persistence](pentesting-cloud/aws-security/aws-persistence/aws-s3-persistence/README.md)
|
||||||
- [AWS - Secrets Manager Persistence](pentesting-cloud/aws-security/aws-persistence/aws-secrets-manager-persistence.md)
|
- [Aws Sagemaker Persistence](pentesting-cloud/aws-security/aws-persistence/aws-sagemaker-persistence/README.md)
|
||||||
- [AWS - SQS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-sqs-persistence.md)
|
- [AWS - SNS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-sns-persistence/README.md)
|
||||||
- [AWS - SSM Perssitence](pentesting-cloud/aws-security/aws-persistence/aws-ssm-perssitence.md)
|
- [AWS - Secrets Manager Persistence](pentesting-cloud/aws-security/aws-persistence/aws-secrets-manager-persistence/README.md)
|
||||||
- [AWS - Step Functions Persistence](pentesting-cloud/aws-security/aws-persistence/aws-step-functions-persistence.md)
|
- [AWS - SQS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-sqs-persistence/README.md)
|
||||||
- [AWS - STS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-sts-persistence.md)
|
- [AWS - SQS DLQ Backdoor Persistence via RedrivePolicy/RedriveAllowPolicy](pentesting-cloud/aws-security/aws-persistence/aws-sqs-persistence/aws-sqs-dlq-backdoor-persistence.md)
|
||||||
|
- [AWS - SQS OrgID Policy Backdoor](pentesting-cloud/aws-security/aws-persistence/aws-sqs-persistence/aws-sqs-orgid-policy-backdoor.md)
|
||||||
|
- [AWS - SSM Perssitence](pentesting-cloud/aws-security/aws-persistence/aws-ssm-persistence/README.md)
|
||||||
|
- [AWS - Step Functions Persistence](pentesting-cloud/aws-security/aws-persistence/aws-step-functions-persistence/README.md)
|
||||||
|
- [AWS - STS Persistence](pentesting-cloud/aws-security/aws-persistence/aws-sts-persistence/README.md)
|
||||||
- [AWS - Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/README.md)
|
- [AWS - Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/README.md)
|
||||||
- [AWS - API Gateway Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-api-gateway-post-exploitation.md)
|
- [AWS - API Gateway Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-api-gateway-post-exploitation/README.md)
|
||||||
- [AWS - CloudFront Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-cloudfront-post-exploitation.md)
|
- [AWS - Bedrock Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-bedrock-post-exploitation/README.md)
|
||||||
|
- [AWS - CloudFront Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-cloudfront-post-exploitation/README.md)
|
||||||
- [AWS - CodeBuild Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-codebuild-post-exploitation/README.md)
|
- [AWS - CodeBuild Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-codebuild-post-exploitation/README.md)
|
||||||
- [AWS Codebuild - Token Leakage](pentesting-cloud/aws-security/aws-post-exploitation/aws-codebuild-post-exploitation/aws-codebuild-token-leakage.md)
|
- [AWS Codebuild - Token Leakage](pentesting-cloud/aws-security/aws-post-exploitation/aws-codebuild-post-exploitation/aws-codebuild-token-leakage.md)
|
||||||
- [AWS - Control Tower Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-control-tower-post-exploitation.md)
|
- [AWS - Control Tower Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-control-tower-post-exploitation/README.md)
|
||||||
- [AWS - DLM Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-dlm-post-exploitation.md)
|
- [AWS - DLM Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-dlm-post-exploitation/README.md)
|
||||||
- [AWS - DynamoDB Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-dynamodb-post-exploitation.md)
|
- [AWS - DynamoDB Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-dynamodb-post-exploitation/README.md)
|
||||||
- [AWS - EC2, EBS, SSM & VPC Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/README.md)
|
- [AWS - EC2, EBS, SSM & VPC Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/README.md)
|
||||||
- [AWS - EBS Snapshot Dump](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-ebs-snapshot-dump.md)
|
- [AWS - EBS Snapshot Dump](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-ebs-snapshot-dump.md)
|
||||||
|
- [AWS – Covert Disk Exfiltration via AMI Store-to-S3 (CreateStoreImageTask)](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-ami-store-s3-exfiltration.md)
|
||||||
|
- [AWS - Live Data Theft via EBS Multi-Attach](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-ebs-multi-attach-data-theft.md)
|
||||||
|
- [AWS - EC2 Instance Connect Endpoint backdoor + ephemeral SSH key injection](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-ec2-instance-connect-endpoint-backdoor.md)
|
||||||
|
- [AWS – EC2 ENI Secondary Private IP Hijack (Trust/Allowlist Bypass)](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-eni-secondary-ip-hijack.md)
|
||||||
|
- [AWS - Elastic IP Hijack for Ingress/Egress IP Impersonation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-eip-hijack-impersonation.md)
|
||||||
|
- [AWS - Security Group Backdoor via Managed Prefix Lists](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-managed-prefix-list-backdoor.md)
|
||||||
|
- [AWS – Egress Bypass from Isolated Subnets via VPC Endpoints](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-vpc-endpoint-egress-bypass.md)
|
||||||
|
- [AWS - VPC Flow Logs Cross-Account Exfiltration to S3](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-vpc-flow-logs-cross-account-exfiltration.md)
|
||||||
- [AWS - Malicious VPC Mirror](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-malicious-vpc-mirror.md)
|
- [AWS - Malicious VPC Mirror](pentesting-cloud/aws-security/aws-post-exploitation/aws-ec2-ebs-ssm-and-vpc-post-exploitation/aws-malicious-vpc-mirror.md)
|
||||||
- [AWS - ECR Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ecr-post-exploitation.md)
|
- [AWS - ECR Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ecr-post-exploitation/README.md)
|
||||||
- [AWS - ECS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ecs-post-exploitation.md)
|
- [AWS - ECS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ecs-post-exploitation/README.md)
|
||||||
- [AWS - EFS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-efs-post-exploitation.md)
|
- [AWS - EFS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-efs-post-exploitation/README.md)
|
||||||
- [AWS - EKS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-eks-post-exploitation.md)
|
- [AWS - EKS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-eks-post-exploitation/README.md)
|
||||||
- [AWS - Elastic Beanstalk Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-elastic-beanstalk-post-exploitation.md)
|
- [AWS - Elastic Beanstalk Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-elastic-beanstalk-post-exploitation/README.md)
|
||||||
- [AWS - IAM Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-iam-post-exploitation.md)
|
- [AWS - IAM Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-iam-post-exploitation/README.md)
|
||||||
- [AWS - KMS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-kms-post-exploitation.md)
|
- [AWS - KMS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-kms-post-exploitation/README.md)
|
||||||
- [AWS - Lambda Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/README.md)
|
- [AWS - Lambda Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/README.md)
|
||||||
- [AWS - Steal Lambda Requests](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-warm-lambda-persistence.md)
|
- [AWS - Lambda EFS Mount Injection](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-lambda-efs-mount-injection.md)
|
||||||
- [AWS - Lightsail Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-lightsail-post-exploitation.md)
|
- [AWS - Lambda Event Source Mapping Hijack](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-lambda-event-source-mapping-hijack.md)
|
||||||
- [AWS - Organizations Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-organizations-post-exploitation.md)
|
- [AWS - Lambda Function URL Public Exposure](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-lambda-function-url-public-exposure.md)
|
||||||
- [AWS - RDS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-rds-post-exploitation.md)
|
- [AWS - Lambda LoggingConfig Redirection](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-lambda-loggingconfig-redirection.md)
|
||||||
- [AWS - S3 Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-s3-post-exploitation.md)
|
- [AWS - Lambda Runtime Pinning Abuse](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-lambda-runtime-pinning-abuse.md)
|
||||||
- [AWS - Secrets Manager Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-secrets-manager-post-exploitation.md)
|
- [AWS - Lambda Steal Requests](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-warm-lambda-persistence.md)
|
||||||
- [AWS - SES Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ses-post-exploitation.md)
|
- [AWS - Lambda VPC Egress Bypass](pentesting-cloud/aws-security/aws-post-exploitation/aws-lambda-post-exploitation/aws-lambda-vpc-egress-bypass.md)
|
||||||
- [AWS - SNS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sns-post-exploitation.md)
|
- [AWS - Lightsail Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-lightsail-post-exploitation/README.md)
|
||||||
- [AWS - SQS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sqs-post-exploitation.md)
|
- [AWS - MWAA Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-mwaa-post-exploitation/README.md)
|
||||||
- [AWS - SSO & identitystore Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sso-and-identitystore-post-exploitation.md)
|
- [AWS - Organizations Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-organizations-post-exploitation/README.md)
|
||||||
- [AWS - Step Functions Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-stepfunctions-post-exploitation.md)
|
- [AWS - RDS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-rds-post-exploitation/README.md)
|
||||||
- [AWS - STS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sts-post-exploitation.md)
|
- [AWS - SageMaker Post-Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sagemaker-post-exploitation/README.md)
|
||||||
- [AWS - VPN Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-vpn-post-exploitation.md)
|
- [Feature Store Poisoning](pentesting-cloud/aws-security/aws-post-exploitation/aws-sagemaker-post-exploitation/feature-store-poisoning.md)
|
||||||
|
- [AWS - S3 Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-s3-post-exploitation/README.md)
|
||||||
|
- [AWS - Secrets Manager Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-secrets-manager-post-exploitation/README.md)
|
||||||
|
- [AWS - SES Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-ses-post-exploitation/README.md)
|
||||||
|
- [AWS - SNS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sns-post-exploitation/README.md)
|
||||||
|
- [AWS - SNS Message Data Protection Bypass via Policy Downgrade](pentesting-cloud/aws-security/aws-post-exploitation/aws-sns-post-exploitation/aws-sns-data-protection-bypass.md)
|
||||||
|
- [SNS FIFO Archive Replay Exfiltration via Attacker SQS FIFO Subscription](pentesting-cloud/aws-security/aws-post-exploitation/aws-sns-post-exploitation/aws-sns-fifo-replay-exfil.md)
|
||||||
|
- [AWS - SNS to Kinesis Firehose Exfiltration (Fanout to S3)](pentesting-cloud/aws-security/aws-post-exploitation/aws-sns-post-exploitation/aws-sns-firehose-exfil.md)
|
||||||
|
- [AWS - SQS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sqs-post-exploitation/README.md)
|
||||||
|
- [AWS – SQS DLQ Redrive Exfiltration via StartMessageMoveTask](pentesting-cloud/aws-security/aws-post-exploitation/aws-sqs-post-exploitation/aws-sqs-dlq-redrive-exfiltration.md)
|
||||||
|
- [AWS – SQS Cross-/Same-Account Injection via SNS Subscription + Queue Policy](pentesting-cloud/aws-security/aws-post-exploitation/aws-sqs-post-exploitation/aws-sqs-sns-injection.md)
|
||||||
|
- [AWS - SSO & identitystore Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sso-and-identitystore-post-exploitation/README.md)
|
||||||
|
- [AWS - Step Functions Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-stepfunctions-post-exploitation/README.md)
|
||||||
|
- [AWS - STS Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-sts-post-exploitation/README.md)
|
||||||
|
- [AWS - VPN Post Exploitation](pentesting-cloud/aws-security/aws-post-exploitation/aws-vpn-post-exploitation/README.md)
|
||||||
- [AWS - Privilege Escalation](pentesting-cloud/aws-security/aws-privilege-escalation/README.md)
|
- [AWS - Privilege Escalation](pentesting-cloud/aws-security/aws-privilege-escalation/README.md)
|
||||||
- [AWS - Apigateway Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-apigateway-privesc.md)
|
- [AWS - Apigateway Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-apigateway-privesc/README.md)
|
||||||
- [AWS - Chime Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-chime-privesc.md)
|
- [AWS - AppRunner Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-apprunner-privesc/README.md)
|
||||||
- [AWS - Codebuild Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codebuild-privesc.md)
|
- [AWS - Chime Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-chime-privesc/README.md)
|
||||||
- [AWS - Codepipeline Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codepipeline-privesc.md)
|
- [AWS - CloudFront](pentesting-cloud/aws-security/aws-privilege-escalation/aws-cloudfront-privesc/README.md)
|
||||||
|
- [AWS - Codebuild Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codebuild-privesc/README.md)
|
||||||
|
- [AWS - Codepipeline Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codepipeline-privesc/README.md)
|
||||||
- [AWS - Codestar Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codestar-privesc/README.md)
|
- [AWS - Codestar Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codestar-privesc/README.md)
|
||||||
- [codestar:CreateProject, codestar:AssociateTeamMember](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codestar-privesc/codestar-createproject-codestar-associateteammember.md)
|
- [codestar:CreateProject, codestar:AssociateTeamMember](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codestar-privesc/codestar-createproject-codestar-associateteammember.md)
|
||||||
- [iam:PassRole, codestar:CreateProject](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codestar-privesc/iam-passrole-codestar-createproject.md)
|
- [iam:PassRole, codestar:CreateProject](pentesting-cloud/aws-security/aws-privilege-escalation/aws-codestar-privesc/iam-passrole-codestar-createproject.md)
|
||||||
- [AWS - Cloudformation Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-cloudformation-privesc/README.md)
|
- [AWS - Cloudformation Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-cloudformation-privesc/README.md)
|
||||||
- [iam:PassRole, cloudformation:CreateStack,and cloudformation:DescribeStacks](pentesting-cloud/aws-security/aws-privilege-escalation/aws-cloudformation-privesc/iam-passrole-cloudformation-createstack-and-cloudformation-describestacks.md)
|
- [iam:PassRole, cloudformation:CreateStack,and cloudformation:DescribeStacks](pentesting-cloud/aws-security/aws-privilege-escalation/aws-cloudformation-privesc/iam-passrole-cloudformation-createstack-and-cloudformation-describestacks.md)
|
||||||
- [AWS - Cognito Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-cognito-privesc.md)
|
- [AWS - Cognito Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-cognito-privesc/README.md)
|
||||||
- [AWS - Datapipeline Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-datapipeline-privesc.md)
|
- [AWS - Datapipeline Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-datapipeline-privesc/README.md)
|
||||||
- [AWS - Directory Services Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-directory-services-privesc.md)
|
- [AWS - Directory Services Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-directory-services-privesc/README.md)
|
||||||
- [AWS - DynamoDB Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-dynamodb-privesc.md)
|
- [AWS - DynamoDB Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-dynamodb-privesc/README.md)
|
||||||
- [AWS - EBS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ebs-privesc.md)
|
- [AWS - EBS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ebs-privesc/README.md)
|
||||||
- [AWS - EC2 Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ec2-privesc.md)
|
- [AWS - EC2 Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ec2-privesc/README.md)
|
||||||
- [AWS - ECR Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ecr-privesc.md)
|
- [AWS - ECR Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ecr-privesc/README.md)
|
||||||
- [AWS - ECS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ecs-privesc.md)
|
- [AWS - ECS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ecs-privesc/README.md)
|
||||||
- [AWS - EFS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-efs-privesc.md)
|
- [AWS - EFS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-efs-privesc/README.md)
|
||||||
- [AWS - Elastic Beanstalk Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-elastic-beanstalk-privesc.md)
|
- [AWS - Elastic Beanstalk Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-elastic-beanstalk-privesc/README.md)
|
||||||
- [AWS - EMR Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-emr-privesc.md)
|
- [AWS - EMR Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-emr-privesc/README.md)
|
||||||
- [AWS - EventBridge Scheduler Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/eventbridgescheduler-privesc.md)
|
- [AWS - EventBridge Scheduler Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/eventbridgescheduler-privesc/README.md)
|
||||||
- [AWS - Gamelift](pentesting-cloud/aws-security/aws-privilege-escalation/aws-gamelift.md)
|
- [AWS - Gamelift](pentesting-cloud/aws-security/aws-privilege-escalation/aws-gamelift/README.md)
|
||||||
- [AWS - Glue Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-glue-privesc.md)
|
- [AWS - Glue Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-glue-privesc/README.md)
|
||||||
- [AWS - IAM Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-iam-privesc.md)
|
- [AWS - IAM Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-iam-privesc/README.md)
|
||||||
- [AWS - KMS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-kms-privesc.md)
|
- [AWS - KMS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-kms-privesc/README.md)
|
||||||
- [AWS - Lambda Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-lambda-privesc.md)
|
- [AWS - Lambda Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-lambda-privesc/README.md)
|
||||||
- [AWS - Lightsail Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-lightsail-privesc.md)
|
- [AWS - Lightsail Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-lightsail-privesc/README.md)
|
||||||
- [AWS - Mediapackage Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-mediapackage-privesc.md)
|
- [AWS - Macie Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-macie-privesc/README.md)
|
||||||
- [AWS - MQ Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-mq-privesc.md)
|
- [AWS - Mediapackage Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-mediapackage-privesc/README.md)
|
||||||
- [AWS - MSK Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-msk-privesc.md)
|
- [AWS - MQ Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-mq-privesc/README.md)
|
||||||
- [AWS - RDS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-rds-privesc.md)
|
- [AWS - MSK Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-msk-privesc/README.md)
|
||||||
- [AWS - Redshift Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-redshift-privesc.md)
|
- [AWS - RDS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-rds-privesc/README.md)
|
||||||
- [AWS - Route53 Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/route53-createhostedzone-route53-changeresourcerecordsets-acm-pca-issuecertificate-acm-pca-getcer.md)
|
- [AWS - Redshift Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-redshift-privesc/README.md)
|
||||||
- [AWS - SNS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sns-privesc.md)
|
- [AWS - Route53 Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/route53-createhostedzone-route53-changeresourcerecordsets-acm-pca-issuecertificate-acm-pca-getcer/README.md)
|
||||||
- [AWS - SQS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sqs-privesc.md)
|
- [AWS - SNS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sns-privesc/README.md)
|
||||||
- [AWS - SSO & identitystore Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sso-and-identitystore-privesc.md)
|
- [AWS - SQS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sqs-privesc/README.md)
|
||||||
- [AWS - Organizations Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-organizations-prinvesc.md)
|
- [AWS - SSO & identitystore Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sso-and-identitystore-privesc/README.md)
|
||||||
- [AWS - S3 Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-s3-privesc.md)
|
- [AWS - Organizations Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-organizations-prinvesc/README.md)
|
||||||
- [AWS - Sagemaker Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sagemaker-privesc.md)
|
- [AWS - S3 Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-s3-privesc/README.md)
|
||||||
- [AWS - Secrets Manager Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-secrets-manager-privesc.md)
|
- [AWS - Sagemaker Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sagemaker-privesc/README.md)
|
||||||
- [AWS - SSM Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ssm-privesc.md)
|
- [AWS - Secrets Manager Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-secrets-manager-privesc/README.md)
|
||||||
- [AWS - Step Functions Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-stepfunctions-privesc.md)
|
- [AWS - SSM Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-ssm-privesc/README.md)
|
||||||
- [AWS - STS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sts-privesc.md)
|
- [AWS - Step Functions Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-stepfunctions-privesc/README.md)
|
||||||
- [AWS - WorkDocs Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-workdocs-privesc.md)
|
- [AWS - STS Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-sts-privesc/README.md)
|
||||||
|
- [AWS - WorkDocs Privesc](pentesting-cloud/aws-security/aws-privilege-escalation/aws-workdocs-privesc/README.md)
|
||||||
- [AWS - Services](pentesting-cloud/aws-security/aws-services/README.md)
|
- [AWS - Services](pentesting-cloud/aws-security/aws-services/README.md)
|
||||||
- [AWS - Security & Detection Services](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/README.md)
|
- [AWS - Security & Detection Services](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/README.md)
|
||||||
- [AWS - CloudTrail Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-cloudtrail-enum.md)
|
- [AWS - CloudTrail Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-cloudtrail-enum.md)
|
||||||
@@ -318,12 +368,12 @@
|
|||||||
- [AWS - Firewall Manager Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-firewall-manager-enum.md)
|
- [AWS - Firewall Manager Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-firewall-manager-enum.md)
|
||||||
- [AWS - GuardDuty Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-guardduty-enum.md)
|
- [AWS - GuardDuty Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-guardduty-enum.md)
|
||||||
- [AWS - Inspector Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-inspector-enum.md)
|
- [AWS - Inspector Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-inspector-enum.md)
|
||||||
- [AWS - Macie Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-macie-enum.md)
|
|
||||||
- [AWS - Security Hub Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-security-hub-enum.md)
|
- [AWS - Security Hub Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-security-hub-enum.md)
|
||||||
- [AWS - Shield Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-shield-enum.md)
|
- [AWS - Shield Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-shield-enum.md)
|
||||||
- [AWS - Trusted Advisor Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-trusted-advisor-enum.md)
|
- [AWS - Trusted Advisor Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-trusted-advisor-enum.md)
|
||||||
- [AWS - WAF Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-waf-enum.md)
|
- [AWS - WAF Enum](pentesting-cloud/aws-security/aws-services/aws-security-and-detection-services/aws-waf-enum.md)
|
||||||
- [AWS - API Gateway Enum](pentesting-cloud/aws-security/aws-services/aws-api-gateway-enum.md)
|
- [AWS - API Gateway Enum](pentesting-cloud/aws-security/aws-services/aws-api-gateway-enum.md)
|
||||||
|
- [AWS - Bedrock Enum](pentesting-cloud/aws-security/aws-services/aws-bedrock-enum.md)
|
||||||
- [AWS - Certificate Manager (ACM) & Private Certificate Authority (PCA)](pentesting-cloud/aws-security/aws-services/aws-certificate-manager-acm-and-private-certificate-authority-pca.md)
|
- [AWS - Certificate Manager (ACM) & Private Certificate Authority (PCA)](pentesting-cloud/aws-security/aws-services/aws-certificate-manager-acm-and-private-certificate-authority-pca.md)
|
||||||
- [AWS - CloudFormation & Codestar Enum](pentesting-cloud/aws-security/aws-services/aws-cloudformation-and-codestar-enum.md)
|
- [AWS - CloudFormation & Codestar Enum](pentesting-cloud/aws-security/aws-services/aws-cloudformation-and-codestar-enum.md)
|
||||||
- [AWS - CloudHSM Enum](pentesting-cloud/aws-security/aws-services/aws-cloudhsm-enum.md)
|
- [AWS - CloudHSM Enum](pentesting-cloud/aws-security/aws-services/aws-cloudhsm-enum.md)
|
||||||
@@ -334,7 +384,7 @@
|
|||||||
- [Cognito User Pools](pentesting-cloud/aws-security/aws-services/aws-cognito-enum/cognito-user-pools.md)
|
- [Cognito User Pools](pentesting-cloud/aws-security/aws-services/aws-cognito-enum/cognito-user-pools.md)
|
||||||
- [AWS - DataPipeline, CodePipeline & CodeCommit Enum](pentesting-cloud/aws-security/aws-services/aws-datapipeline-codepipeline-codebuild-and-codecommit.md)
|
- [AWS - DataPipeline, CodePipeline & CodeCommit Enum](pentesting-cloud/aws-security/aws-services/aws-datapipeline-codepipeline-codebuild-and-codecommit.md)
|
||||||
- [AWS - Directory Services / WorkDocs Enum](pentesting-cloud/aws-security/aws-services/aws-directory-services-workdocs-enum.md)
|
- [AWS - Directory Services / WorkDocs Enum](pentesting-cloud/aws-security/aws-services/aws-directory-services-workdocs-enum.md)
|
||||||
- [AWS - DocumentDB Enum](pentesting-cloud/aws-security/aws-services/aws-documentdb-enum.md)
|
- [AWS - DocumentDB Enum](pentesting-cloud/aws-security/aws-services/aws-documentdb-enum/README.md)
|
||||||
- [AWS - DynamoDB Enum](pentesting-cloud/aws-security/aws-services/aws-dynamodb-enum.md)
|
- [AWS - DynamoDB Enum](pentesting-cloud/aws-security/aws-services/aws-dynamodb-enum.md)
|
||||||
- [AWS - EC2, EBS, ELB, SSM, VPC & VPN Enum](pentesting-cloud/aws-security/aws-services/aws-ec2-ebs-elb-ssm-vpc-and-vpn-enum/README.md)
|
- [AWS - EC2, EBS, ELB, SSM, VPC & VPN Enum](pentesting-cloud/aws-security/aws-services/aws-ec2-ebs-elb-ssm-vpc-and-vpn-enum/README.md)
|
||||||
- [AWS - Nitro Enum](pentesting-cloud/aws-security/aws-services/aws-ec2-ebs-elb-ssm-vpc-and-vpn-enum/aws-nitro-enum.md)
|
- [AWS - Nitro Enum](pentesting-cloud/aws-security/aws-services/aws-ec2-ebs-elb-ssm-vpc-and-vpn-enum/aws-nitro-enum.md)
|
||||||
@@ -352,12 +402,14 @@
|
|||||||
- [AWS - KMS Enum](pentesting-cloud/aws-security/aws-services/aws-kms-enum.md)
|
- [AWS - KMS Enum](pentesting-cloud/aws-security/aws-services/aws-kms-enum.md)
|
||||||
- [AWS - Lambda Enum](pentesting-cloud/aws-security/aws-services/aws-lambda-enum.md)
|
- [AWS - Lambda Enum](pentesting-cloud/aws-security/aws-services/aws-lambda-enum.md)
|
||||||
- [AWS - Lightsail Enum](pentesting-cloud/aws-security/aws-services/aws-lightsail-enum.md)
|
- [AWS - Lightsail Enum](pentesting-cloud/aws-security/aws-services/aws-lightsail-enum.md)
|
||||||
|
- [AWS - Macie Enum](pentesting-cloud/aws-security/aws-services/aws-macie-enum.md)
|
||||||
- [AWS - MQ Enum](pentesting-cloud/aws-security/aws-services/aws-mq-enum.md)
|
- [AWS - MQ Enum](pentesting-cloud/aws-security/aws-services/aws-mq-enum.md)
|
||||||
- [AWS - MSK Enum](pentesting-cloud/aws-security/aws-services/aws-msk-enum.md)
|
- [AWS - MSK Enum](pentesting-cloud/aws-security/aws-services/aws-msk-enum.md)
|
||||||
- [AWS - Organizations Enum](pentesting-cloud/aws-security/aws-services/aws-organizations-enum.md)
|
- [AWS - Organizations Enum](pentesting-cloud/aws-security/aws-services/aws-organizations-enum.md)
|
||||||
- [AWS - Redshift Enum](pentesting-cloud/aws-security/aws-services/aws-redshift-enum.md)
|
- [AWS - Redshift Enum](pentesting-cloud/aws-security/aws-services/aws-redshift-enum.md)
|
||||||
- [AWS - Relational Database (RDS) Enum](pentesting-cloud/aws-security/aws-services/aws-relational-database-rds-enum.md)
|
- [AWS - Relational Database (RDS) Enum](pentesting-cloud/aws-security/aws-services/aws-relational-database-rds-enum.md)
|
||||||
- [AWS - Route53 Enum](pentesting-cloud/aws-security/aws-services/aws-route53-enum.md)
|
- [AWS - Route53 Enum](pentesting-cloud/aws-security/aws-services/aws-route53-enum.md)
|
||||||
|
- [AWS - SageMaker Enum](pentesting-cloud/aws-security/aws-services/aws-sagemaker-enum/README.md)
|
||||||
- [AWS - Secrets Manager Enum](pentesting-cloud/aws-security/aws-services/aws-secrets-manager-enum.md)
|
- [AWS - Secrets Manager Enum](pentesting-cloud/aws-security/aws-services/aws-secrets-manager-enum.md)
|
||||||
- [AWS - SES Enum](pentesting-cloud/aws-security/aws-services/aws-ses-enum.md)
|
- [AWS - SES Enum](pentesting-cloud/aws-security/aws-services/aws-ses-enum.md)
|
||||||
- [AWS - SNS Enum](pentesting-cloud/aws-security/aws-services/aws-sns-enum.md)
|
- [AWS - SNS Enum](pentesting-cloud/aws-security/aws-services/aws-sns-enum.md)
|
||||||
@@ -367,38 +419,42 @@
|
|||||||
- [AWS - STS Enum](pentesting-cloud/aws-security/aws-services/aws-sts-enum.md)
|
- [AWS - STS Enum](pentesting-cloud/aws-security/aws-services/aws-sts-enum.md)
|
||||||
- [AWS - Other Services Enum](pentesting-cloud/aws-security/aws-services/aws-other-services-enum.md)
|
- [AWS - Other Services Enum](pentesting-cloud/aws-security/aws-services/aws-other-services-enum.md)
|
||||||
- [AWS - Unauthenticated Enum & Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/README.md)
|
- [AWS - Unauthenticated Enum & Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/README.md)
|
||||||
- [AWS - Accounts Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-accounts-unauthenticated-enum.md)
|
- [AWS - Accounts Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-accounts-unauthenticated-enum/README.md)
|
||||||
- [AWS - API Gateway Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-api-gateway-unauthenticated-enum.md)
|
- [AWS - API Gateway Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-api-gateway-unauthenticated-enum/README.md)
|
||||||
- [AWS - Cloudfront Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-cloudfront-unauthenticated-enum.md)
|
- [AWS - Cloudfront Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-cloudfront-unauthenticated-enum/README.md)
|
||||||
- [AWS - Cognito Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-cognito-unauthenticated-enum.md)
|
- [AWS - Cognito Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-cognito-unauthenticated-enum/README.md)
|
||||||
- [AWS - CodeBuild Unauthenticated Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-codebuild-unauthenticated-access.md)
|
- [AWS - CodeBuild Unauthenticated Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-codebuild-unauthenticated-access/README.md)
|
||||||
- [AWS - DocumentDB Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-documentdb-enum.md)
|
- [AWS - DocumentDB Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-documentdb-enum/README.md)
|
||||||
- [AWS - DynamoDB Unauthenticated Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-dynamodb-unauthenticated-access.md)
|
- [AWS - DynamoDB Unauthenticated Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-dynamodb-unauthenticated-access/README.md)
|
||||||
- [AWS - EC2 Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-ec2-unauthenticated-enum.md)
|
- [AWS - EC2 Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-ec2-unauthenticated-enum/README.md)
|
||||||
- [AWS - ECR Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-ecr-unauthenticated-enum.md)
|
- [AWS - ECR Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-ecr-unauthenticated-enum/README.md)
|
||||||
- [AWS - ECS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-ecs-unauthenticated-enum.md)
|
- [AWS - ECS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-ecs-unauthenticated-enum/README.md)
|
||||||
- [AWS - Elastic Beanstalk Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-elastic-beanstalk-unauthenticated-enum.md)
|
- [AWS - Elastic Beanstalk Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-elastic-beanstalk-unauthenticated-enum/README.md)
|
||||||
- [AWS - Elasticsearch Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-elasticsearch-unauthenticated-enum.md)
|
- [AWS - Elasticsearch Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-elasticsearch-unauthenticated-enum/README.md)
|
||||||
- [AWS - IAM & STS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-iam-and-sts-unauthenticated-enum.md)
|
- [AWS - IAM & STS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-iam-and-sts-unauthenticated-enum/README.md)
|
||||||
- [AWS - Identity Center & SSO Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-identity-center-and-sso-unauthenticated-enum.md)
|
- [AWS - Identity Center & SSO Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-identity-center-and-sso-unauthenticated-enum/README.md)
|
||||||
- [AWS - IoT Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-iot-unauthenticated-enum.md)
|
- [AWS - IoT Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-iot-unauthenticated-enum/README.md)
|
||||||
- [AWS - Kinesis Video Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-kinesis-video-unauthenticated-enum.md)
|
- [AWS - Kinesis Video Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-kinesis-video-unauthenticated-enum/README.md)
|
||||||
- [AWS - Lambda Unauthenticated Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-lambda-unauthenticated-access.md)
|
- [AWS - Lambda Unauthenticated Access](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-lambda-unauthenticated-access/README.md)
|
||||||
- [AWS - Media Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-media-unauthenticated-enum.md)
|
- [AWS - Media Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-media-unauthenticated-enum/README.md)
|
||||||
- [AWS - MQ Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-mq-unauthenticated-enum.md)
|
- [AWS - MQ Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-mq-unauthenticated-enum/README.md)
|
||||||
- [AWS - MSK Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-msk-unauthenticated-enum.md)
|
- [AWS - MSK Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-msk-unauthenticated-enum/README.md)
|
||||||
- [AWS - RDS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-rds-unauthenticated-enum.md)
|
- [AWS - RDS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-rds-unauthenticated-enum/README.md)
|
||||||
- [AWS - Redshift Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-redshift-unauthenticated-enum.md)
|
- [AWS - Redshift Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-redshift-unauthenticated-enum/README.md)
|
||||||
- [AWS - SQS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-sqs-unauthenticated-enum.md)
|
- [AWS - SageMaker Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-sagemaker-unauthenticated-enum/README.md)
|
||||||
- [AWS - SNS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-sns-unauthenticated-enum.md)
|
- [AWS - SQS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-sqs-unauthenticated-enum/README.md)
|
||||||
- [AWS - S3 Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-s3-unauthenticated-enum.md)
|
- [AWS - SNS Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-sns-unauthenticated-enum/README.md)
|
||||||
|
- [AWS - S3 Unauthenticated Enum](pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-s3-unauthenticated-enum/README.md)
|
||||||
- [Azure Pentesting](pentesting-cloud/azure-security/README.md)
|
- [Azure Pentesting](pentesting-cloud/azure-security/README.md)
|
||||||
- [Az - Basic Information](pentesting-cloud/azure-security/az-basic-information/README.md)
|
- [Az - Basic Information](pentesting-cloud/azure-security/az-basic-information/README.md)
|
||||||
|
- [Az Federation Abuse](pentesting-cloud/azure-security/az-basic-information/az-federation-abuse.md)
|
||||||
- [Az - Tokens & Public Applications](pentesting-cloud/azure-security/az-basic-information/az-tokens-and-public-applications.md)
|
- [Az - Tokens & Public Applications](pentesting-cloud/azure-security/az-basic-information/az-tokens-and-public-applications.md)
|
||||||
- [Az - Enumeration Tools](pentesting-cloud/azure-security/az-enumeration-tools.md)
|
- [Az - Enumeration Tools](pentesting-cloud/azure-security/az-enumeration-tools.md)
|
||||||
- [Az - Unauthenticated Enum & Initial Entry](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/README.md)
|
- [Az - Unauthenticated Enum & Initial Entry](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/README.md)
|
||||||
|
- [Az - Container Registry Unauth](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-container-registry-unauth.md)
|
||||||
- [Az - OAuth Apps Phishing](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-oauth-apps-phishing.md)
|
- [Az - OAuth Apps Phishing](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-oauth-apps-phishing.md)
|
||||||
- [Az - VMs Unath](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-vms-unath.md)
|
- [Az - Storage Unauth](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-storage-unauth.md)
|
||||||
|
- [Az - VMs Unauth](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-vms-unauth.md)
|
||||||
- [Az - Device Code Authentication Phishing](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-device-code-authentication-phishing.md)
|
- [Az - Device Code Authentication Phishing](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-device-code-authentication-phishing.md)
|
||||||
- [Az - Password Spraying](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-password-spraying.md)
|
- [Az - Password Spraying](pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/az-password-spraying.md)
|
||||||
- [Az - Services](pentesting-cloud/azure-security/az-services/README.md)
|
- [Az - Services](pentesting-cloud/azure-security/az-services/README.md)
|
||||||
@@ -406,65 +462,95 @@
|
|||||||
- [Az - ACR](pentesting-cloud/azure-security/az-services/az-acr.md)
|
- [Az - ACR](pentesting-cloud/azure-security/az-services/az-acr.md)
|
||||||
- [Az - Application Proxy](pentesting-cloud/azure-security/az-services/az-application-proxy.md)
|
- [Az - Application Proxy](pentesting-cloud/azure-security/az-services/az-application-proxy.md)
|
||||||
- [Az - ARM Templates / Deployments](pentesting-cloud/azure-security/az-services/az-arm-templates.md)
|
- [Az - ARM Templates / Deployments](pentesting-cloud/azure-security/az-services/az-arm-templates.md)
|
||||||
- [Az - Automation Account](pentesting-cloud/azure-security/az-services/az-automation-account/README.md)
|
- [Az - Automation Accounts](pentesting-cloud/azure-security/az-services/az-automation-accounts.md)
|
||||||
- [Az - State Configuration RCE](pentesting-cloud/azure-security/az-services/az-automation-account/az-state-configuration-rce.md)
|
- [Az - Azure App Services](pentesting-cloud/azure-security/az-services/az-app-services.md)
|
||||||
- [Az - Azure App Service & Function Apps](pentesting-cloud/azure-security/az-services/az-app-service.md)
|
- [Az - AI Foundry](pentesting-cloud/azure-security/az-services/az-ai-foundry.md)
|
||||||
- [Az - Intune](pentesting-cloud/azure-security/az-services/intune.md)
|
- [Az - Cloud Shell](pentesting-cloud/azure-security/az-services/az-cloud-shell.md)
|
||||||
|
- [Az - Container Registry](pentesting-cloud/azure-security/az-services/az-container-registry.md)
|
||||||
|
- [Az - Container Instances, Apps & Jobs](pentesting-cloud/azure-security/az-services/az-container-instances-apps-jobs.md)
|
||||||
|
- [Az - CosmosDB](pentesting-cloud/azure-security/az-services/az-cosmosDB.md)
|
||||||
|
- [Az - Defender](pentesting-cloud/azure-security/az-services/az-defender.md)
|
||||||
- [Az - File Shares](pentesting-cloud/azure-security/az-services/az-file-shares.md)
|
- [Az - File Shares](pentesting-cloud/azure-security/az-services/az-file-shares.md)
|
||||||
|
- [Az - Front Door](pentesting-cloud/azure-security/az-services/az-front-door.md)
|
||||||
- [Az - Function Apps](pentesting-cloud/azure-security/az-services/az-function-apps.md)
|
- [Az - Function Apps](pentesting-cloud/azure-security/az-services/az-function-apps.md)
|
||||||
- [Az - Key Vault](pentesting-cloud/azure-security/az-services/keyvault.md)
|
- [Az - Intune](pentesting-cloud/azure-security/az-services/intune.md)
|
||||||
|
- [Az - Key Vault](pentesting-cloud/azure-security/az-services/az-keyvault.md)
|
||||||
- [Az - Logic Apps](pentesting-cloud/azure-security/az-services/az-logic-apps.md)
|
- [Az - Logic Apps](pentesting-cloud/azure-security/az-services/az-logic-apps.md)
|
||||||
- [Az - Management Groups, Subscriptions & Resource Groups](pentesting-cloud/azure-security/az-services/az-management-groups-subscriptions-and-resource-groups.md)
|
- [Az - Management Groups, Subscriptions & Resource Groups](pentesting-cloud/azure-security/az-services/az-management-groups-subscriptions-and-resource-groups.md)
|
||||||
- [Az - Queue Storage](pentesting-cloud/azure-security/az-services/az-queue-enum.md)
|
- [Az - Misc](pentesting-cloud/azure-security/az-services/az-misc.md)
|
||||||
- [Az - Service Bus](pentesting-cloud/azure-security/az-services/az-servicebus-enum.md)
|
- [Az - Monitoring](pentesting-cloud/azure-security/az-services/az-monitoring.md)
|
||||||
|
- [Az - MySQL](pentesting-cloud/azure-security/az-services/az-mysql.md)
|
||||||
|
- [Az - PostgreSQL](pentesting-cloud/azure-security/az-services/az-postgresql.md)
|
||||||
|
- [Az - Queue Storage](pentesting-cloud/azure-security/az-services/az-queue.md)
|
||||||
|
- [Az - Sentinel](pentesting-cloud/azure-security/az-services/az-sentinel.md)
|
||||||
|
- [Az - Service Bus](pentesting-cloud/azure-security/az-services/az-servicebus.md)
|
||||||
- [Az - SQL](pentesting-cloud/azure-security/az-services/az-sql.md)
|
- [Az - SQL](pentesting-cloud/azure-security/az-services/az-sql.md)
|
||||||
|
- [Az - Static Web Applications](pentesting-cloud/azure-security/az-services/az-static-web-apps.md)
|
||||||
- [Az - Storage Accounts & Blobs](pentesting-cloud/azure-security/az-services/az-storage.md)
|
- [Az - Storage Accounts & Blobs](pentesting-cloud/azure-security/az-services/az-storage.md)
|
||||||
- [Az - Table Storage](pentesting-cloud/azure-security/az-services/az-table-storage.md)
|
- [Az - Table Storage](pentesting-cloud/azure-security/az-services/az-table-storage.md)
|
||||||
|
- [Az - Virtual Desktop](pentesting-cloud/azure-security/az-services/az-virtual-desktop.md)
|
||||||
- [Az - Virtual Machines & Network](pentesting-cloud/azure-security/az-services/vms/README.md)
|
- [Az - Virtual Machines & Network](pentesting-cloud/azure-security/az-services/vms/README.md)
|
||||||
- [Az - Azure Network](pentesting-cloud/azure-security/az-services/vms/az-azure-network.md)
|
- [Az - Azure Network](pentesting-cloud/azure-security/az-services/vms/az-azure-network.md)
|
||||||
- [Az - Permissions for a Pentest](pentesting-cloud/azure-security/az-permissions-for-a-pentest.md)
|
- [Az - Permissions for a Pentest](pentesting-cloud/azure-security/az-permissions-for-a-pentest.md)
|
||||||
- [Az - Lateral Movement (Cloud - On-Prem)](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/README.md)
|
- [Az - Lateral Movement (Cloud - On-Prem)](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/README.md)
|
||||||
- [Az AD Connect - Hybrid Identity](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/README.md)
|
- [Az - Arc vulnerable GPO Deploy Script](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-arc-vulnerable-gpo-deploy-script.md)
|
||||||
- [Az- Synchronising New Users](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/az-synchronising-new-users.md)
|
- [Az - Cloud Kerberos Trust](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-cloud-kerberos-trust.md)
|
||||||
- [Az - Default Applications](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/az-default-applications.md)
|
- [Az - Cloud Sync](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-cloud-sync.md)
|
||||||
- [Az - Cloud Kerberos Trust](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/az-cloud-kerberos-trust.md)
|
- [Az - Connect Sync](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-connect-sync.md)
|
||||||
- [Az - Federation](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/federation.md)
|
- [Az - Domain Services](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-domain-services.md)
|
||||||
- [Az - PHS - Password Hash Sync](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/phs-password-hash-sync.md)
|
- [Az - Federation](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-federation.md)
|
||||||
- [Az - PTA - Pass-through Authentication](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/pta-pass-through-authentication.md)
|
- [Az - Hybrid Identity Misc Attacks](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-hybrid-identity-misc-attacks.md)
|
||||||
- [Az - Seamless SSO](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/azure-ad-connect-hybrid-identity/seamless-sso.md)
|
|
||||||
- [Az - Arc vulnerable GPO Deploy Script](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-arc-vulnerable-gpo-deploy-script.md)
|
|
||||||
- [Az - Local Cloud Credentials](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-local-cloud-credentials.md)
|
- [Az - Local Cloud Credentials](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-local-cloud-credentials.md)
|
||||||
- [Az - Pass the Cookie](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-pass-the-cookie.md)
|
|
||||||
- [Az - Pass the Certificate](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-pass-the-certificate.md)
|
- [Az - Pass the Certificate](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-pass-the-certificate.md)
|
||||||
- [Az - Pass the PRT](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/pass-the-prt.md)
|
- [Az - Pass the Cookie](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-pass-the-cookie.md)
|
||||||
- [Az - Phishing Primary Refresh Token (Microsoft Entra)](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-phishing-primary-refresh-token-microsoft-entra.md)
|
|
||||||
- [Az - Processes Memory Access Token](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-processes-memory-access-token.md)
|
|
||||||
- [Az - Primary Refresh Token (PRT)](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-primary-refresh-token-prt.md)
|
- [Az - Primary Refresh Token (PRT)](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-primary-refresh-token-prt.md)
|
||||||
|
- [Az - PTA - Pass-through Authentication](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-pta-pass-through-authentication.md)
|
||||||
|
- [Az - Seamless SSO](pentesting-cloud/azure-security/az-lateral-movement-cloud-on-prem/az-seamless-sso.md)
|
||||||
- [Az - Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/README.md)
|
- [Az - Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/README.md)
|
||||||
|
- [Az Azure Ai Foundry Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-azure-ai-foundry-post-exploitation.md)
|
||||||
- [Az - Blob Storage Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-blob-storage-post-exploitation.md)
|
- [Az - Blob Storage Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-blob-storage-post-exploitation.md)
|
||||||
|
- [Az - CosmosDB Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-cosmosDB-post-exploitation.md)
|
||||||
- [Az - File Share Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-file-share-post-exploitation.md)
|
- [Az - File Share Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-file-share-post-exploitation.md)
|
||||||
- [Az - Function Apps Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-function-apps-post-exploitation.md)
|
- [Az - Function Apps Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-function-apps-post-exploitation.md)
|
||||||
- [Az - Key Vault Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-key-vault-post-exploitation.md)
|
- [Az - Key Vault Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-key-vault-post-exploitation.md)
|
||||||
|
- [Az - Logic Apps Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-logic-apps-post-exploitation.md)
|
||||||
|
- [Az - MySQL Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-mysql-post-exploitation.md)
|
||||||
|
- [Az - PostgreSQL Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-postgresql-post-exploitation.md)
|
||||||
- [Az - Queue Storage Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-queue-post-exploitation.md)
|
- [Az - Queue Storage Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-queue-post-exploitation.md)
|
||||||
- [Az - Service Bus Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-servicebus-post-exploitation.md)
|
- [Az - Service Bus Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-servicebus-post-exploitation.md)
|
||||||
- [Az - Table Storage Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-table-storage-post-exploitation.md)
|
- [Az - Table Storage Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-table-storage-post-exploitation.md)
|
||||||
- [Az - SQL Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-sql-post-exploitation.md)
|
- [Az - SQL Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-sql-post-exploitation.md)
|
||||||
|
- [Az - Virtual Desktop Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-virtual-desktop-post-exploitation.md)
|
||||||
- [Az - VMs & Network Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-vms-and-network-post-exploitation.md)
|
- [Az - VMs & Network Post Exploitation](pentesting-cloud/azure-security/az-post-exploitation/az-vms-and-network-post-exploitation.md)
|
||||||
- [Az - Privilege Escalation](pentesting-cloud/azure-security/az-privilege-escalation/README.md)
|
- [Az - Privilege Escalation](pentesting-cloud/azure-security/az-privilege-escalation/README.md)
|
||||||
- [Az - Azure IAM Privesc (Authorization)](pentesting-cloud/azure-security/az-privilege-escalation/az-authorization-privesc.md)
|
- [Az - Azure IAM Privesc (Authorization)](pentesting-cloud/azure-security/az-privilege-escalation/az-authorization-privesc.md)
|
||||||
|
- [Az - AI Foundry Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-ai-foundry-privesc.md)
|
||||||
- [Az - App Services Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-app-services-privesc.md)
|
- [Az - App Services Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-app-services-privesc.md)
|
||||||
|
- [Az - Automation Accounts Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-automation-accounts-privesc.md)
|
||||||
|
- [Az - Container Registry Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-container-registry-privesc.md)
|
||||||
|
- [Az - Container Instances, Apps & Jobs Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-container-instances-apps-jobs-privesc.md)
|
||||||
|
- [Az - CosmosDB Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-cosmosDB-privesc.md)
|
||||||
- [Az - EntraID Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-entraid-privesc/README.md)
|
- [Az - EntraID Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-entraid-privesc/README.md)
|
||||||
- [Az - Conditional Access Policies & MFA Bypass](pentesting-cloud/azure-security/az-privilege-escalation/az-entraid-privesc/az-conditional-access-policies-mfa-bypass.md)
|
- [Az - Conditional Access Policies & MFA Bypass](pentesting-cloud/azure-security/az-privilege-escalation/az-entraid-privesc/az-conditional-access-policies-mfa-bypass.md)
|
||||||
- [Az - Dynamic Groups Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-entraid-privesc/dynamic-groups.md)
|
- [Az - Dynamic Groups Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-entraid-privesc/dynamic-groups.md)
|
||||||
- [Az - Functions App Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-functions-app-privesc.md)
|
- [Az - Functions App Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-functions-app-privesc.md)
|
||||||
- [Az - Key Vault Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-key-vault-privesc.md)
|
- [Az - Key Vault Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-key-vault-privesc.md)
|
||||||
|
- [Az - Logic Apps Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-logic-apps-privesc.md)
|
||||||
|
- [Az - MySQL Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-mysql-privesc.md)
|
||||||
|
- [Az - PostgreSQL Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-postgresql-privesc.md)
|
||||||
- [Az - Queue Storage Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-queue-privesc.md)
|
- [Az - Queue Storage Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-queue-privesc.md)
|
||||||
- [Az - Service Bus Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-servicebus-privesc.md)
|
- [Az - Service Bus Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-servicebus-privesc.md)
|
||||||
- [Az - Virtual Machines & Network Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-virtual-machines-and-network-privesc.md)
|
- [Az - Static Web App Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-static-web-apps-privesc.md)
|
||||||
- [Az - Storage Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-storage-privesc.md)
|
- [Az - Storage Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-storage-privesc.md)
|
||||||
- [Az - SQL Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-sql-privesc.md)
|
- [Az - SQL Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-sql-privesc.md)
|
||||||
|
- [Az - Virtual Desktop Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-virtual-desktop-privesc.md)
|
||||||
|
- [Az - Virtual Machines & Network Privesc](pentesting-cloud/azure-security/az-privilege-escalation/az-virtual-machines-and-network-privesc.md)
|
||||||
- [Az - Persistence](pentesting-cloud/azure-security/az-persistence/README.md)
|
- [Az - Persistence](pentesting-cloud/azure-security/az-persistence/README.md)
|
||||||
- [Az - Queue Storage Persistence](pentesting-cloud/azure-security/az-persistence/az-queue-persistance.md)
|
- [Az - Automation Accounts Persistence](pentesting-cloud/azure-security/az-persistence/az-automation-accounts-persistence.md)
|
||||||
|
- [Az - Cloud Shell Persistence](pentesting-cloud/azure-security/az-persistence/az-cloud-shell-persistence.md)
|
||||||
|
- [Az - Logic Apps Persistence](pentesting-cloud/azure-security/az-persistence/az-logic-apps-persistence.md)
|
||||||
|
- [Az - SQL Persistence](pentesting-cloud/azure-security/az-persistence/az-sql-persistence.md)
|
||||||
|
- [Az - Queue Storage Persistence](pentesting-cloud/azure-security/az-persistence/az-queue-persistence.md)
|
||||||
- [Az - VMs Persistence](pentesting-cloud/azure-security/az-persistence/az-vms-persistence.md)
|
- [Az - VMs Persistence](pentesting-cloud/azure-security/az-persistence/az-vms-persistence.md)
|
||||||
- [Az - Storage Persistence](pentesting-cloud/azure-security/az-persistence/az-storage-persistence.md)
|
- [Az - Storage Persistence](pentesting-cloud/azure-security/az-persistence/az-storage-persistence.md)
|
||||||
- [Az - Device Registration](pentesting-cloud/azure-security/az-device-registration.md)
|
- [Az - Device Registration](pentesting-cloud/azure-security/az-device-registration.md)
|
||||||
@@ -499,9 +585,5 @@
|
|||||||
|
|
||||||
# 🛫 Pentesting Network Services
|
# 🛫 Pentesting Network Services
|
||||||
|
|
||||||
- [HackTricks Pentesting Network$$external:https://book.hacktricks.xyz/generic-methodologies-and-resources/pentesting-network$$]()
|
- [HackTricks Pentesting Network$$external:https://book.hacktricks.wiki/en/generic-methodologies-and-resources/pentesting-network/index.html$$]()
|
||||||
- [HackTricks Pentesting Services$$external:https://book.hacktricks.xyz/network-services-pentesting/pentesting-ssh$$]()
|
- [HackTricks Pentesting Services$$external:https://book.hacktricks.wiki/en/network-services-pentesting/pentesting-ssh.html$$]()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,14 @@
|
|||||||
> [!TIP]
|
> [!TIP]
|
||||||
> Learn & practice AWS Hacking:<img src="../../../../../images/arte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="../../../../../images/arte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">\
|
> AWS हैकिंग सीखें और अभ्यास करें:<img src="../../../../../images/arte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="../../../../../images/arte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">\
|
||||||
> Learn & practice GCP Hacking: <img src="../../../../../images/grte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">[**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)<img src="../../../../../images/grte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">
|
> GCP हैकिंग सीखें और अभ्यास करें: <img src="../../../../../images/grte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">[**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)<img src="../../../../../images/grte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">
|
||||||
|
> Azure हैकिंग सीखें और अभ्यास करें: <img src="../../../../../images/azrte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">[**HackTricks Training Azure Red Team Expert (AzRTE)**](https://training.hacktricks.xyz/courses/azrte)<img src="../../../../../images/azrte.png" alt="" style="width:auto;height:24px;vertical-align:middle;">
|
||||||
>
|
>
|
||||||
> <details>
|
> <details>
|
||||||
>
|
>
|
||||||
> <summary>Support HackTricks</summary>
|
> <summary>HackTricks का समर्थन करें</summary>
|
||||||
>
|
>
|
||||||
> - Check the [**subscription plans**](https://github.com/sponsors/carlospolop)!
|
> - [**सदस्यता योजनाओं**](https://github.com/sponsors/carlospolop) की जांच करें!
|
||||||
> - **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks_live**](https://twitter.com/hacktricks_live)**.**
|
> - **हमारे** 💬 [**Discord समूह**](https://discord.gg/hRep4RUj7f) या [**टेलीग्राम समूह**](https://t.me/peass) में शामिल हों या **हमें** **Twitter** 🐦 [**@hacktricks_live**](https://twitter.com/hacktricks_live)** पर फॉलो करें।**
|
||||||
> - **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
|
> - **हैकिंग ट्रिक्स साझा करें, PRs को** [**HackTricks**](https://github.com/carlospolop/hacktricks) और [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) गिटहब रिपोजिटरी में सबमिट करके।
|
||||||
>
|
>
|
||||||
> </details>
|
> </details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 280 KiB |
|
Before Width: | Height: | Size: 156 KiB |
BIN
src/images/CH_logo_ads.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 206 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 614 KiB |
BIN
src/images/azrte.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
src/images/azure_static_password.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 2.4 MiB |
BIN
src/images/discount.jpeg
Normal file
|
After Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 482 KiB |
|
Before Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 756 KiB |
|
Before Width: | Height: | Size: 756 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 490 KiB |
|
Before Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 410 KiB |
|
Before Width: | Height: | Size: 774 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 100 KiB |