PDA

View Full Version : Request model to whitelist/blacklist files



Tiger
02-02-2019, 02:38 PM
In the TITLE you will write whitelist/blacklist (e.g.: Whitelist file.dll), and you will fill the content with the following details:


DESCRIBE THE FILES (OPTIONAL): File details (whitelist/blacklist)
wCD REPORT: wCD report where these files can be found.
DOWNLOAD LINK: Download link which contains the files (
please use one of the following free file-hosting services to upload the files: <b>You have to register to ba able to see this link</b> , <b>You have to register to ba able to see this link</b> , <b>You have to register to ba able to see this link</b> or <b>You have to register to ba able to see this link</b> )


* To whitelist/blacklist your file(s) we need the file(s) to analyze the situation.
* If there are some unknown files in your wCD report you can use the script from bellow to acquire these files. Please follow the following steps:

1. Run the game.

2. Run a cmd console (if you don't know how use this tutorial: <b>You have to register to ba able to see this link</b> ), then enter the following command depending on your operating system:
- if you use Windows on 64 bit (x64) type:
%SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\power shell.exe
- if you use Windows on 32 bit (x86) or the previous command failed type:
powershell

3. Wait a few seconds until the previous command finishes and copy-paste the following script (to Paste the code in the console right click on the powershell window and click on "Paste"):


$workingPath = [IO.path]::combine([Environment]::GetFolderPath("Desktop"), "wcd-files")
$t = [system.io.directory]::CreateDirectory($workingPath)
Get-Process | Select-Object -ExpandProperty MainModule | ForEach-Object -Process {Copy-Item -Path $_.FileName -Destination $workingPath}
$processNameArray = ("hl", "cstrike")
$process = Get-Process | Where { $processNameArray -contains $_.ProcessName } | Select-Object -first 1
if ($process) { $process | Select-Object -ExpandProperty Modules | ForEach-Object -Process {Copy-Item -Path $_.FileName -Destination $workingPath} }
if ($process) { $processPath = [System.IO.Path]::GetDirectoryName(($process | Select -ExpandProperty MainModule | Select FileName).FileName) }
if ($process) { $ext = (".dll", ".asi", ".mix", ".flt", ".exe", ".cmd", ".vbs", ".bat", ".m3d", ".scr") }
if ($process) { $dir = Get-ChildItem $processPath -recurse -force }
if ($process) { $dir | Where { $ext -contains $_.Extension } | ForEach-Object {Copy-Item -Path $_.FullName -Destination $workingPath} }
if ($process) { Write-Host "Done." } else { Write-Host -BackgroundColor "BLACK" -ForegroundColor "RED" "ERROR: Couldn't find the game process. Start the game and try again!" }


This script will create a directory on your desktop called "wcd-files". This directory will contain all the loaded files (modules) and the files inside your game directory. If something failed (red colored messages will be displayed on your screen), try to run cmd with administrator rights and follow the steps again. This script can take a while, wait until your screen shows "Done." or "ERROR" message.

4. Archive the "wcd-files" directory and upload it to a free file-hosting service mentioned in the beginning of this request model and then put the link on the request model. Afterwards you may delete the "wcd-files" directory and the archive.