Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
March 28, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 816
Members: 0
Total: 816
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Cross-site scripting aka XSS -> XXS Question ..
Post new topic  Reply to topic View previous topic :: View next topic 
XXS Question ..
PostPosted: Sun Jun 20, 2004 1:29 pm Reply with quote
SteX
Advanced user
Advanced user
 
Joined: May 18, 2004
Posts: 181
Location: Serbia




Is this valid cookie..Its looks too long for md5 hash..?


I used
Code:
%253cscript>alert%2528document.cookie);%253c/script>
View user's profile Send private message
PostPosted: Sun Jun 20, 2004 5:29 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




"user=xxxxxxxx..." - this is base64 encoded string. You must first decode it, and after that you will see md5 hash and other components of the user information.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Jun 20, 2004 9:26 pm Reply with quote
SteX
Advanced user
Advanced user
 
Joined: May 18, 2004
Posts: 181
Location: Serbia




Thanks..
btw: stupid JavaScript ,i cant copy & paste user information.. Laughing

_________________

We would change the world, but God won't give us the sourcecode...
....Watch the master. Follow the master. Be the master....
-------------------------------------------------------
View user's profile Send private message
PostPosted: Mon Jun 21, 2004 4:03 am Reply with quote
LINUX
Moderator
Moderator
 
Joined: May 24, 2004
Posts: 404
Location: Caiman




Laughing Laughing Laughing
View user's profile Send private message Visit poster's website
PostPosted: Mon Jun 21, 2004 11:18 am Reply with quote
SteX
Advanced user
Advanced user
 
Joined: May 18, 2004
Posts: 181
Location: Serbia




Ok
I Decoded:
Code:

NjE0NDpTdGVYOmZiY2RiYWY2ZTM5Y2ZiNzFlMWY3NGM4NTE3NzA0MzEwOjU6OjA6MDowOjA6YXBveDow

To
Code:

 6144:SteX:fbcdbaf6e39cfb71e1f74e8517704310:5::0:0:0:0:apox:0


But this is my Username,not Admin..where did i wrong..?

U use old XSS ([waraxe-2004-SA#002])
Quote:

modules.php?name=News&file=friend&op=StorySent&title=%253cscript>alert%2528document.cookie);%253c/script>

Respect

_________________

We would change the world, but God won't give us the sourcecode...
....Watch the master. Follow the master. Be the master....
-------------------------------------------------------
View user's profile Send private message
PostPosted: Mon Jun 21, 2004 4:10 pm Reply with quote
vocal
Regular user
Regular user
 
Joined: Jun 13, 2004
Posts: 18




XSS does nothing useful if YOU run it.
You are supposed to lure a user to it.
This way you will get HIS cookie.

So if you manage an admin to click on that link (of course you 'll somehow hide it), you 'll get his cookie.
You 'll have to change the javascript code though. If he clicks on a link with what you got, HE will see his cookie Smile
View user's profile Send private message
PostPosted: Sun Jul 18, 2004 5:41 am Reply with quote
ic3
Regular user
Regular user
 
Joined: Jul 18, 2004
Posts: 14




Quote:
"user=xxxxxxxx..." - this is base64 encoded string. You must first decode it, and after that you will see md5 hash and other components of the user information.


sorry for being a noob but how can you decode the base64 string into an md5 hash?

_________________
View user's profile Send private message
PostPosted: Sun Jul 18, 2004 10:37 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




ic3 wrote:
Quote:
"user=xxxxxxxx..." - this is base64 encoded string. You must first decode it, and after that you will see md5 hash and other components of the user information.


sorry for being a noob but how can you decode the base64 string into an md5 hash?


You can always use online base64 encoder/decoder at:

http://base64-encoder-online.waraxe.us/base64/base64-encoder.php
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Jul 18, 2004 12:22 pm Reply with quote
ic3
Regular user
Regular user
 
Joined: Jul 18, 2004
Posts: 14




thankyou =]
how can you tell if a thing is in base64 or not?

_________________
View user's profile Send private message
PostPosted: Sun Jul 18, 2004 2:01 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




ic3 wrote:
thankyou =]
how can you tell if a thing is in base64 or not?


If string consists only of uppercase/lowercase letters and numbers, and
maybe there is some leading "=" characters, then it CAN be base64-encoded string. To be sure, just try to base64-decode it and see, what result you will get ... Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Jul 18, 2004 3:00 pm Reply with quote
ic3
Regular user
Regular user
 
Joined: Jul 18, 2004
Posts: 14




thanks.. Laughing what other sorts of encryptions are used for these cookies? (the major ones)

_________________
View user's profile Send private message
PostPosted: Sun Jul 18, 2004 10:12 pm Reply with quote
SteX
Advanced user
Advanced user
 
Joined: May 18, 2004
Posts: 181
Location: Serbia




sha1 Wink

_________________

We would change the world, but God won't give us the sourcecode...
....Watch the master. Follow the master. Be the master....
-------------------------------------------------------
View user's profile Send private message
PostPosted: Mon Jul 19, 2004 12:13 pm Reply with quote
ic3
Regular user
Regular user
 
Joined: Jul 18, 2004
Posts: 14




thanks again Surprised

_________________
View user's profile Send private message
Base 64 decoder
PostPosted: Mon Jul 19, 2004 8:35 pm Reply with quote
slimjim100
Valuable expert
Valuable expert
 
Joined: Jun 09, 2004
Posts: 208
Location: USA




Hey do ya know that Cain & Able has a built in Base64 decoder.
and after you get the MD5 Use Cain to crack it with the Rainbow tables.

Sorry I just had to bring up how useful Cain & Able really is. Get you copy at www.oxid.it its freeware so no worries! Very Happy And if you need help with using it I have made a few tutorials here:

http://www.middlegeorgia.org/media/Cain%20and%20ARP%20Poisoning.doc
http://www.middlegeorgia.org/default.asp?id=45&mnu=45
http://www.middlegeorgia.org/default.asp?id=9&mnu=9

Any other questions just send me an e-mail slimjim100(at)hotmail.com

Thnx,

Slimjim100

P.S. Sorry for the image being so big it's just a screen shot LOL.

_________________
www.anti-hacker.info
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
XXS Question ..
  www.waraxe.us Forum Index -> Cross-site scripting aka XSS
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.175 Seconds