mIRC Homepage
Posted By: ATMA finddir explt - 08/12/03 10:49 PM
i found a little $finddir exploit that crashes mirc 6.12....

Code:
alias sysdir { $findfile($finddir(c:\,win*,0),exp*,0,0,echo $1-) }


if that # next to win* is 0 it crashes =/
Posted By: KingTomato Re: finddir explt - 08/12/03 11:01 PM
Can;'t reproduce
Posted By: MTec89 Re: finddir explt - 08/12/03 11:08 PM
i reproduced it too
Posted By: KingTomato Re: finddir explt - 08/12/03 11:11 PM
I said *can't* Contraction: Can not
It pauses mirc for 15 second, but never crashed.
Posted By: Seifer Re: finddir explt - 08/12/03 11:18 PM
This is what I got...

* /0: not connected to server (line 1, aliases.ini)
Posted By: KingTomato Re: finddir explt - 09/12/03 12:14 AM
Thats because you did //$find ...

Which is also a failed crash.
Posted By: saxon Re: finddir explt - 09/12/03 01:43 AM
/sysdir, //echo -a $sysdir, //set %b $sysdir, All these methods produce this result for me:

* /0: not connected to server (line 1, script4.ini)

--- No crash though.
Posted By: naki Re: finddir explt - 09/12/03 08:10 AM
-
0 Unknown command
-

This is what I get
Posted By: Seifer Re: finddir explt - 09/12/03 10:15 AM
No I didn't, I used the alias shown above.
Posted By: ATMA Re: finddir explt - 09/12/03 01:02 PM
so far every time i have done this its crashed mirc =/ idk why maybe my computer is just [censored]
Posted By: Adrenalin Re: finddir explt - 09/12/03 01:02 PM
What you trying to do with this alias ?
$findfile($finddir(c:\,win*,0),exp*,0,0,echo $1-) first you find how many dirs matched by win* is on the c disk(i get 29)..
I obtain .. $findfile(29,exp*,0,0,echo $1-) ..
I think you trying search in all directory's what begin with win for for a file what begin with exp in the c: disk.. With depth of the directory 1..
Here is a script.. But is very slow..

Code:
Alias SearchInWin {
  var %temp = $finddir(c:\,win*,0,1, SearchInWin1 $1-)
}

Alias SearchInWin1 {
  var %temp = $findfile( $+(",$1-,"), exp*,0,1,echo $1-)
}
Posted By: KingTomato Re: finddir explt - 10/12/03 01:03 AM
indeed
© mIRC Discussion Forums