electrico Posted February 24, 2010 Share Posted February 24, 2010 (edited) Look, here is my problem, guys. Here is code, where processlist is captured from remote host, and string 'processL.exe' is searched in logfie that stored in @TempDir, with consequent msgboxes and functions.. If Not _FileReadToArray(@TempDir & '\' & GuiCtrlRead($ipadress) & ".log", $aRecords) Then MsgBox(48, "Cannot capture process list", "Either host is isolated from your network or RPC service is not running on remote host") For $x = 1 to $aRecords If StringInStr ($arecords [$x], "processL.exe") Then Msgbox (64, "+", "ProcessL is running on remote host.") Next Else $askinjection = MsgBox(52, "-", "Probably, the ProcessL is not running on remote host." & @CRLF & "Install it?") If $askinjection = 6 Then injectradmin() Else MsgBox(48, "", "You refused.") EndIf If Not IsArray($askinjection) Then Return SetError(1, 0, 0) EndIf Please help me.. With that code I never get the positive MsgBox, that notify me about existence of "processL.exe" on remote host, always got negative... Any ideas how to correct it? Edited February 24, 2010 by electrico Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now