PDA

View Full Version : Model whitelist (validare) / blacklist fisiere



Tiger
07-10-2017, 07:20 PM
La TITLU veti scrie whitelist/blacklist (ex: Whitelist fisier.dll), iar in continut veti specifica urmatoarele detalii:


DESCRIERE FISIERE (OPTIONAL): Detalii fisiere (whitelist/blacklist)
RAPORT wCD: Raportul unde au aparut fisierele ce se doresc in whitelist/blacklist
LINK DE DOWNLOAD FISIERE: Link-ul unde ati uploadat fisierele (va rugam sa folositi serviciile de upload gratuit a fisierelor precum: <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> sau <b>You have to register to ba able to see this link</b> )


* Pentru a putea valida sau marca un fisier ca fiind cheat avem nevoie de fisier pentru a-l analiza, de aceea va rugam sa uploadati fisierele care doriti sa fie whitelistate sau blacklistate.
* Daca va apar module necunoscute in raportul wCD puteti folosi acest script pentru a obtine fisierele. Va rugam sa respectati urmatorii pasi:

1. Rulati jocul.

2. Porneste o consola cmd (vezi cum: <b>You have to register to ba able to see this link</b> ), dupa ce iti apare consola tasteaza:
- daca ai Windows pe 64 bit (x64):
%SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\power shell.exe
- daca ai Windows pe 32 bit (x86) sau comanda anterioara ti-a dat eroare:
powershell

3. Dupa ce ti se executa comanda, introdu (copy-paste; pentru a da Paste apasa click dreapta pe fereastra de powershell si dai click pe 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!" }


Acel script iti va crea pe desktop un director numit "wcd-files" ce va contine toate modulele incarcate de proces si toate fisierele gasite in directorul in care ruleaza procesul. Daca apare ceva cu rosu (eroare) incearca sa rulezi cmd ca administrator si sa reiei pasii. Procedeul de preluare module si fisiere poate lua ceva timp, asteapta pana scrie pe ecran "Done." sau "ERROR:".

4. Dupa aceea, arhiveaza directorul "wcd-files" si uploadeaza-l pe un site de file-sharing (unul din link-urile specificate mai sus la "Link de download fisiere") si pune link in cerere. Apoi poti sterge directorul "wcd-files" si arhiva creata de pe desktop.