Skip to content
🐳 personal mitmproxy containers
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
cumberland.dockerfile
kanbanize.dockerfile

README.md

mitm

개인적인 mitmproxy μ»¨ν…Œμ΄λ„ˆλ“€ ❀️

Build & Run

cumberland

# create mitm-ca-cert.pem
$ docker build -t gcr.io/<PROJECT_ID>/mitm-cumberland:<TAG> -f cumberland.dockerfile .
$ docker run --restart=always -m 100m -d -p 8888:8888 [-p 8081] gcr.io/<PROJECT_ID>/mitm-cumberland:<TAG>

kanbanize

$ docker build --build-arg API_KEY=<API_KEY> -t gcr.io/<PROJECT_ID>/mitm-kanbanize:<TAG> -f kanbanize.dockerfile .
$ docker run --restart=always -m 100m -d -p 9999:9999 [-p 8081] gcr.io/<PROJECT_ID>/mitm-kanbanize:<TAG>

Why?

cumberland.dockerfile

cumberland Websocket API μ„œλ²„μ—λŠ” μ§€μ •λœ ν΄λΌμ΄μ–ΈνŠΈ μΈμ¦μ„œ (SSL pinning) λ₯Ό 가진 ν΄λΌμ΄μ–ΈνŠΈλ§Œ 접속할 수 μžˆμŠ΅λ‹ˆλ‹€. 응닡에 CORS 헀더도 μ—†μ–΄, 브라우져 ν™˜κ²½μ—μ„œ cumberland API λ₯Ό 직접 μ‚¬μš©ν•˜λŠ” 것은 λΆˆκ°€λŠ₯ν•©λ‹ˆλ‹€. mitmproxy λŠ” μ§€μ •λœ μΈμ¦μ„œλ₯Ό μ‚¬μš©ν•΄ cumberland API μ„œλ²„μ— μ—°κ²°ν•  수 μžˆμŠ΅λ‹ˆλ‹€. 이 연결을 μ€‘κ³„ν•˜λŠ” 포트λ₯Ό 톡해 λΈŒλΌμš°μ ΈλŠ” λ³„λ„μ˜ μΈμ¦μ„œ μ„€μ • 없이 cumberland API μ„œλ²„μ— μ—°κ²°ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

kanbanize.dockerfile

IntelliJ 의 Tasks and context κΈ°λŠ₯을 μ™„μ „νžˆ ν™œμš©ν•˜κΈ° μœ„ν•΄μ„œλŠ” Task Server 섀정이 ν•„μš”ν•©λ‹ˆλ‹€. IntelliJ κ°€ μ§€μ›ν•˜μ§€ μ•ŠλŠ” 이슈 트래컀 μ„œλΉ„μŠ€λŠ” 이슈 λͺ©λ‘κ³Ό 이슈 상세 정보λ₯Ό μ‘°νšŒν•˜λŠ” HTTP API λ₯Ό 직접 μ„€μ •ν•΄μ•Ό ν•©λ‹ˆλ‹€. (Generic Server μ˜΅μ…˜) ν•˜μ§€λ§Œ μ„€μ •ν•  수 μžˆλŠ” 값듀이 λ„ˆλ¬΄ μ œν•œμ μ΄μ–΄μ„œ HTTP 헀더에 API Key λ₯Ό μ‚¬μš©ν•˜λŠ” μ„œλΉ„μŠ€λŠ” λ“±λ‘ν•˜λŠ” 것이 λΆˆκ°€λŠ₯ν•©λ‹ˆλ‹€. HTTP μš”μ²­μ— API Key 헀더λ₯Ό μΆ”κ°€ν•˜λ„λ‘ mitmproxy λ₯Ό μ„€μ •ν•΄ IntelliJ κ°€ μ§€μ›ν•˜μ§€ μ•ŠλŠ” kanbanize μ„œλΉ„μŠ€λ₯Ό Task Server 둜 등둝할 수 μžˆμŠ΅λ‹ˆλ‹€.

You can’t perform that action at this time.