DSChaos Posted August 17, 2014 Share Posted August 17, 2014 Hello, I'm working on a project, however, I came across a small problemma do not know how I can do to remove a string autoit html in a web page (in my case shell.explorer). I just need to know how I could do. Thanks to all who respond to the topic, good evening . (sorry for my bad english, but i have used google translate) Link to comment Share on other sites More sharing options...
careca Posted August 17, 2014 Share Posted August 17, 2014 Welcome, if you have the source i think you can treat it as a normal txt file, and work your way from there. Can't help without more information, what page is it? do you really mean "remove", or do you mean retrieve? what have you tried so far? Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
DSChaos Posted August 18, 2014 Author Share Posted August 18, 2014 Hello, I'm interested on how to remove a string html of a web page, I need to create a pograma that removes the survey that block web pages. For now I tried _IEAction, but with no results (I'm not sure that's right) Link to comment Share on other sites More sharing options...
corgano Posted August 18, 2014 Share Posted August 18, 2014 _IEbodyread, replace the code (stringreplace? stringregexpreplace?), and then _IEbodywrite might work However if you're using a newer version of IE, you can hit F12, and a window will pop up. click on the mouse pointer image at the top of this window, and then click on the survey part in IE - it should select it and show it in the other window. Hit delete, and it will be removed. Keep hitting delete until all the crap blocking the screen is gone. If you go to far, just refresh the page and try again. But there's a problem, If you're trying to bypass the survey on a survey download site, this does not work - It uses some other mechanism like a cookie or something server side to determine if you did the survey bullshit or not. Even if you somehow remove the survey popup that blocks everything off, chances are the buttons behind it won't do anything or will lead you to some advertizing instead. I would never download something from one of those sites regardless. 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
DSChaos Posted August 18, 2014 Author Share Posted August 18, 2014 Thanks for the reply, however, the survey will be to remove these type :http://www.thecompletewebs.net/2014/06/malwarebytes-anti-malware-premium-v2-0-2-1012-pro-v1-75-0-1300-final-full/ the survey only locks the page, and on this page Sarano written only links and not buttons or anything else. p.s the link is only for example. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 18, 2014 Moderators Share Posted August 18, 2014 Hi,Two people have reported this thread as "bypassing security measures" in the past few minutes. I do not see it as that at all - the survey in the example page is not a "security measure" - it is an advertisement and an annoyance. 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 Link to comment Share on other sites More sharing options...
DSChaos Posted August 18, 2014 Author Share Posted August 18, 2014 xD, Thanks for the information, they certainly have never met the survey. Link to comment Share on other sites More sharing options...
MikahS Posted August 18, 2014 Share Posted August 18, 2014 (edited) So the survey is the same, but that is not the correct page (the example link)? Edited August 18, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
DSChaos Posted August 18, 2014 Author Share Posted August 18, 2014 @Wayfarer : Esactly? @any people : The survey is put here only for esample, and not for help me to bypass,Otherwise me alone I bypass I just asked how to MAKE A AUTOIT3 to remove the html string. Link to comment Share on other sites More sharing options...
ripdad Posted August 18, 2014 Share Posted August 18, 2014 That page has a "Cracked" commercial program for download... Malwarebytes Anti-Malware Premium v2.0.2.1012/ Pro v1.75.0.1300 – Final – FULL • Incl. Serials-FFF/Keygen-FFF/Keygen-RED "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward Link to comment Share on other sites More sharing options...
MikahS Posted August 18, 2014 Share Posted August 18, 2014 Just asking since the link you gave us is to an illegal download...... Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
DSChaos Posted August 18, 2014 Author Share Posted August 18, 2014 A ME NOT WANT THE DOWNLOAD! THE SOFTWARE OR LESS BEHIND THE SURVEY! INFORMATIONAL PURPOSES ONLY AND PUT! I want to know how can I do to eliminate the strings autoit html and stop! So that I can create a software that bypasses the survey as those. Link to comment Share on other sites More sharing options...
MikahS Posted August 18, 2014 Share Posted August 18, 2014 (edited) Calm down buddy, I'm trying to figure out what your trying to do between your broken English. #include <IE.au3> #include <INet.au3> $HTML = _INetGetSource("www.google.com") $HTML = StringRegExpReplace($HTML, "<img.*?>", "") $oIE = _IECreate("www.google.com", 0,0,1) _IEBodyWriteHTML($oIE,$HTML) _IEAction($oIE, "visible") There now change the url to the one you want, find the line that creates the survey and replace it with the call to StringRegExpReplace and then recreate it. This was found from this >link as the first link from a google search.. EDIT: YOU will have to know the line that creates the survey, then put that into the second parameter of StringRegExpReplace and you should be good.. Edited August 18, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
DSChaos Posted August 18, 2014 Author Share Posted August 18, 2014 1) thanks for helping wayfarer 2) sorry but i use google translate for speak (lool) 3) i search: how to eliminate (only eliminate) a determinate html strings and stop Link to comment Share on other sites More sharing options...
MikahS Posted August 18, 2014 Share Posted August 18, 2014 (edited) @DSChaos no problem please let me know if you need more help EDIT: When I did my google search I did "replace html autoit" Edited August 18, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
DSChaos Posted August 18, 2014 Author Share Posted August 18, 2014 xD thanks MikahS Link to comment Share on other sites More sharing options...
MikahS Posted August 18, 2014 Share Posted August 18, 2014 no problem Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
mikell Posted August 18, 2014 Share Posted August 18, 2014 As an example for MikahS' solution and a test, just try this : - get the source code from the page you mentioned in post #5 - create a local "test.html" file and put the code inside - remove these 2 lines : <script src="http://www.loxtk.com/gLoader.php?GID=1878&go=&sid=" type="text/javascript"></script> <script type="text/javascript">if (!awm) { window.location = 'http://loxtk.com/help/removeAB.php'; }</script> - run the html file Link to comment Share on other sites More sharing options...
MikahS Posted August 18, 2014 Share Posted August 18, 2014 Thank you mikell, that is perfect way of testing. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
mikell Posted August 18, 2014 Share Posted August 18, 2014 (edited) MikahS, The main concept is in your code Maybe using a Shellexecute on the html can be lighter than running the _IE* funcs A very raw illustration : $txt = BinaryToString(InetRead("http://www.thecompletewebs.net/2014/06/malwarebytes-anti-malware-premium-v2-0-2-1012-pro-v1-75-0-1300-final-full/")) $txt = StringRegExpReplace($txt, '(?s)<script.*?loxtk.*?/script>', "") FileWrite("1.html", $txt) ShellExecute("1.html") Edited August 18, 2014 by mikell Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now