mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
24 lines
1.6 KiB
Markdown
24 lines
1.6 KiB
Markdown
{{#include ../banners/hacktricks-training.md}}
|
|
|
|
# 인터넷 인쇄 프로토콜 \(IPP\)
|
|
|
|
**인터넷 인쇄 프로토콜 (IPP)**는 **RFC2910** 및 **RFC2911**에 명시된 바와 같이 인터넷을 통한 인쇄의 기초가 됩니다. **IPP Everywhere**와 같은 발전은 모바일 및 클라우드 인쇄를 표준화하려는 목표를 가지고 있으며, **3D 인쇄**를 위한 확장의 도입으로 IPP의 확장 가능성을 보여줍니다.
|
|
|
|
**HTTP** 프로토콜을 활용하여 IPP는 **기본/다이제스트 인증** 및 **SSL/TLS 암호화**와 같은 확립된 보안 관행의 혜택을 누립니다. 인쇄 작업 제출이나 프린터 상태 조회와 같은 작업은 **포트 631/tcp**에서 운영되는 IPP 서버를 향한 **HTTP POST 요청**을 통해 수행됩니다.
|
|
|
|
IPP의 잘 알려진 구현체는 **CUPS**로, 다양한 리눅스 배포판과 OS X에서 널리 사용되는 오픈 소스 인쇄 시스템입니다. 유용성에도 불구하고, IPP는 LPD와 유사하게 **PostScript** 또는 **PJL 파일**을 통해 악성 콘텐츠를 전송하는 데 악용될 수 있어 잠재적인 보안 위험을 강조합니다.
|
|
```python
|
|
# Example of sending an IPP request using Python
|
|
import requests
|
|
|
|
url = "http://printer.example.com:631/ipp/print"
|
|
headers = {"Content-Type": "application/ipp"}
|
|
data = b"..." # IPP request data goes here
|
|
|
|
response = requests.post(url, headers=headers, data=data, verify=True)
|
|
print(response.status_code)
|
|
```
|
|
프린터 해킹에 대해 더 알고 싶다면 [**이 페이지를 읽어보세요**](http://hacking-printers.net/wiki/index.php/Main_Page).
|
|
|
|
{{#include ../banners/hacktricks-training.md}}
|