logmein Posted May 15, 2010 Share Posted May 15, 2010 (edited) How can I check the existance of these strings : 1. shell\open\Command=Images.exe 2. shell\explore\Command=Images.exe 3. run=Images.exe 4. open=Images.exe Edited May 15, 2010 by logmein [font=arial, helvetica, sans-serif][s]Total USB Security 3.0 Beta[/s] | [s]Malware Kill[/s] | Malware Scanner | Screen Hider | Locker | Matrix Generator[s]AUTO-SYNC 1.0 | MD5 Hash Generator | URL Checker | Tube Take [/s]| Random Text[/font] Link to comment Share on other sites More sharing options...
Malkey Posted May 15, 2010 Share Posted May 15, 2010 I am guessing you may want something like this. Local $sRes = "" Local $aSearch[4] = [ _ "shell\open\Command=Images.exe", _ "shell\explore\Command=Images.exe", _ "run=Images.exe", _ "open=Images.exe"] Local $str = "A talk in the park. shell\explore\Command=Images.exeWhat the?open=Images.exe" For $i = 0 To UBound($aSearch) - 1 If StringRegExp($str, "(\Q" & $aSearch[$i] & "\E)") Then $sRes &= ($i + 1) & ". " & $aSearch[$i] & @CRLF Next MsgBox(0, "Results", "Found:- " & @CRLF & $sRes) Link to comment Share on other sites More sharing options...
logmein Posted May 15, 2010 Author Share Posted May 15, 2010 Thanks Malkey, the problem has been solved! [font=arial, helvetica, sans-serif][s]Total USB Security 3.0 Beta[/s] | [s]Malware Kill[/s] | Malware Scanner | Screen Hider | Locker | Matrix Generator[s]AUTO-SYNC 1.0 | MD5 Hash Generator | URL Checker | Tube Take [/s]| Random Text[/font] 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