Skip to content

Commit f9aa92f

Browse files
authored
Merge pull request #492 from onekey-sec/402-improve-unblob-docs
Improved unblob documentation
2 parents 1b0b66c + 2dfb5f5 commit f9aa92f

File tree

10 files changed

+433
-6
lines changed

10 files changed

+433
-6
lines changed

default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ let
7474
arpy = overrideWithSetuptools super.arpy { };
7575
yaffshiv = overrideWithSetuptools super.yaffshiv { };
7676
ubi-reader = overrideWithSetuptools super.ubi-reader { };
77+
cairosvg = overrideWithSetuptools super.cairocffi { };
7778
});
7879

7980
python = python3;

docs/ArtegraSans-Regular.ttf

205 KB
Binary file not shown.

docs/api.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
hide:
3+
- navigation
4+
---
5+
6+
# API Reference
7+
8+
::: unblob.models.Handler
9+
handler: python
10+
options:
11+
members:
12+
- get_dependencies
13+
- calculate_chunk
14+
- extract
15+
show_root_heading: true
16+
show_source: true
17+
18+
::: unblob.models.StructHandler
19+
handler: python
20+
options:
21+
members:
22+
- parse_header
23+
show_root_heading: true
24+
show_source: true
25+
26+
::: unblob.models.Extractor
27+
handler: python
28+
options:
29+
members:
30+
- get_dependencies
31+
- extract
32+
show_root_heading: true
33+
show_source: true

docs/extra.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
@font-face {
2+
font-family: "Artegra Sans";
3+
src: url("ArtegraSans-Regular.ttf");
4+
}
5+
6+
html {
7+
font-family: "Artegra Sans", Sans-serif;
8+
}
9+
110
[data-md-color-scheme="default"] {
211
--md-primary-fg-color: #002060;
312
--md-typeset-a-color: #008ed5;

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ unblob identifies known and unknown chunks of data within a file:
9696
information about identified chunks (format, offsets, size, entropy) and their
9797
extracted content if available (ownership, permissions, timestamps, ...).
9898

99+
![unblob_architecture.webp](unblob_architecture.webp)
100+
99101
## Used technologies
100102

101103
- unblob is written in [Python](https://www.python.org/).

docs/publications.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Publications
2+
3+
## Talks
4+
5+
- BlackAlps 2022 - [Firmwares Are Weird. A Year Long Journey To Efficient Extraction (video)](https://www.youtube.com/watch?v=PZ_gw85PcgY)
6+
- BlackAlps 2022 - [Firmwares Are Weird. A Year Long Journey To Efficient Extraction (PDF)](https://www.blackalps.ch/ba-22/files/talks/BlackAlps22-Kaiser.pdf)
7+
- Hacktivity Budapest 2022 - [Making Sense of Firmware Images - The Journey to Efficient Extraction (video)](https://www.youtube.com/watch?v=TmmKmhBnf9I)
8+
9+
## Demo & Workshop
10+
11+
- [DEFCON Demo Labs 2022](https://forum.defcon.org/node/242253)
12+
- [BlackHat USA Arsenal 2022](https://www.blackhat.com/us-22/arsenal/schedule/#unblob-26664)
13+
14+
## Podcasts
15+
16+
- SecTools Podcast - [Episode 41 with ONEKEY Team about Unblob](https://infoseccampus.com/podcast/sectools-e41-onekey-unblob/)

docs/unblob_architecture.webp

24.8 KB
Loading

mkdocs.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
site_name: unblob - extract everything!
2-
site_author: OneKey developers
2+
site_author: ONEKEY developers
33
site_description: unblob is an accurate, fast, and easy-to-use extraction suite. unblob parses unknown binary blobs for more than 30 different archive, compression, and file-system formats, extracts their content recursively, and carves out unknown chunks that have not been accounted for. This turns unblob into the perfect companion for extracting, analyzing, and reverse engineering firmware images.
4+
site_url: https://unblob.org/
45

56
repo_name: Unblob on GitHub
67
repo_url: https://github.com/onekey-sec/unblob
@@ -13,7 +14,9 @@ nav:
1314
- Supported Formats: formats.md
1415
- extractors.md
1516
- development.md
17+
- API: api.md
1618
- glossary.md
19+
- publications.md
1720
- support.md
1821

1922
markdown_extensions:
@@ -33,7 +36,7 @@ theme:
3336
logo: logo.svg
3437
favicon: favicon.png
3538
font:
36-
text: Artegra Sans
39+
text: Artegra Sans
3740
palette:
3841
- media: "(prefers-color-scheme: light)"
3942
scheme: default
@@ -53,6 +56,15 @@ theme:
5356
extra_css:
5457
- extra.css
5558

59+
plugins:
60+
- search
61+
- mkdocstrings
62+
- social:
63+
cards: true
64+
cards_color:
65+
fill: "#002060"
66+
text: "#00FFC8"
67+
5668
extra:
5769
social:
5870
- icon: fontawesome/brands/github

0 commit comments

Comments
 (0)