mIRC Home    About    Download    Register    News    Help

Print Thread
#90168 12/07/04 07:55 AM
Joined: Jul 2004
Posts: 150
D
Debug Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Jul 2004
Posts: 150
Hi,

What do you guys think about adding in the /run command to accept all hosts? Like this:

We always do: /run www.google.com
Why we cant only do /run google.com ? Its more easy and fast.

What do you think about this?

#90169 12/07/04 07:58 AM
Joined: May 2004
Posts: 95
W
Babel fish
Offline
Babel fish
W
Joined: May 2004
Posts: 95
its better/safer to use /url for this, or to run your browser with run and the address as parameter. you dont want to open format.com this way ? smile

#90170 12/07/04 07:59 AM
Joined: Apr 2004
Posts: 66
C
Babel fish
Offline
Babel fish
C
Joined: Apr 2004
Posts: 66
This could lead to security issues. .com is a file extension for DOS executables. Someone could have created a malicious .com file called "google.com" that somehow ended up on your hard drive, and when you do:

/run google.com, mIRC would execute the file, and the malicious executable google.com would run.

It can also conflict with another .com filename that exists on your hard drive.

Ex:

Let's say you want to visit www.format.com , using you're way of doing:

/run format.com

would cause the 'format.com' program to run.

#90171 12/07/04 01:38 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
But someone could also create a file called www.format.com shocked.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#90172 12/07/04 04:12 PM
Joined: Apr 2004
Posts: 66
C
Babel fish
Offline
Babel fish
C
Joined: Apr 2004
Posts: 66
But would it still run because of the extra . ?

#90173 12/07/04 04:26 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Apparently mIRC overrides the filename check when it sees www..


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#90174 12/07/04 04:39 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
You could always live with, /run iexplore.exe mirc.com

Eamonn.


Link Copied to Clipboard