DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd January 2009
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Thanked 6 Times in 6 Posts
Default BSD hackers game!

Hello, mates!

Here's what I'm intending to do... I'm currently running a website aimed at BSD for the Bulgarian users, where I and other people are translating and writing howtos primarily for BSD.

Anyway writing and reading documentation for people like me and you is a daily task, but I want to make the whole process of learning the BSD systems a little more interesting for the beginners - learning while using the BSD systems - a hackers game!

What I'm thinking of is using a virtual BSD system, where the users use ssh to connect to the system - when a new user registers he receives a login name and a password - for example login name level1 (level2, level3, etc... according to the level they are on) and a password for the correct level.

Each level requires more advanced skills of BSD - for example using the basic tools, pipes, redirecting, using exploits, ssh tunnels, and even at the last levels writing a simple C/C++ code or shell scripts in order to accomplish the task for completing the level. With each level the tasks are getting harder and harder and this way the users will be stimulated to start reading and searching for information on how to get to the next level while learning BSD.

Once upon a time there was such a site - Hackerslab.org - now I think it is down.

Anyway what do you think of the idea, where to start from? I'm looking forward for any suggestions and feedback.

Cheers,
DNAeon
__________________
"I never think of the future. It comes soon enough." - A.E

Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org
Reply With Quote
  #2   (View Single Post)  
Old 23rd January 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Looks like you found the wrong site; what you want is ubuntuforums.org.
Reply With Quote
  #3   (View Single Post)  
Old 23rd January 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

You can also use something like that:
http://www.masswerk.at/jsuix/
http://billyreisinger.com/jash/
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #4   (View Single Post)  
Old 23rd January 2009
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Thanked 6 Times in 6 Posts
Default

@BSDfan666
I don't think that you got the point, BSDfan666.
I do believe that this is the right place I have posted this topic, since it is BSD related, and not Linux!

@vermaden
Thanks for the links, vermaden! There are really interesting things on these links, that I have not seen before.

But what do you think about creating the game from scratch? Using php/mysql I could write some web interface, and also I can track which user has accomplished a level, who did it the fastest, etc. But this is the easy part.

The hardest part I think would be to make the levels - to create the exploits in the system, the tasks which needs to be accomplished and so on..

Of course for security reasons the virtual system which the game will be running on will allow only incoming connections and no outgoing.

So what do you think - is it worth doing such a game or it is a waste of time?

Thanks!
__________________
"I never think of the future. It comes soon enough." - A.E

Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org
Reply With Quote
  #5   (View Single Post)  
Old 24th January 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

I think games are a good way to learn things, but they have to be entertaining and self-contained. Just like typing games have to be somewhat amusing and guide the typist in their quest. Even still, the person who uses a typing game must have some sort of ambition to learn how to type.

If one has to read documentation to complete your game, I don't think it will get much attention. Let's face it...if people aren't willing to read documentation or use Google and then post somewhat basic questions on this forum for their real-life problems, they probably aren't going to do so for a game.

There would also be a heck of a lot of topics to cover, so keeping the levels concise would be important or the game could go on forever. I've been using FreeBSD as a desktop for over 5 years and I learn new things every day. That said, I would steer clear of programming languages as part of a BSD intro, especially C/C++.

Good luck!
Reply With Quote
  #6   (View Single Post)  
Old 24th January 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by DNAeon View Post
@vermaden
Thanks for the links, vermaden! There are really interesting things on these links, that I have not seen before.

But what do you think about creating the game from scratch? Using php/mysql I could write some web interface, and also I can track which user has accomplished a level, who did it the fastest, etc. But this is the easy part.

The hardest part I think would be to make the levels - to create the exploits in the system, the tasks which needs to be accomplished and so on..

Of course for security reasons the virtual system which the game will be running on will allow only incoming connections and no outgoing.

So what do you think - is it worth doing such a game or it is a waste of time?
If you have time and skills it will be great idea, check BSDA certification for example exercises, imho using jash or other javascript/ajax sollution with you php/mysql backend, imho better use postgresql backend with django, itd far far better sollution then php and mysql.

level, imho start from basics, find that and that, enable that and that, and so.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #7   (View Single Post)  
Old 25th January 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

There should be a shell-over-ajax projects somewhere. You'll find most of the heavy lifting has been done for you already.
Remember 'write' and 'talk' - two ways for persons to communicate. Nice ways for the mighty sysadmin to praise you for working out how you use 'echo', or express his annoyance over your misuse of 'sudo'.
While I see the point of it being self-contained, the main thing a BSD user needs to learn is where to find his answers - handbook, mailing lists, google, forum searches, etc. Search first, Try second, Search third, try fourth, bug someone else fifth!

Oh, Edit: Don't forget that there are more than two ways to do anything: Try hard not to penalize someone who does something with awk, when you thought of sed. Check out the recent thread on 'renaming files with sed' to see this in action. Your students will probably find better ways to accomplish a task than you did - don't fail them when they do!
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.

Last edited by robbak; 25th January 2009 at 01:39 AM.
Reply With Quote
  #8   (View Single Post)  
Old 25th January 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

I believe there is a web based 'shell' interface written in PHP somewhere, Found it:link. But I'm not sure how much use it would be.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #9   (View Single Post)  
Old 2nd August 2009
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 270
Thanked 23 Times in 23 Posts
Default

Quote:
Originally Posted by vermaden View Post
There's a similar one for vi alone. I though I would share the link.
http://gpl.internetconnection.net/vi/
__________________
May the source be with you!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick