Get-FSPermissions
projesi, dosya sistemi izinlerini kolayca almayı ve analiz etmeyi sağlayan bir PowerShell betiğidir. Bu araç sayesinde belirli dosya ve klasörlerin erişim kontrol listelerini (ACL'ler) ve güvenlik tanımlayıcılarını hızlı bir şekilde görüntüleyebilirsiniz. Sistem yöneticileri ve güvenlik uzmanları için dosya sistemi izinlerini denetleme ve sorun giderme süreçlerini basitleştirmeyi hedefler. Özellikler
- Detaylı İzin Raporlaması: Belirli bir dosya veya klasördeki kullanıcı ve grup izinlerini ayrıntılı olarak listeler.
- Kullanım Kolaylığı: PowerShell ortamında basit komutlarla çalışacak şekilde tasarlanmıştır.
- Yol Tabanlı Sorgulama: Belirli bir dizin veya dosya yolu için izin bilgilerini alabilir.
- Esnek Çıktı: İzin bilgilerini okunabilir bir formatta sunar, isteğe bağlı olarak farklı formatlarda (örneğin CSV, JSON) dışa aktarılabilir (eğer betikte bu özellik varsa veya gelecekte eklenecekse).
Kurulum
Bu proje bir PowerShell betiği olduğundan, özel bir kurulum adımı gerektirmez.- Depoyu Klonlayın: Bash
git clone https://github.com/onder7/Get-FSPermissions.git
- Betiği Çalıştırın: PowerShell konsolunuzdan betik dosyasına (
Get-FSPermissions.ps1
gibi) gidin ve çalıştırın.
Nasıl Kullanılır?
Betiği bir PowerShell konsolunda çalıştırarak dosya veya klasör izinlerini görüntüleyebilirsiniz. Örnek Kullanım: Belirli bir klasörün izinlerini almak için: PowerShell
./Get-FSPermissions.ps1 -Path "C:\MyImportantFolder"
PowerShell
./Get-FSPermissions.ps1 -Path "C:\MyImportantFolder\document.txt"
English
TheGet-FSPermissions
project is a PowerShell script designed to easily retrieve and analyze file system permissions. With this tool, you can quickly view the Access Control Lists (ACLs) and security descriptors of specific files and folders. It aims to simplify the process of auditing and troubleshooting file system permissions for system administrators and security professionals. Features
- Detailed Permission Reporting: Lists user and group permissions in detail for a given file or folder.
- Ease of Use: Designed to work with simple commands within the PowerShell environment.
- Path-Based Querying: Can retrieve permission information for a specific directory or file path.
- Flexible Output: Presents permission information in a readable format, optionally exportable to different formats (e.g., CSV, JSON) if this feature is present in the script or planned for future development.
Installation
As this is a PowerShell script, it does not require a special installation process.- Clone the Repository: Bash
git clone https://github.com/onder7/Get-FSPermissions.git
- Run the Script: Navigate to the script file (e.g.,
Get-FSPermissions.ps1
) from your PowerShell console and execute it.
How to Use
You can view file or folder permissions by running the script in a PowerShell console. Example Usage: To get permissions for a specific folder: PowerShell
./Get-FSPermissions.ps1 -Path "C:\MyImportantFolder"
PowerShell
./Get-FSPermissions.ps1 -Path "C:\MyImportantFolder\document.txt"