---
# System prepended metadata

title: 各版本libc
tags: [CTF]

---

# 各版本libc
###### tags: `CTF`

1. google搜尋`dockerhub ubuntu`
    - https://hub.docker.com/_/ubuntu

2. 找到What's in this image底下的連結
![](https://i.imgur.com/oKgDJax.png)
    - https://partner-images.canonical.com/core/
    
3. 找相對應架構的檔案
![](https://i.imgur.com/1oWbZ9P.png =350x)

```python
#wget下來
 wget https://partner-images.canonical.com/core/unsupported/disco/20200114/ubuntu-disco-core-cloudimg-amd64-root.tar.gz
 
# 解壓縮
 tar xvzf ubuntu-disco-core-cloudimg-amd64-root.tar.gz
```

4. `/lib/x86_64-linux-gnu`底下會有各種library
![](https://i.imgur.com/i2jrrpJ.png =400x)

5. 複製到需要使用的資料夾
![](https://i.imgur.com/5CBOIlR.png)
