meatsack Posted January 31, 2017 Posted January 31, 2017 I am running a non-malicious automation script on a public website that I have a username and password for. I am curious if anyone is aware of webmaster measures to defeat the use of AutoIt? I am interested in Countermeasures employed by Webmasters vs AutoIt. In what ways can a webmaster be aware or discover you are using AutoIt? So far I may be paranoid but I suspect they have done the following to me. 1. Moved the layout of the page so that my script once accurately hit their yes button, button is moved so I can no longer automatically select yes. 2. Temporary ban on my IP address 3. Slowing down or logging me out of my user account interface 4. ?Deleting the text data I attempted to paste from #include<File.au3> 5. ?Deleting or otherwise defeating my script when it steps through the following script: setStatus("Setting text message.") setTextMessage($sMessage) setStatus("Submitting message.") submitMessage() setStatus("Message has been sent.") What are the common methods webmasters use to defeat AutoIt, or limit its use? Any suggestions on counter-counter measures(sendkeys?) Thank you in advance.
Danp2 Posted January 31, 2017 Posted January 31, 2017 I haven't experienced these types of issues when automating a website. Honestly, I don't understand what you mean by items 4 &5. Does the website have an EULA that restricts automation? Latest Webdriver UDF Release Webdriver Wiki FAQs
meatsack Posted January 31, 2017 Author Posted January 31, 2017 Thank you for your suggestions. As there is more than 1 way to write a AutoIt Script, can sendkeys be more reliable or away around attempts to subvert the use of AutoIt on a public website? A. 4&5 I suspect they might be using this tactic or may have the ability to do so. However, its just pure speculation on my part as I don't have the knowledge to know if its even possible to do. B. The website does not have a EULA that restricts automation. Any suggestions will be appreciated.
Danp2 Posted January 31, 2017 Posted January 31, 2017 What browser? And are you using one of the UDFs to interact with the browser or Send() and mouse clicks? Can you share the web site URL? Latest Webdriver UDF Release Webdriver Wiki FAQs
meatsack Posted February 1, 2017 Author Posted February 1, 2017 1. Firefox browser. IE became a nightmare diff IE different IE behaviours on different hardware, arrggh 2. I use the FF.au3 placed inside the system folder "Include" _FFOpenURL('MysteryWebsite') sleep(1000) _FFLoadWait() $profileLink = getProfileLink() setStatus("MysteryWebsitePage") MysteryWebsitePage() if $profileLink <> '' Then _FFOpenURL($profileLink) sleep(1000) _FFLoadWait() EndIf setStatus("Setting text message.") setTextMessage($sMessage) setStatus("Submitting message.") submitMessage() setStatus("Message has been sent.") For $i=5 to 1 step -1 setStatus("Pause for " & $i & " second(s).") sleep(1000) Next WEnd MsgBox(64,"Success","Process Done!") I use the following: #include <IE.au3> #include <FF.au3> #include<File.au3> #include <FTPEx.au3> #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Thanks.
nitekram Posted February 1, 2017 Posted February 1, 2017 What website? What is the URL? 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator
meatsack Posted February 1, 2017 Author Posted February 1, 2017 I would prefer to keep that confidential.
Moderators Melba23 Posted February 1, 2017 Moderators Posted February 1, 2017 meatsack, Not a topic we are prepared to see discussed on the forum - and your refusal to identify the URL does nothing but make the decision even easier. 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