Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- error_message = 'runnig the script error'
- s = 'mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( '' + error_message +'', 10, 'Library Book Reissue', 64 );close()"'
- filehandle = open("c:\sc.bat","w")
- filehandle.write(s)
- filehandle.close()
- os.system('c:\sc.bat')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement