Join us at IRC!
The measure of a mans life is not how well he dies, but how well he lives.
Wednesday, May 23, 2012
Navigation
Members Online
Total Online: 25
Web Spiders: 16
Guests Online: 24
Members Online: 1

Registered Members: 70179
Newest Member: prankst3r
Latest Articles
View Thread

HellBound Hackers | HellBound Hackers | Comments and Suggestions

Author

Even MORE challanges!!

Mr_Cheese
HBH Owner



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
God
Posted on 01-04-06 12:42
Yep, thats right, i been thinking of including a whole new section of challenges to HBH!

Patching Challenges

The idea is simple, you are shown a snippit of website / application code, and then your job is to specify:
- Type of possible attack
- the line the exploitable code is on
- a example of how to patch it.

There will be many challenges in this area with a diverse amount of languages and exploits.

Here is a example:
CODE:
<?php
if(isset($_GET['username'])){
echo "USERNAME: ". $_GET['username'] . "<br>";
if($_GET['username'] == "admin"){
echo "<hr><b>this user is an admin!!</b><br>";
}
} else {
echo "<h1>No username is defined</h1>";
}
?>


ANSWER:
Type of Exploit: Cross Site scblockedripting
Line thats exploitable: 3
Patched line:
echo "USERNAME: ". strip_tags($_GET['username']) . "<br>";


These answers will be automated just like the basic challenges, so ofcourse we'll include various answers etc. i.e type of attack: XSS / CSS / cross site scblockedripting - they will all be allowed etc

I figure this is a good idea seeing as we have a increasin amount of webmasters on this site, its wise to know how to patch and what exploitable code looks like.

What are your thoughts?




Edited by Mr_Cheese on 01-04-06 12:44
Author

RE: Even MORE challanges!!

the_flash
Banned

Posts: 1
Location: Bed - no joke
Joined: 25.05.06
Rank:
Uber Elite
Warn Level: 100
Posted on 01-04-06 12:49
I think this would be cool - it would be more realistic than the realistic challenges themselves. Also this is an area where people struggle if their skills haven't left hellbound.


Previously the_flash. Ranked 11 - 17. Had account problems.
jamesrobertson10@hotmail.co.uk www.flashdesigns.dajoob.com
Author

RE: Even MORE challanges!!

god
Member



Posts: 349
Location: I bet you're too scared to look behind you..
Joined: 23.01.05
Rank:
God
Posted on 01-04-06 12:49
nice nice i like it :D is it gonna be all php or different languages??





pm me for it pm me for it pm me for it
Author

RE: Even MORE challanges!!

Mr_Cheese
HBH Owner



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
God
Posted on 01-04-06 13:09
Mr_Cheese wrote:
There will be many challenges in this area with a diverse amount of languages and exploits.



Author

RE: Even MORE challanges!!

The_Cell
Member



Posts: 306
Location: Belgium
Joined: 07.04.05
Rank:
God
Posted on 01-04-06 13:31
I really like this idea. Can't wait to try or even contribute (if I get a good idea or so ;) )

( I think it also adds up to the legal part of the site. You can't call patching and securing code illigal, don't you? :p )



Made by Monster
Hacking is creativity. - The_Cell

<none> <ask me> <none>
Author

RE: Even MORE challanges!!

BluMoose
Member



Posts: 415
Location: Never Never Land.
Joined: 16.09.05
Rank:
HBH Guru
Warn Level: 30
Posted on 01-04-06 13:51
I like it :D Should be worth a fair amount of points though, pretty tough seeing as the only way you can solve em is through good knowlege of the code. You can't google for it or anything, lol. And asking for help in the forums would be harder for these aswell XD


...
blumoos@gmail.com blue_m00se@yahoo.com
Author

RE: Even MORE challanges!!

Setrop
Member



Posts: 142
Location: Are you a hot chick? no? than why would I tell you
Joined: 06.09.05
Rank:
Hacker Level 2
Posted on 01-04-06 14:17
i like the idea very much, but i'll need some tutorials/articles on it...
with my knowledge i won't get far i suppose :s
anyway, keep up the good work!



Noobs do not exist, unpatient pro's do...

Try not to get what you want, instead try to want what you get

/ vincentvandingenen@hotmail.com /
Author

RE: Even MORE challanges!!

danbradster
Member

Posts: 24
Location: Australia
Joined: 31.01.06
Rank:
Elite
Posted on 01-04-06 16:00
Uhhh, if you patched it with this:

echo "USERNAME: ". strip_tags($_GET['username']) . "<br>";


You could still inject a username in to the address bar, to patch that hole, you would use post instead of get. :)

Am I correct?
danielbrady_69@hotmail.com danbradster.deviantart.com
Author

RE: Even MORE challanges!!

Mr_Cheese
HBH Owner



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
God
Posted on 01-04-06 16:02
yes you could still inject into the url bar. but whats the point of injecting code into the url bar if it doesnt do anything because the tags are stripped.


Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.