mIRC Home    About    Download    Register    News    Help

Print Thread
Opening homepages #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?

Re: Opening homepages #90169 12/07/04 07:58 AM
Joined: May 2004
Posts: 95
W
wiebe Offline
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

Re: Opening homepages #90170 12/07/04 07:59 AM
Joined: Apr 2004
Posts: 66
C
Cyrex Offline
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.

Re: Opening homepages #90171 12/07/04 01:38 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
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.
Re: Opening homepages #90172 12/07/04 04:12 PM
Joined: Apr 2004
Posts: 66
C
Cyrex Offline
Babel fish
Offline
Babel fish
C
Joined: Apr 2004
Posts: 66
But would it still run because of the extra . ?

Re: Opening homepages #90173 12/07/04 04:26 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
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.
Re: Opening homepages #90174 12/07/04 04:39 PM
Joined: Dec 2002
Posts: 788
C
Coolkill Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
You could always live with, /run iexplore.exe mirc.com

Eamonn.