![]() ![]() Trường `commands` sẽ có một vài giá trị mà client có thể sử dụng để gọi đến những ứng dụng cấp từ server của `netatalk` như bảng dưới đây: Khi một package DSI được gửi đến server, nó sẽ được parser theo một struct sau: ![]() # Vậy hàm `dsi_opensession()` được gọi khi nào? Tại sao lại có lỗi ở đây? Nếu chúng ta có thể control được `commands` thì khi đó ta có thể ghi đè được các trường sau `attn_quantum` -> heap overflow Source code from `libatalk/dsi/dsi_opensess.c` # using commandline to run gdb (because I setup env = sudo)Īfter search google, I found that bug in `dsi_opensess.c` () Start, I attach to process `afpd` with highest privilege `sudo` After start netatalk service, the execute file programming will be placed `/usr/local/sbin` # change infomation in file configuration of service Change afp.conf follow challenge gives us > Hiểu một cách đơn giản, `Netatalk` là một ứng dụng giúp chúng ta chia sẻ file qua mạng giữa hệ thống `Ubuntu` và hệ thống `MacOS` bằng cách cung cấp cùng giao thức `AFP`įor Ubuntu18.04 (`Linux ubuntu 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16: x86_64 x86_64 x86_64 GNU/Linux`) Historically (until release 3.0) `Netatalk` implemented the `AppleTalk` protocol suite, allowing Unix-like operating systems to serve also as print and time servers for Apple Macintosh computers" It allows Unix-like operating system to serve as file server for `Macintosh` computers. "Netatalk is a free, open-source implementation of the `Apple Filing Protocol`. Đây là sự thay thế của Apple cho các giao thức Server Message Block (SMB) và Network File System (NFS). `Apple Filing Protocol` là giao thức mạng độc quyền của Apple để phân phối file qua mạng. `Netatalk` là một open-source linux deamon, cung cấp POSIX-compliant *NIX/ * BSD hệ thống có khả năng chia sẻ các tập tin với các máy tính Apple Macintonsh. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |