Follow us on Twitter!
I'd prefer to die standing, than to live on my knees - Che Guevara
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 20
Guests Online: 20
Members Online: 0

Registered Members: 82889
Newest Member: Geriztul
Latest Articles
View Thread

HellBound Hackers | HellBound Hackers | Projects

Author

better login form

ranma
Member



Posts: 273
Location: Behind a sphere
Joined: 27.08.05
Rank:
Active User
Posted on 16-03-07 01:05
When I go to the challenges page when I am not logged in, I find it annoying that when I login I am redirected to index.php. I have made a script to fix that, or at least I think so:

Code
<form name="loginform" method="post" action="index.php">
Username<br>
<input name="user_name" class="textbox" style="width: 100px;" type="text"><br>
Password<br>
<input name="user_pass" class="textbox" style="width: 100px;" type="password"><br>
<input name="remember_me" value="y" type="checkbox">Remember Me<br><br>
<input name="login" value="Login" class="button" type="submit"><br>
</form>
<input type="hidden" name="location" value="<?php echo 'http://www.helboundhackers.org' . $_SERVER['PHP_SELF']?>">




This sends the form details to the index.php page. On the index.php page, add in a line of code:

Code
header("Location: " . $_POST['location']);




Please tell me if this would work or if it would be accepted
Author

RE: better login form


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 16-03-07 01:28
I have a strategy...
it's ... ,well, lazy, simply, dumb, yet VERY effective:

1. Copy the URL of the challenge you're on.
2. Go ahead and login wherever on HBH.
3. paste the URL of the challenge into the address bar.

genius, isn't it? I'm telling you, laziness pays off sometimes.


Author

RE: better login form


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 16-03-07 01:33
That doesn't work for me..I have to refresh every time i go to a new page..gets very annoying


Author

RE: better login form

ranma
Member



Posts: 273
Location: Behind a sphere
Joined: 27.08.05
Rank:
Active User
Posted on 17-03-07 01:06
I was asking the mods or admins.
Author

RE: better login form


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 17-03-07 02:34
actually, i think the solution is much easier than you wanted to make it


Code
<form name="loginform" method="post" action="">





i think that would do the job. i'll see what i can do


Author

RE: better login form

ranma
Member



Posts: 273
Location: Behind a sphere
Joined: 27.08.05
Rank:
Active User
Posted on 22-03-07 23:37
so how's it going?
Author

RE: better login form

Uber0n
Member



Posts: 1963
Location: Sweden‭‮
Joined: 13.06.06
Rank:
Hacker Level 3
Posted on 23-03-07 20:23
Hey this is easy ^^

If the cookies are set to 'hellboundhackers.org' they won't work for 'www.hellboundhackers.org' and vice versa.

Solution: if you're logged in to a page and click a link which logs you out, simply remove the 'www.' part from the URL.


img230.imageshack.us/img230/724/uber0nsig3hj6.gif
http://uber0n.web. . .
Nope http://uber0n.webs.com/
Author

RE: better login form


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 31-03-07 20:25
http://Hackcoders. . .
Join Now! muhahaha!