Your Turn - or mine?

Post Reply
V4hn
Posts: 14
Joined: Tue Nov 27, 2007 12:39 pm
Contact:

Your Turn - or mine?

Post by V4hn »

Congratulations, althought it's a pretty nice idea,
whoever made up this challenge, should've known better...

1. XSS-attack - actually just a poc and no attack
=> _don't_ output tainted data but use htmlentities() or whatever

2. RF-attack for spamming the web...
=> you should really cut away parameters, if you provide a 'service' like that...
Image
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

thanks for the note -- htmlentites on the output is a good idea in any case.
cheers,
adum
c0mp4ct
Posts: 3
Joined: Sat Oct 16, 2010 11:58 pm

Post by c0mp4ct »

I got a problem with this challenge, it shows:

'pewter scooter ' is incorrect.

but the whitespace isn't there. Here the hexdump:

00000000 70 65 77 74 65 72 20 73 63 6F 6F 74 65 72 0A

Any solution for this?
User avatar
laz0r
Posts: 290
Joined: Thu Feb 04, 2010 4:18 pm
Location: Within the depths of Unix

Post by laz0r »

There's a line break at the end (that's what 0x0A is).
There is no spoon.
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

that is a quite a spoiler
User avatar
laz0r
Posts: 290
Joined: Thu Feb 04, 2010 4:18 pm
Location: Within the depths of Unix

Post by laz0r »

CodeX wrote:that is a quite a spoiler
Whose, mine or c0mp4ct's? The point of the challenge is to host a web page; 'pewter scooter' is given in the challenge text anyway. I identified the error but didn't correct it (I can't anyway, not having access to the relevant server).
There is no spoon.
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

oops, my mistake; I misinterpreted it as the password :P
c0mp4ct
Posts: 3
Joined: Sat Oct 16, 2010 11:58 pm

Post by c0mp4ct »

vi helped me in this case. Learned a lot from this challenge :)
Post Reply