mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-21 20:23:18 +00:00
3.6 KiB
3.6 KiB
548 - Pentesting Apple Filing Protocol (AFP)
htARTE (HackTricks AWS Red Team Expert) !HackTricks!
Other ways to support HackTricks:
- If you want to see your company advertised in HackTricks or download HackTricks in PDF Check the SUBSCRIPTION PLANS!
- Get the official PEASS & HackTricks swag
- Discover The PEASS Family, our collection of exclusive NFTs
- Join the 💬 Discord group or the telegram group or follow us on Twitter 🐦 @carlospolopm.
- Share your hacking tricks by submitting PRs to the HackTricks and HackTricks Cloud github repos.
Basic Information
The Apple Filing Protocol (AFP), once known as AppleTalk Filing Protocol, is a specialized network protocol included within the Apple File Service (AFS). It is designed to provide file services for macOS and the classic Mac OS. AFP stands out for supporting Unicode file names, POSIX and access control list permissions, resource forks, named extended attributes, and sophisticated file locking mechanisms. It was the main protocol for file services in Mac OS 9 and earlier versions.
Default Port: 548
PORT STATE SERVICE
548/tcp open afp
Enumeration
For the enumeration of AFP services, the following commands and scripts are useful:
Klingon Translation
QapHa'
AFP qapHa'wI'pu' 'e' vItlhutlh:
QapHa'
AFP qapHa'wI'pu' 'e' vItlhutlh:
msf> use auxiliary/scanner/afp/afp_server_info
nmap -sV --script "afp-* and not dos and not brute" -p <PORT> <IP>
Scripts and Their Descriptions:
- afp-ls: tlhutlhlaHbe'chugh AFP volumes je files.
- afp-path-vuln: tlhutlhlaHbe'chugh AFP volumes je files, potential vulnerabilities qar.
- afp-serverinfo: AFP server Detailed Information.
- afp-showmount: available AFP shares along with their respective ACLs tlhutlhlaHbe'chugh.
Brute Force
Learn AWS hacking from zero to hero with htARTE (HackTricks AWS Red Team Expert)!
Other ways to support HackTricks:
- If you want to see your company advertised in HackTricks or download HackTricks in PDF Check the SUBSCRIPTION PLANS!
- Get the official PEASS & HackTricks swag
- Discover The PEASS Family, our collection of exclusive NFTs
- Join the 💬 Discord group or the telegram group or follow us on Twitter 🐦 @carlospolopm.
- Share your hacking tricks by submitting PRs to the HackTricks and HackTricks Cloud github repos.