Are there any games that I can play that allow me to use things I've learned while programming to hack (not for real, just in the game). I found Slavehack but don't really like it; does anyone know of any others?
I play StackOverflow. My average daily score is 154.
Edit: yes, I've been playing for 27 days.
I don't have a link but IIRC there is a website somewhere where the game is to find how to get the the next page. Some pages you just click in the right spot, some you need to muck with the URL, I'd bet some even make you write an HTML page with the right form elements in it.
The Python Challenge is a entertaining series of programming riddles, not only for Python programmers.
For the SQL aficionado, there's mySQLgame. The teaching point is that it's written on the Google App Engine.
For the mathematically inclined, Project Euler is worthwhile.
I third the Core Wars suggestion.
I'm not sure if I'm allowed to post this, but there's a popular site called hts (hackthis ....). You'll have to work it out.
It's built up of different missions where you use SQL, Unix, and other different exploits to advance to the next level by finding the password.
They also set-up fake scenarios where you have to hack a website to change the outcome of a poll, etc ...
It's all good fun if you don't use the knowledge for the wrong reasons.
You can actually learn quite a bit from the "other side" in terms of how to better secure your website and what have you.
Try to Hack was pretty interesting last time I tried it.
Hint: Once you get started, view the source.
one PC game for fun which anyone can play not just programmers.hackers is uplink. (ok its not realistic but its a hacking game non the less)
I loved the original 1984 ChipWits for the Mac, and there is a recent Windows port as well as a new version in the works. You program a robot by laying out logic elements in a 2D grid. It's a blast.
Check out OverTheWire.com they have hacking War Games that utilize programming.
They currently have 5 systems to work on where the challenges are broken up into levels. Also provided is reference reading about the vulnerability etc.
This is the new incarnation of the site www.pulltheplug.org.
It's a board game wherein you program a robot to navigate an industrial factory floor to get to flags in order, while trying to prevent other robots from doing the same. Oh, and your robot has a forward pointing laser that can't be turned off. Oh, and you don't always get to choose the instructions your robot executes. Oh, and when you take damage, some of your instructions can get "jammed."
You should check out OWASP's webgoat. You can read and download it here: owasp wiki. Quoted from the owasp site:
"The primary goal of the WebGoat project is simple: create a de-facto interactive teaching environment for web application security. In the future, the project team hopes to extend WebGoat into becoming a security benchmarking platform and a Java-based Web site Honeypot. "
Basicly OWASP contains tasks around web hacking like (taken from the wiki):
- Cross-site Scripting (XSS)
- Access Control
- Thread Safety
- Hidden Form Field Manipulation
- Parameter Manipulation
- Weak Session Cookies
Blind SQL Injection
Numeric SQL Injection
- String SQL Injection
- Web Services
- Fail Open Authentication
- Dangers of HTML Comments
- ... and many more!
maybe you should try HackWars it's a game with his own programation language (almost pure C) that allow you to make custom script to attack/manage your in-game website/manage FTP/bank and you can also create malicious script and install on computer of other players.
that game is a bit complexe at first, but it's really fun and adictive :)
link: http://www.hackwars.net
Enjoy ! =D
Manufactoria was released recently. It isn't about hacking but it involves some low level programming. And it's fun!