Humper Posted October 17, 2008 Share Posted October 17, 2008 Hello this is what I want to do: #1, Read sourcecode from a site (www.*.com/ulid_k.php) #2, Seach for specified term (in my case ulid=) #3, Get the numbers that after the ulid= #4, Seach for all thats the same and don't record the once with no numbers after. #5, Get (if possible minimized) firefox and write www.*.com/view.php?ulid= and get one of the numbercodes and set them after the =. #6, Do the same with all found numbercodes. #7, write message how many clicked (get script somewhere) I wonder how to do this IF its possible. Thanks in advance! Regards Humper [center][/center] Link to comment Share on other sites More sharing options...
jokke Posted October 17, 2008 Share Posted October 17, 2008 (edited) #1, Read sourcecode from a site (www.*.com/ulid_k.php) If this was possible then the use of the system itself has failed. If you want to read the source from a server you would need a backdoor, and this is not the place to take that discussion. EDIT: Are you sure you mean the php source code, or the html output ? Edited October 17, 2008 by jokke UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
BrettF Posted October 17, 2008 Share Posted October 17, 2008 #1, Read sourcecode from a site (www.*.com/ulid_k.php)If this was possible then the use of the system itself has failed. If you want to read the source from a server you would need a backdoor, and this is not the place to take that discussion.EDIT: Are you sure you mean the php source code, or the html output ?By the looks of the post, it seems to be HTML output? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
jokke Posted October 17, 2008 Share Posted October 17, 2008 By the looks of the post, it seems to be HTML output?Yeah, after i thought for a while i thought so aswell.Well then what he requested should be possible. UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
Zedna Posted October 17, 2008 Share Posted October 17, 2008 Look at IE UDF in AutoIt's helpfile. There are functions for that: _IECreate(), _IEBodyReadHTML(), _IEBodyReadText(), ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Humper Posted October 17, 2008 Author Share Posted October 17, 2008 (edited) Look at IE UDF in AutoIt's helpfile. There are functions for that: _IECreate(), _IEBodyReadHTML(), _IEBodyReadText(), ... Great, exactly what I ment, I will reply here later when I read a bit. Thanks! Ok I start slow: #include <IE.au3> $oIE = _IEcreate ("http://slopsbox.com/") $sText = _IEBodyReadText ($oIE) MsgBox(0, "Body Text", $sText) But how I get the links? Now I got little ow I read the body, but I want to read body and seach for a frase? #include <IE.au3> $oIE = _IEcreate ("http://slopsbox.com/") $sText = _IEBodyReadText ($oIE) $oMarquee = _IEGetObjByName ($oIE, "the") MsgBox(0, "the", $oMarquee.innerText) Thats what I got from help file tho I get error at innertext. Edited October 17, 2008 by Humper [center][/center] Link to comment Share on other sites More sharing options...
Zedna Posted October 17, 2008 Share Posted October 17, 2008 Look at StringRegExp() and/or _IEFormElementGetCollection() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Humper Posted October 17, 2008 Author Share Posted October 17, 2008 Look at StringRegExp() and/or _IEFormElementGetCollection()Could you make an example due I don't really get the helpfile.Regards Humper [center][/center] Link to comment Share on other sites More sharing options...
Zedna Posted October 17, 2008 Share Posted October 17, 2008 Could you make an example due I don't really get the helpfile.Regards HumperNo. Helpfile is full of nice examples. Resources UDF ResourcesEx UDF AutoIt Forum Search 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