PASSWORD PROTECT A .VBS SCRIPT

1-right click on you script
2-click on edit
3-your code opens in text editor or any program that you use
4-at the beginig of script paste the line of code below
5-pass=inputbox("Password?")
6-if pass="ethicalhackx.com" then msgbox("Correct Password!") else msgbox("Incorrect Password!")
7-save this project now
8-now when you open this you are asked password
9-The password for this is ethicalhackx.com
10-Save it as Password.vbs And enjoy!

No comments:

Post a Comment