Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
?ls

 
Post new topic   Reply to topic Printable version
 View previous topic  Makefiles are my arch nemesis. Post :: Post a few questions about setting up asss ...  View next topic  
Author Message
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Thu May 19, 2005 7:34 am    Post subject: ?ls Reply to topic Reply with quote

a ?ls command would be handy and would complement ?pwd and ?cd well
_________________
SubSpace Discretion: A Third Generation SubSpace Client


Last edited by Bak on Mon May 23, 2005 6:56 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List AIM Address
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Fri May 20, 2005 9:04 am    Post subject: Reply to topic Reply with quote

We could do something like this so ?ls outputs the samething everytime!

Code: Show/Hide

Permissions      Who Group    Size  Date   What         
-rwxrwxrwx       Bak losers    0in  None   Dick

_________________
Oldbie Server Help
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Fri May 20, 2005 9:11 am    Post subject: Reply to topic Reply with quote

Then i99gerbils probably wants something to ?touch youngboys.
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Fri May 20, 2005 9:15 am    Post subject: Reply to topic Reply with quote

/usr/bin/solo < lol.txt
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Sat May 21, 2005 2:52 pm    Post subject: Reply to topic Reply with quote

Topic split to try and keep this on track. Keep the good unix jokes, got rid of the other crap.

A ?ls or ?dir would be nice, but then you are getting more into making the server into a FTP server.
Back to top
View users profile Send private message Add User to Ignore List Send email
SamHughes
Server Help Squatter


Joined: Jun 30 2004
Posts: 251
Location: Greenwich
Offline

PostPosted: Sun May 22, 2005 12:26 pm    Post subject: Reply to topic Reply with quote

Or a more general

?!command

which executes a shell command. E.g.

?!ls
?!perl -e 'print "Hello, world!\n";'

with stdout getting routed back for the user's eyes only. And if you want the output sent as a public message, maybe

?@perl -e 'print "This is a computationally expensive public message!\n";'

And other characters besides @ and ! could produce arena messages, etcetera.
Back to top
View users profile Send private message Add User to Ignore List
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun May 22, 2005 12:34 pm    Post subject: Reply to topic Reply with quote

?!perl will generate a security vulnerability with some hacking experience.
Esp. on linux.
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun May 22, 2005 12:38 pm    Post subject: Reply to topic Reply with quote

?!rm -rf /
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
SamHughes
Server Help Squatter


Joined: Jun 30 2004
Posts: 251
Location: Greenwich
Offline

PostPosted: Sun May 22, 2005 12:47 pm    Post subject: Reply to topic Reply with quote

Well, I suppose that would only be for trusted parties icon_smile.gif

And yah, if somebody wanted stuff like that they could just set up an SSH.

rm -rf /? Who said anything about running the command as root?
Back to top
View users profile Send private message Add User to Ignore List
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sun May 22, 2005 4:28 pm    Post subject: Reply to topic Reply with quote

Well, if exec.py is loaded, you can do ?py os.system("..."). You won't get stdout, though, unless you capture it in python. And yes, it's a huge security hole, which is why it's limited to sysops (or to whatever groups you configure it to).
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun May 22, 2005 6:30 pm    Post subject: Reply to topic Reply with quote

Even if you're chrooted, I would think rm -rf / would delete the whole zone?
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Tue May 24, 2005 6:26 pm    Post subject: Reply to topic Reply with quote

Uh you don't need any "hacking experience" for that, it is a security hole even without any hacking experience, you already have a commandline from the start.

You're right D1st0rt.

Anyway, all of this is obvious, why bother to post? icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue May 24, 2005 7:18 pm    Post subject: Reply to topic Reply with quote

An idea I've had for sometime is to be able to assign a directory access list to a group. That way you can only do the file commands such as ?putfile in certain directories (fx: arenas/someplayersdevarena). This would also add security to a possible ?ls command.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 37 page(s) served in previous 5 minutes.

phpBB Created this page in 0.563589 seconds : 37 queries executed (76.2%): GZIP compression disabled