-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmalwareRepo.ps1
40 lines (34 loc) · 2.61 KB
/
malwareRepo.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Autore: Paolo Rampino <[email protected]>
# Avviso legale
Write-Host "###########################################################################" -ForegroundColor Red
Write-Host "# #" -ForegroundColor Red
Write-Host "# ATTENZIONE: QUESTO SCRIPT SCARICA UN REPOSITORY CONTENENTE #" -ForegroundColor Red
Write-Host "# MALWARE!!! #" -ForegroundColor Red
Write-Host "# #" -ForegroundColor Red
Write-Host "# QUESTI FILE SONO DESTINATI ESCLUSIVAMENTE A SCOPI DI RICERCA E ANALISI #" -ForegroundColor Red
Write-Host "# MALWARE IN AMBIENTI CONTROLLATI. ALCUNI DI QUESTI MALWARE POSSONO #" -ForegroundColor Red
Write-Host "# INFETTARE LA RETE. E' IMPERATIVO CHE SIANO UTILIZZATI SOLO #" -ForegroundColor Red
Write-Host "# IN MACCHINE VIRTUALI ISOLATE. #" -ForegroundColor Red
Write-Host "# #" -ForegroundColor Red
Write-Host "# LA SCUOLA E L'AUTORE DELLO SCRIPT NON SI ASSUMONO ALCUNA RESPONSABILITA'#" -ForegroundColor Red
Write-Host "# PER DANNI DERIVANTI DA UN USO IMPROPRIO DI QUESTI STRUMENTI. E' TUA #" -ForegroundColor Red
Write-Host "# RESPONSABILITA' ASSICURARTI DI UTILIZZARLI SOLO PER SCOPI LEGITTIMI. #" -ForegroundColor Red
Write-Host "# #" -ForegroundColor Red
Write-Host "# NON AVVIARE NESSUN FILE SENZA AVER ISOLATO LA MACCHINA VIRTUALE IN #" -ForegroundColor Yellow
Write-Host "# RETE INTERNA! #" -ForegroundColor Yellow
Write-Host "# #" -ForegroundColor Red
Write-Host "###########################################################################" -ForegroundColor Red
Write-Host "---------------------------------------------------------------------------" -ForegroundColor White
# Richiede conferma dall'utSente prima di procedere
$confirm = Read-Host "Vuoi continuare con il download? (S/N)"
if ($confirm -eq "S" -or $confirm -eq "s") {
cd $([Environment]::GetFolderPath("Desktop"))
if (Test-Path -Path ".\Malware") {
Remove-Item .\Malware -Recurse -Force
}
git clone https://github.com/Akir4d/The-MALWARE-Repo.git Malware
cd .\Malware
git restore --source=HEAD :/
} else {
Write-Host "Operazione annullata dall'utente." -ForegroundColor Green
}