JohnOne Posted June 24, 2010 Share Posted June 24, 2010 So why are you avoiding answering the question? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 24, 2010 Share Posted June 24, 2010 (edited) WinClose(), ProcessClose(), ControlSend("WinTitle", "", "!{F4}"), _IEAttach() followed by _IEQuit(), etc. There are many ordinary ways to close IE that don't involve this suspicious garbage. Edited June 24, 2010 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
GEOSoft Posted June 24, 2010 Share Posted June 24, 2010 But it's not malicious! Why can't you believe me? I don't care if it's sounds like it, but it's really not malicious!Can you help me please?Forcing IE to close is one thing, causing it to crash is something totally different. The word crash was a direct quote from you. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Battery Posted June 24, 2010 Author Share Posted June 24, 2010 I meant quit/exit, I don't know what's the difference. Anyways, my brother gave me this misson, I have to do this with DLL, I managed to do it, but if I want to tell the DLL to do it from the exe, can I do it? Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 24, 2010 Share Posted June 24, 2010 YOU coded this DLL, on a "mission" from your brother, then YOU successfully injected it, yet now you don't know how to make a call to it?The bovine scat flag is waving furiously... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Andreik Posted June 24, 2010 Share Posted June 24, 2010 I meant quit/exit, I don't know what's the difference. Anyways, my brother gave me this misson, I have to do this with DLL, I managed to do it, but if I want to tell the DLL to do it from the exe, can I do it? If you try just to close a window using a dll, use DestroyWindow() from user32.dll DllCall("user32.dll","int","DestroyWindow","hwnd",$hWnd) PS: $hWnd is the window handle When the words fail... music speaks. Link to comment Share on other sites More sharing options...
JohnOne Posted June 24, 2010 Share Posted June 24, 2010 Send in a note from your brother. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Battery Posted June 24, 2010 Author Share Posted June 24, 2010 Come on, I did manage to inject it, but just explain me how to use DllCall on it please? Can you do it on a inejcted dll? Link to comment Share on other sites More sharing options...
Bert Posted June 24, 2010 Share Posted June 24, 2010 What did you do to inject it? Screenshots please. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
GEOSoft Posted June 24, 2010 Share Posted June 24, 2010 You've already been given an example of how to make a DLL call. Now you come to the next problem None of us have the dll of which you speak, that dll will have certain calls and we don't know what those will be, so I'll go out on a limb here and say that the following probably won't do it DllCall("MyDLL.dll", int, "CorrectCall") George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Battery Posted June 24, 2010 Author Share Posted June 24, 2010 But can you use DllCall on a running dll? (Not like in the same folder of the script or something, it's running) Link to comment Share on other sites More sharing options...
GEOSoft Posted June 24, 2010 Share Posted June 24, 2010 I don't know how you managed to inject that DLL when you are obviously in way over your head. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Battery Posted June 24, 2010 Author Share Posted June 24, 2010 I'm using a simple dll injector, can you now help me please? I hope I'm not annoying you with this stuff, and I know you think it's malicious, but it's not! Can you please tell me if I can use DllCall on a (running/injected) dll and how? Thank you guys, I really appreciate it, and sorry for my bad english. Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 24, 2010 Share Posted June 24, 2010 Check this simple example by Richard Robertson.He already had the dll, however he managed to make it. Link to comment Share on other sites More sharing options...
Battery Posted June 24, 2010 Author Share Posted June 24, 2010 Yeah I saw this one already, I searched all the forums for a solution. The new question is: Can you please tell me if I can use DllCall on a (running/injected) dll and how? Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 Can you answer please? What can I use to tell an injected dll to run a function. Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 25, 2010 Share Posted June 25, 2010 If you know how to inject it, you should already know how to call a function since it requires calling functions in the remote process to inject it in the first place. Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 But I didn't inject it with autoit! And I don't know how to call the dll function which is already inside the process! Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 25, 2010 Share Posted June 25, 2010 I don't remember if I actually said this or not but unless you know exactly how the function was injected, there's no way you can know how to call it. There are way too many ways and guessing will not work. Link to comment Share on other sites More sharing options...
Bert Posted June 25, 2010 Share Posted June 25, 2010 (edited) Battery, Is there a reason why you are so vague? Edited June 25, 2010 by Volly The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts