It is currently Thu Sep 09, 2010 8:11 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Adding Extra Security to Your Scripts
PostPosted: Mon Jan 14, 2008 2:14 am 
Site Admin
User avatar

Joined: Wed Dec 26, 2007 12:19 am
Posts: 308
Location: Australia
This feature is available in version 0.75 and onwards.

You can add extra security for your scripts by enabling encoding for important lines. For example, if you have the following script on matrix.com:

Code:
SAY connected to the MATRIX
$pass = input(Enter your password?)

IF $pass = secret123 THEN
//do something
END IF


... you can see that the password, secret123, is transmitted in plain text.

You can add a ^ character to the start of any line, and DSO will automatically encode these lines. This means that they are protected from packet sniffing and other network tools, further increasing the security of your domain name.

Here is the script with the ^ characters added to the secure lines:

Code:
SAY connected to the MATRIX
$pass = input(Enter your password?)

^IF $pass = secret123 THEN
^//do something
^END IF


The lines beginning with ^ will be encoded during transmission, when they are uploaded to one of your domains and someone CONNECTs to them.

Note: You can use this trick on entire scripts, however it may reduce the speed on larger scripts.

The encode entire scripts, simply add
^all
near the top of your script.

Example:

Code:
^all
SAY connected to the MATRIX
$pass = input(Enter your password?)

IF $pass = secret123 THEN
//do something
END IF


...then the entire script will be encoded.

_________________
The #1 Dark Signs Online Coder
Email me: terminal@darksignsonline.com


Offline
 Profile  
 
 Post subject: Re: Adding Extra Security to Your Scripts
PostPosted: Mon Jan 14, 2008 2:44 pm 
User avatar

Joined: Fri Jan 11, 2008 8:27 pm
Posts: 22
Woot, thats a nice thing :D


Offline
 Profile  
 
 Post subject: Re: Adding Extra Security to Your Scripts
PostPosted: Mon Jan 14, 2008 3:34 pm 

Joined: Sat Dec 29, 2007 4:29 pm
Posts: 101
I tested this, and it works awesome, if you are careful.

However, something about the new updates killed some of my scripts, so I will have to figure out what...

_________________
Meltdown
XKCD
"I hope Microsoft can catch some of the criminals that are taking advantage of people." - Genuine Person on Genuine Advantage


Offline
 Profile  
 
 Post subject: Re: Adding Extra Security to Your Scripts
PostPosted: Mon Jan 14, 2008 4:50 pm 
User avatar

Joined: Mon Dec 31, 2007 8:02 am
Posts: 88
Location: Austria
Wow, great feature!
So no one could find out the password with packet sniffing ^__^

_________________
~~ Sorry for my - eventually - broken english! I'm from Austria ;)
I hope, I see the 'format c:'-Command included xD


Offline
 Profile  
 
 Post subject: Re: Adding Extra Security to Your Scripts
PostPosted: Mon Jan 14, 2008 6:19 pm 
User avatar

Joined: Fri Jan 11, 2008 8:27 pm
Posts: 22
I guess i found a bug. The following seems to be broken:

^SERVER APPEND ...


Offline
 Profile  
 
 Post subject: Re: Adding Extra Security to Your Scripts
PostPosted: Tue Jan 15, 2008 1:05 am 
Site Admin
User avatar

Joined: Wed Dec 26, 2007 12:19 am
Posts: 308
Location: Australia
Moeppel wrote:
I guess i found a bug. The following seems to be broken:

^SERVER APPEND ...



I updated the server, try this now!

_________________
The #1 Dark Signs Online Coder
Email me: terminal@darksignsonline.com


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
 
cron