mIRC Home    About    Download    Register    News    Help

Print Thread
finddir explt #63383 08/12/03 10:49 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
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 =/

Last edited by ATMA; 08/12/03 10:51 PM.

Need amazing web design for low price: http://www.matrixn3t.net
Re: finddir explt #63384 08/12/03 11:01 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Can;'t reproduce


-KingTomato
Re: finddir explt #63385 08/12/03 11:08 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
i reproduced it too


http://MTec89Net.com
irc.freenode.net #MTec89Net
Re: finddir explt #63386 08/12/03 11:11 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I said *can't* Contraction: Can not
It pauses mirc for 15 second, but never crashed.


-KingTomato
Re: finddir explt #63387 08/12/03 11:18 PM
Joined: Nov 2003
Posts: 228
S
Seifer Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
This is what I got...

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

Re: finddir explt #63388 09/12/03 12:14 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Thats because you did //$find ...

Which is also a failed crash.


-KingTomato
Re: finddir explt #63389 09/12/03 01:43 AM
Joined: Apr 2003
Posts: 210
S
saxon Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
/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.

Re: finddir explt #63390 09/12/03 08:10 AM
Joined: Feb 2003
Posts: 143
N
naki Offline
Vogon poet
Offline
Vogon poet
N
Joined: Feb 2003
Posts: 143
-
0 Unknown command
-

This is what I get


We don't just write the scripts, we put them to the test! (ScriptBusters)
Re: finddir explt #63391 09/12/03 10:15 AM
Joined: Nov 2003
Posts: 228
S
Seifer Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
No I didn't, I used the alias shown above.

Re: finddir explt #63392 09/12/03 01:02 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
so far every time i have done this its crashed mirc =/ idk why maybe my computer is just [censored]


Need amazing web design for low price: http://www.matrixn3t.net
Re: finddir explt #63393 09/12/03 01:02 PM
Joined: Apr 2003
Posts: 414
Adrenalin Offline
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
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-)
}

Last edited by Adrenalin; 09/12/03 01:24 PM.

mIRC Chm Help 6.16.0.3 Full Anchored!
Re: finddir explt #63394 10/12/03 01:03 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
indeed

Last edited by KingTomato; 10/12/03 01:03 AM.

-KingTomato