Jump to content

Recommended Posts

Posted

CODE
#include <GuiConstants.au3>

; GUI

$passwd = InputBox("Security Check", "Enter your password.", "", "*")

if $passwd "qwerty" Then MsgBox ("Greatings") Else Exit

GuiCreate("Wireless Policy Deleter", 225, 50)

$Button_1 = GUICtrlCreateButton ("Delete the Wireless Policy", 0, 0, 225)

$password = "qwerty"

; MENU

GuiCtrlCreateMenu("File")

GUISetState ()

Do

$msg = GUIGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case $msg = $Button_1

RegDelete ("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Wireless") ; Delte Reg

EndSelect

; GUI MESSAGE LOOP

GuiSetState()

Until GuiGetMsg() = $GUI_EVENT_CLOSE

Okay how do you make a password

The password is supposed to be "qwerty"

if you get it right it will go to the GUI and if you get it wrong it will close down

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...