ricky Posted May 20, 2014 Share Posted May 20, 2014 Hello, I create a program to execute hijackthis, I want to copy the text from the log file and paste immediatly on the website : http://www.hijackthis.de/en and press the bouton analyse. How can I do that? Thanks for your help. Link to comment Share on other sites More sharing options...
orbs Posted May 20, 2014 Share Posted May 20, 2014 FileRead() will give you the text from the log file; then use the IE UDF to upload the content to the website and click the button. what have you tried so far? Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
ricky Posted May 20, 2014 Author Share Posted May 20, 2014 Hello, thanks, but my problem is not the fileread, but to paste in the website and press automaticly the button. I'm trying to paste in a web browser, But I don't know how to start! Link to comment Share on other sites More sharing options...
orbs Posted May 20, 2014 Share Posted May 20, 2014 (edited) did you see this:? use the IE UDF to upload the content to the website and click the button. assume the website is a form, start with this to get the form elements: _IEFormElementGetCollection then use this to put the text in: _IEFormElementSetValue follow the examples, have a look at some other IE commands, let us know how you get along. EDIT: but before that, check if the utility that generates the report has a built-in feature to upload it for analysis. Edited May 20, 2014 by orbs Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
ricky Posted May 20, 2014 Author Share Posted May 20, 2014 I found my solution, thanks for your help : $oIE = _IECreate("http://www.hijackthis.de/en") $oForm = _IEFormGetCollection($oIE, 0) $oQuery = _IEFormElementGetCollection($oForm, 2) _IEFormElementSetValue($oQuery, $string) _IEFormSubmit($oForm) 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