| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Feb 2006 Location: Atlanta, GA, USA
Posts: 335
![]() ![]() | Break This Script! [+rep] Bored? Go to http://www.vestieo.com and see if you can break that script (or just fool it). If you want something else to do, go to http://www.vestieo.com/manage and try to break that login script. I'm trying to make this thing idiot proof, so do your worst To register more than once, just hit the "Kill Cookie" button at the bottom. If you do manage to break it, please post below.
Last edited by Tree; 02-25-2006 at 12:49 PM.
|
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 608
![]() ![]() ![]() ![]() ![]() ![]() | I can edit my cookie to change the id and pretend I'm someone else. ![]() ID: 1 Country: USA IP: 24.99.249.87 Age: 43 Gender: male Date Created: 2006-02-24 Its also possible to create your own form and make up different genders: ID: 56 Country: USA IP: 24.161.93.195 Age: 100 Gender: Jim Has No Gender! Date Created: 2006-02-25
__________________ ask me about the internet
Last edited by Jim_; 02-25-2006 at 09:00 AM.
|
| |
| | #3 (permalink) | ||||
| A Wealth of Knowledge Join Date: Aug 2004
Posts: 3,803
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Good work. But I hope you have a gender. ![]() -Steve | ||||
| |
| | THREAD STARTER #4 (permalink) | ||||
| NamePros Regular Join Date: Feb 2006 Location: Atlanta, GA, USA
Posts: 335
![]() ![]() | k, I'll fix the ID thing, but how did you change the gender?
| ||||
| |
| | #5 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 608
![]() ![]() ![]() ![]() ![]() ![]() | Code: <form action="http://www.vestieo.com/?" method="POST"> Age: <input type="text" name="age"><br> Gender: <select name="gender"> <option value="Jim Has No Gender!">lol. Pants.</option> <option value="Male">Male</option> <option value="Female">Female</option> </select><br> <input type="submit" name="Thank you!"><br> <input type="hidden" name="done" value="yep"> ????: NamePros.com http://www.namepros.com/showthread.php?t=171137 You might want to put a check in to make sure they choose male or female. Also, make sure that the age they enter is greater than 0.
__________________ ask me about the internet |
| |
| | THREAD STARTER #6 (permalink) |
| NamePros Regular Join Date: Feb 2006 Location: Atlanta, GA, USA
Posts: 335
![]() ![]() | Alright, some of the issues have been fixed. Try again! FYI, I wiped the DB. Edit: Nevermind, there's still a lot of problems. Let me work on it real quick.
Last edited by Tree; 02-25-2006 at 10:18 AM.
|
| |
| | #7 (permalink) |
| Senior Member Join Date: Nov 2005 Location: on a oil rig just off Ireland
Posts: 1,408
![]() ![]() ![]() ![]() ![]() | if i type in <?php it says error, headers already sent.
__________________ You design in photoshop, I code into valid XHTML/CSS. Professional PSD, PNG or HTML to tableless XHTML/CSS designs. For more info, send me a PM. |
| |
| | #10 (permalink) | ||||
| Senior Member Join Date: Nov 2005 Location: on a oil rig just off Ireland
Posts: 1,408
![]() ![]() ![]() ![]() ![]() |
__________________ You design in photoshop, I code into valid XHTML/CSS. Professional PSD, PNG or HTML to tableless XHTML/CSS designs. For more info, send me a PM. | ||||
| |
| | THREAD STARTER #12 (permalink) |
| NamePros Regular Join Date: Feb 2006 Location: Atlanta, GA, USA
Posts: 335
![]() ![]() | Alright, so we've shut this script up. Thanks to everyone who helped, especially Jim! Now onto the login script! http://www.vestieo.com/manage Once again, a huge thank you to everyone who has helped thus far. |
| |
| | #13 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 608
![]() ![]() ![]() ![]() ![]() ![]() | So far, the login page seems safe. Oh. I can still cheat the cookies. Just have to base64 encode it twice. ![]() TVRJPQ%3D%3D is id 12 TVRNPQ%3D%3D is id 13 You might want to generate a random passkey for each id instead. ex: $password = md5($id . rand(10000,99999)); and then pull the id with the passkey that matches the cookie.
__________________ ask me about the internet
Last edited by Jim_; 02-25-2006 at 04:05 PM.
|
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Great Scripts for Sale With Resale Rights! | Zeeble | Scripts For Sale | 20 | 01-04-2006 01:39 AM |
| Huge Xmas script pack sale $5.00 | KPR | Scripts For Sale | 1 | 12-08-2005 06:25 PM |
| 60.000 Templates, scripts, fonts, banners etc. $9.95 | atkims | Web Development Wanted | 19 | 11-16-2004 09:48 AM |