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

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Creating Publicly Accessible Files on your Domain Names
PostPosted: Fri Jan 11, 2008 7:24 am 
Site Admin
User avatar

Joined: Wed Dec 26, 2007 12:19 am
Posts: 308
Location: Australia
You have files on the file system of your domain name.

Normally, these are private files. When your files are private, there is no way to share them with others. However:

You can make a file public, simply by putting the keyword 'public' in the file, at the very top of the file which you want to make public.

For example, if this is your file:

Code:
i am going to h4x0r you
soon, just wait
lolz


You can make the file public to the world by changing it to:

Code:
PUBLIC
i am going to h4x0r you
soon, just wait
lolz



Note! Although this file will be public, no one will know it exists, unless you tell them, or use it in a script.


Using public files in your script

Public files can only be accessed with the ServerFileDownload(domain, filename) function.

Example:

Code:
$filetext = serverFileDownload(matrix.com,logins.txt)
WAITFOR $filetext
SAY The file data is displayed below
SAYALL $filetext

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


Offline
 Profile  
 
 Post subject: Re: Creating Publicly Accessible Files on your Domain Names
PostPosted: Fri Jan 11, 2008 7:32 am 
Developer
User avatar

Joined: Sat Dec 29, 2007 10:15 am
Posts: 946
Location: Australia
I assume files are private by default?

I was going to suggest subowners have an extra attribute for port. But maybe this is a better way.. actualy.. na.. Ill still suggest that.. But this is pretty cool anyway

_________________
Image


Offline
 Profile  
 
 Post subject: Re: Creating Publicly Accessible Files on your Domain Names
PostPosted: Fri Jan 11, 2008 7:37 am 
Site Admin
User avatar

Joined: Wed Dec 26, 2007 12:19 am
Posts: 308
Location: Australia
BigBob85 wrote:
I assume files are private by default?

I was going to suggest subowners have an extra attribute for port. But maybe this is a better way.. actualy.. na.. Ill still suggest that.. But this is pretty cool anyway


Yeah. It is interesting now that you could also write scanners for public files that have certain file names!

:D

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


Offline
 Profile  
 
 Post subject: Re: Creating Publicly Accessible Files on your Domain Names
PostPosted: Fri Jan 11, 2008 7:43 am 
Developer
User avatar

Joined: Sat Dec 29, 2007 10:15 am
Posts: 946
Location: Australia
:D, possible to scan for *.* ? :P

EDIT : neva mind, dont think that command supports wild card characters.

_________________
Image


Offline
 Profile  
 
 Post subject: Re: Creating Publicly Accessible Files on your Domain Names
PostPosted: Fri Jan 11, 2008 8:52 am 

Joined: Tue Jan 01, 2008 4:45 am
Posts: 42
nice :)


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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