Permanent Programming 11

Put your programming skills to the test in these challenges.

Re: Permanent Programming 11

Post by sandwich on Wed May 28, 2008 5:54 pm
([msg=3438]see Re: Permanent Programming 11[/msg])

Why all this fuss about cookies? I simply wrote a keylistener to listen for ctrl+C. When it picks that up it processed the clipboard (the page's text), performed the shift then wrote the answer to the clipboard. So all I had to do was go ctrl+A, ctrl+C, [click in form], ctrl+V, Enter. :)
sandwich
New User
New User
 
Posts: 7
Joined: Mon May 12, 2008 5:30 pm
Blog: View Blog (0)


Re: Permanent Programming 11

Post by tio on Sat Jun 07, 2008 9:53 am
([msg=4184]see Re: Permanent Programming 11[/msg])

sandwich wrote:Why all this fuss about cookies? I simply wrote a keylistener to listen for ctrl+C. When it picks that up it processed the clipboard (the page's text), performed the shift then wrote the answer to the clipboard. So all I had to do was go ctrl+A, ctrl+C, [click in form], ctrl+V, Enter. :)

thats uselessly complicated. If you (or someone who didn't completed this) will use greasemonkey there is only one thing for completion this level. You need just visit the page, and that's it. My script has only 13 lines and it took me around 10 minutes.

and no, there is nothing with cookies. This is programming level, and not something where you need to find alternative solutions. Good luck ;)
tio
New User
New User
 
Posts: 22
Joined: Tue May 13, 2008 11:01 am
Location: Slovakia
Blog: View Blog (0)


Re: Permanent Programming 11

Post by berstbest on Sun Jun 08, 2008 7:02 pm
([msg=4309]see Re: Permanent Programming 11[/msg])

This realy makes me mad! I have a nice working little code. But it always says that my answer is wrong.
Can someone help me an tell me in which format the answer should be.
Is there something wrong with my translation from the number to a character?
An example:
Generated String: 38)65)48)82)81)66)44)52)78)
Shift: -4

answer from my script: 4aDxwb@Ht

another one:
Generated String: 115#80#93#110#106#92#88#66#74#112#64#58#
Shift: 25

answer from my script: 05851737

Can someone please help me with this and tell me why my answer is wrong.
berstbest
New User
New User
 
Posts: 8
Joined: Sun Jun 08, 2008 1:47 pm
Blog: View Blog (0)


Re: Permanent Programming 11

Post by Jimmy_xor on Mon Jun 09, 2008 5:40 am
([msg=4334]see Re: Permanent Programming 11[/msg])

Your code thinks the numbers are hexadecimal, but they are decimal..
Jimmy_xor
New User
New User
 
Posts: 22
Joined: Tue Apr 22, 2008 4:35 pm
Blog: View Blog (0)


Re: Permanent Programming 11

Post by berstbest on Mon Jun 09, 2008 12:17 pm
([msg=4357]see Re: Permanent Programming 11[/msg])

oh that explains everything thanks a lot.
berstbest
New User
New User
 
Posts: 8
Joined: Sun Jun 08, 2008 1:47 pm
Blog: View Blog (0)


Re: Permanent Programming 11

Post by SirDorius on Thu Jun 12, 2008 3:41 pm
([msg=4640]see Re: Permanent Programming 11[/msg])

I'm having a similar problem. By hand the solutions of the script seem correct but when submitting it says they aren't. Example:

Generated String: 81-85-103-106-104-108-96-
Shift: 18

Result:
cgy|z~r

Am I not formatting it right? Or maybe I misinterpreted Shift because with 0 shift it said it was right (but I submitted it too late). Although from the above code I think that's what shift is supposed to do... some help?
SirDorius
New User
New User
 
Posts: 4
Joined: Sun Jun 08, 2008 11:28 am
Blog: View Blog (0)


Re: Permanent Programming 11

Post by slizzel on Thu Jun 12, 2008 11:48 pm
([msg=4671]see Re: Permanent Programming 11[/msg])

If you had this for exmaple,

Generated String: 81-85-103-106-104-108-96-
Shift: 18

does it have to be
cgy|z~r
c-g-y-|-z-~-r-
c?g?y?|?z?~?r?

or have i got the shift thing wrong too

<edit>i had the shift wrong and the is no seperater, it would be,
?CUXVZN</edit>
slizzel
New User
New User
 
Posts: 1
Joined: Wed Apr 23, 2008 7:47 pm
Blog: View Blog (0)


Re: Permanent Programming 11

Post by SirDorius on Fri Jun 13, 2008 4:22 am
([msg=4677]see Re: Permanent Programming 11[/msg])

[Removed]
Last edited by TheMindRapist on Mon Aug 18, 2008 12:13 pm, edited 1 time in total.
Reason: I guess it shouldnt be said which way to shift, BhaaL seems to think it's important lol.
SirDorius
New User
New User
 
Posts: 4
Joined: Sun Jun 08, 2008 11:28 am
Blog: View Blog (0)


Re: Permanent Programming 11

Post by vivekn on Wed Aug 13, 2008 11:12 pm
([msg=9649]see Re: Permanent Programming 11[/msg])

The algorithm is simple,if you use REGEX, but how do i work around the 3 seconds thing,i tried messing up the timer using javascript but HTS is smarter than that,pls help
Most things are easier done than said!
vivekn
New User
New User
 
Posts: 18
Joined: Wed Apr 16, 2008 5:02 am
Blog: View Blog (0)


Re: Permanent Programming 11

Post by vivekn on Mon Aug 18, 2008 5:51 am
([msg=9959]see Re: Permanent Programming 11[/msg])

I've done it now,really cool mission ,learned about how sockets work coool!

i think this mission should be worth more than 100 pts
Most things are easier done than said!
vivekn
New User
New User
 
Posts: 18
Joined: Wed Apr 16, 2008 5:02 am
Blog: View Blog (0)


PreviousNext

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests