Follow us on Twitter!
Few are those who can see with their own eyes and hear with their own hearts. - Albert Einstein
Sunday, April 20, 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: 21
Guests Online: 20
Members Online: 1

Registered Members: 82843
Newest Member: hx47
Latest Articles
View Thread

HellBound Hackers | Computer General | Hacking in general

Author

Voiding a PHPSESSID


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-08-08 02:26
How would I go about doing this?

I have tried javascript:void(document.cookie="PHPSESSID=sdjfoisjfisifo"Wink and get no result.


Author

RE: Voiding a PHPSESSID

thehare
Member



Posts: 73
Location: Canada
Joined: 01.05.08
Rank:
God
Posted on 07-08-08 03:50
Before I start I want to say I don't know exactly what you are trying to say do you want to void it as in change it or void it as in null it because if you want to null it (don't get me wrong) I do not know how to Null phessid cookies but I do know that the void command is for changing the cookie.

eg. (just an example of the void command)

You have a cookie that says that the user is: fire
but you want it to say water.

a possible way to change the cookie would be:

Code
javascript:void(document.cookie."user=water")




The void command does not null the cookie as I said above it only changes it.

But if you are trying to change it (again I am unsure) I think that the cookie does not always stay the same so doing that to the cookie would not do much to it, and might even result in you getting logged off. (again I am unsure but I think that is how it works.)


If you need help, dont be afraid to ask, just be sure to give the challenge an honest try before you do.



Edited by thehare on 07-08-08 03:55
Author

RE: Voiding a PHPSESSID


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-08-08 04:04
The key doesn't necessarily have to exist. void() sets a value, and can overwrite an existing variable.

Code
key=value




Code
javascript:void(x='Eva Angelina');void(x='Homer Simpson');alert(x);




http://forums.dev. . .24803.html




Edited by on 07-08-08 04:13
Author

RE: Voiding a PHPSESSID


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-08-08 04:06
If you are using Firefox download the Add & Edit Cookies addon. It allows you to edit the cookies via a GUI.


Author

RE: Voiding a PHPSESSID


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-08-08 05:51
While I do not yet no javscript, void functions in C++ mean they carry out the function but do not return value. So making a void statement to change the SEESID = 'blah' wouldn't make the SEESID null


Author

RE: Voiding a PHPSESSID


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-08-08 06:37
xpl0Re_GEN wrote:
While I do not yet no javscript, void functions in C++ mean they carry out the function but do not return value. So making a void statement to change the SEESID = 'blah' wouldn't make the SEESID null

It means nothing of the sort. All that is is a native javascript method that is being called. Javascript:alert calls the alert method, Grinocument.prompt calls the prompt method and so on.
Try out javascript:void(document.title="Hello World"Wink and javascript:alert(document.title="Hello World"Wink and tell me they don't do the same thing.


Author

RE: Voiding a PHPSESSID


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-08-08 23:59
Alright cool.