vargheseg Posted November 13, 2019 Posted November 13, 2019 I am planning to create a autoit script and then compile to an .exe. The whole purpose of creating a .exe file is to pass a web site user name and password as arguments when calling a powershell script. purpose of this powershell is to use Selenium in powershell and extract some useful information from information web site Are my following understanding correct : 1. the hardcoded password is in the .exe file . So can that password be extracted from .exe ? 2. In the powershell script, once the session starts, the login to web site is done, variable is cleared - can anyone extract the password, other than using memory management technique?
iamtheky Posted November 13, 2019 Posted November 13, 2019 (edited) yup if its in the exe, its easy to retrieve, dont do that. Call get-credential at the top of the powershell script and prompt the user if that is an option. Edited November 13, 2019 by iamtheky redundant text was redundant ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
vargheseg Posted November 13, 2019 Author Posted November 13, 2019 How can one open the Binary file and get the password. can we do using a hex editor?
iamtheky Posted November 13, 2019 Posted November 13, 2019 nobody is going to walk you through decompiling, and i think if you type the word three times in dark mode the thread locks itself. FrancescoDiMuro 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Moderators Melba23 Posted November 13, 2019 Moderators Posted November 13, 2019 Quote if you type the word three times in dark mode the thread locks itself No need - I will lock it right now! M23 FrancescoDiMuro 1 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