mIRC Home    About    Download    Register    News    Help

Topic Options
#63383 - 08/12/03 10:49 PM finddir explt
ATMA Offline
Fjord artisan

Registered: 10/12/02
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 =/


Edited by ATMA (08/12/03 10:51 PM)
_________________________
Need amazing web design for low price: http://www.matrixn3t.net

Top
#63384 - 08/12/03 11:01 PM Re: finddir explt
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
Can;'t reproduce
_________________________
-KingTomato

Top
#63385 - 08/12/03 11:08 PM Re: finddir explt
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
i reproduced it too
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#63386 - 08/12/03 11:11 PM Re: finddir explt
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
I said *can't* Contraction: Can not
It pauses mirc for 15 second, but never crashed.
_________________________
-KingTomato

Top
#63387 - 08/12/03 11:18 PM Re: finddir explt
Seifer Offline
Fjord artisan

Registered: 11/11/03
Posts: 228
Loc: Melbourne, Australia
This is what I got...

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

Top
#63388 - 09/12/03 12:14 AM Re: finddir explt
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
Thats because you did //$find ...

Which is also a failed crash.
_________________________
-KingTomato

Top
#63389 - 09/12/03 01:43 AM Re: finddir explt
saxon Offline
Fjord artisan

Registered: 28/04/03
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.

Top
#63390 - 09/12/03 08:10 AM Re: finddir explt
naki Offline
Vogon poet

Registered: 24/02/03
Posts: 143
Loc: Florida
-
0 Unknown command
-

This is what I get
_________________________
We don't just write the scripts, we put them to the test! (ScriptBusters)

Top
#63391 - 09/12/03 10:15 AM Re: finddir explt
Seifer Offline
Fjord artisan

Registered: 11/11/03
Posts: 228
Loc: Melbourne, Australia
No I didn't, I used the alias shown above.

Top
#63392 - 09/12/03 01:02 PM Re: finddir explt
ATMA Offline
Fjord artisan

Registered: 10/12/02
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

Top
#63393 - 09/12/03 01:02 PM Re: finddir explt
Adrenalin Offline
Fjord artisan

Registered: 18/04/03
Posts: 414
Loc: Moldova
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-)
}


Edited by Adrenalin (09/12/03 01:24 PM)
_________________________
mIRC Chm Help 6.16.0.3 Full Anchored!

Top
#63394 - 10/12/03 01:03 AM Re: finddir explt
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
indeed


Edited by KingTomato (10/12/03 01:03 AM)
_________________________
-KingTomato

Top