ben9964 Posted May 11, 2018 Posted May 11, 2018 Hello! I am new to posting on the forum but have been playing around with autoit on and off, briefly glancing at forum threads about things i might want to do for the best part of 2 years. My scripts have barely ever gone much further than the example scripts but i would like to do something more now, thus me making an account on this forum. now the formalities are out of the way lets get into why I am making this thread. This thread is being made because in school and out of school we do this sort of competition where you are given a virtual machine that has been not necessarily infected with viruses but it is not optimised for the upmost cyber security should we say. This is one of my favourite times of the year when we do this competition and i was reading their rules and it does state that scripting is allowed. The tasks we perform in this competition include but are not limited to things like changing firewall settings in the control panel, changing local group policies and audit policies. Disabling the default guest and administrator accounts. There are many more mundane tasks like this that i have done time and time again, i understand that have to do some myself and the more complicated stuff is unpredictable but the main elements mostly always stay the same and i will score points for getting these. We get adequate time to do all of this but my thinking is that if i use a script to get all of the mundane tasks out of the way i can use the remainder of the time to get my teeth into the more challenging parts of the competition which eat away at most of the time. When i thought about scripting i thought of autoit and the nature of this language. My main question in this is - Is it hypothetically possible to do the things that i mentioned above in autoit and if it is could one of you autoit connoisseurs help me get started - I'm not asking for any code but maybe point me in the direction of some UDF's that could be useful or some functions in the main autoit that could accomplish these things. To me the autoit forums is a maze even with the search functionality. Thanks, Ben.
Moderators Melba23 Posted May 11, 2018 Moderators Posted May 11, 2018 ben9964, I am sure you will understand that we do not want to have scripts showing how to do any of this "sort of competition" stuff: Quote like changing firewall settings in the control panel, changing local group policies and audit policies. Disabling the default guest and administrator accounts on the forum. Thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts