Skip to content

Commit a7146c0

Browse files
authored
Add MASTG New Cover for PDF (#2205)
* try new cover and fix img * rm emojis * rm covers and fix file paths * transform by function * fix PDF upload * apply transforms to workflows * add cover in pdf * how to create the cover & rm docx upload
1 parent 2d11d52 commit a7146c0

File tree

15 files changed

+72
-39
lines changed

15 files changed

+72
-39
lines changed

.github/workflows/build-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
python-version: 3.x
1515
- run: pip install -r requirements.txt
1616

17-
- run: python3 tools/scripts/transform_links.py
17+
- run: python3 tools/scripts/transform_files.py
1818
- run: mkdir docs/MASTG
1919
- run: mkdir docs/MASTG/General
2020
- run: mkdir docs/MASTG/Android

.github/workflows/docgenerator.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
2828
run: echo "VERSION=${{env.VERSION}}-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
2929

30+
- name: Process Files
31+
run: python3 tools/scripts/transform_files.py
32+
3033
- name: Generate English PDF
3134
run: ./tools/docker/pandoc_makedocs.sh Document ${{env.VERSION}}
3235

@@ -136,7 +139,6 @@ jobs:
136139
files: |
137140
OWASP_MASTG-*/OWASP_MASTG-*.pdf
138141
OWASP_MASTG-*/OWASP_MASTG-*.epub
139-
OWASP_MASTG-*/OWASP_MASTG-*.docx
140142
Checklists/*.xlsx
141143
Enhanced-MASVS-YAML-Files/*.yaml
142144
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
.idea
66
Generated
77
tmp_*
8+
build
89
*-temp
910
OWASP_MSTG-SNAPSHOT-*
1011
logs

Document/0x05h-Testing-Platform-Interaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ Using unverified deep links can cause a significant issue- any other apps instal
594594

595595
In recent versions of Android this results in a so-called _disambiguation dialog_ shown to the user that asks them to select the application that should handle the deep link. The user could make the mistake of choosing a malicious application instead of the legitimate one.
596596

597-
<img src="https://developer.android.com/training/app-links/images/app-disambiguation_2x.png"/>
597+
<img src="Images/Chapters/0x05h/app-disambiguation.png" width="50%" />
598598

599599
#### Android App Links
600600

199 KB
Loading

Document/Images/cover.jpg

-2.11 MB
Binary file not shown.

Document/cover.jpg

-1.33 MB
Binary file not shown.

Document/cover.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<img src='../Document/Images/cover.jpg' id="cover" class="cover" />
1+
<img src='../cover.pdf' id="cover" class="cover" />

cover.jpg

-2.11 MB
Binary file not shown.

cover.pdf

67 KB
Binary file not shown.

0 commit comments

Comments
 (0)