Server IP : 103.6.199.200 / Your IP : 3.148.108.201 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/exabytes/ |
Upload File : |
# Define the root folder to scan $rootFolder = "C:\Path\To\Your\Directory" # Use Get-ChildItem to recursively search for .asp and .aspx files $aspFiles = Get-ChildItem -Path $rootFolder -Recurse -Include *.asp, *.aspx # Check if any files were found if ($aspFiles) { Write-Host "The following .asp and .aspx files were found:" -ForegroundColor Green $aspFiles | ForEach-Object { Write-Host $_.FullName } } else { Write-Host "No .asp or .aspx files found in the directory and its subdirectories." -ForegroundColor Yellow }