Programming 12

Put your programming skills to the test in these challenges.

Re: Programming 12

Post by eljonto on Sat Jan 31, 2009 6:15 pm
([msg=17173]see Re: Programming 12[/msg])

What, like changing your cookie so that you send your current phpsessid with your headers so you can submit results as yourself without having to log in, coz thats what i already do
-Quis custodiet ipsos custodes?, Juvenal
_________________________________________________________________
User avatar
eljonto
Poster
Poster
 
Posts: 373
Joined: Thu Apr 17, 2008 1:16 am
Location: Australia
Blog: View Blog (0)


Re: Programming 12

Post by lolobip on Sun Feb 01, 2009 10:08 am
([msg=17213]see Re: Programming 12[/msg])

Nooo .. you can use the way you change the cookie in basic ten to complete these missions ;)
lolobip
New User
New User
 
Posts: 13
Joined: Sun Apr 13, 2008 4:11 pm
Blog: View Blog (0)


Re: Programming 12

Post by mutants_r_us_guild on Sun Feb 01, 2009 11:32 am
([msg=17218]see Re: Programming 12[/msg])

lolobip wrote:This one is much like prog 11 in terms of do-ability, personally I did it in php (and afterwards javascipt), but I had to fasten my ctrl+a, ctrl +c, ctrl+v :P



Ummm.... Greasemonkey FTW?
Image
Image
Image
User avatar
mutants_r_us_guild
Poster
Poster
 
Posts: 246
Joined: Fri May 30, 2008 7:56 pm
Blog: View Blog (0)


Re: Programming 12

Post by throwsumds on Sun Feb 01, 2009 10:38 pm
([msg=17249]see Re: Programming 12[/msg])

OK so I managed to read from and write to the clipboard with java which saves a lot of time, the program runs in less than a second, I punch in the submit button when the counter is at 3 and I never get the "you're too late" message anymore, but it ALWAYS says I got it right but took 7+ seconds! One would assume that if the counter is at 3, it took you 2 seconds no? So why does this keep happening to me?
throwsumds
New User
New User
 
Posts: 1
Joined: Sun Feb 01, 2009 10:26 pm
Blog: View Blog (0)


Re: Programming 12

Post by lolobip on Tue Feb 03, 2009 8:18 am
([msg=17309]see Re: Programming 12[/msg])

Ummm.... Greasemonkey FTW?

Address bar ftfw <3

@throwsumds : either there is a weak latency between you and the server, or you submitted your responses on peak time when there are many people connected on the site :) I for one, have submitted the answer at 2 seconds remaining and it worked :) (But not after a dozen "you're 0.3~0.9 seconds late" x) )
lolobip
New User
New User
 
Posts: 13
Joined: Sun Apr 13, 2008 4:11 pm
Blog: View Blog (0)


Re: Programming 12

Post by doc212 on Thu Feb 05, 2009 10:12 pm
([msg=17444]see Re: Programming 12[/msg])

Hi

Does this challenge really work ?

I mean, I'm pretty sure I got it right but it keeps telling me I'm wrong ... So I'm guessing I must be doing something wrong but I can't quite figure out what ...

Could someone post like an example so I can check ? (wouldn't be much of a spoiler :-))
or pm maybe :-)

Thanks ... :-)
doc212
New User
New User
 
Posts: 2
Joined: Thu Feb 05, 2009 10:07 pm
Blog: View Blog (0)


Re: Programming 12

Post by Defience on Fri Feb 06, 2009 12:31 pm
([msg=17463]see Re: Programming 12[/msg])

doc212 wrote:Hi

Does this challenge really work ?

I mean, I'm pretty sure I got it right but it keeps telling me I'm wrong ... So I'm guessing I must be doing something wrong but I can't quite figure out what ...

Could someone post like an example so I can check ? (wouldn't be much of a spoiler :-))
or pm maybe :-)

Thanks ... :-)


Here's an example:

value="u2vmsbz4luw#wxg@i@0ixvjhuraehe#ondzh9arn?lg8aj2@j6l9?dmur4wkajfppk3gvgv@akyymsfra?q@m5s@@1jkd
821tn8ty@exix$5?i8ey0maf8sqx2i0zr?kftf@?ibe4tbf#wnoi?slhaevgr2?@3n08qdgh93e2#m8zw5sgco00azk3c@35i4tzi@3kse
yek3ux5cb13an8ousme4vsn4c8qu?ovk8483ts$tz#u7cdhrooh?$lg9eyollnajmoc#ap3$4$u8w4u7qvxpww431rh5vkhnga8rj@v@
0@vi8gjkakknhj7?3q@xwbd5e9ocjpy4yc50uqbn9celfdz5b9@n8evssx3na95wic5nmy6kyl9u3u1b6@z0izexr13i0v0rh3ed@d@
o#ce@s0um1rrt3oy$h0admnvp9s0#qtn$7k2ew7mx5?6@yujw#g8urtq3886u912fxdc3oa??a3ce3vuxm$y93zgr16ff2tiwoub?l?
igry8#l2aj3ja0$k3?nfpbc$to#oggzsf0@2?jjmws$498rpnj?uy05lj7eyczxpagc5xit?c1cwv3i$?suxi#zmyabzct3vfnwaae0@7kyh#
gm?t3ze188i2put0fd$17qvwntc{mvx$xyhAjAjywkivsbf"

# 1st 25chars with numbers removed, shifted +1 in ascii:
'vwntc{mvx$xyhAjAjywkivsbf'

# composite & prime numbers added then multiplied:
'87087'

# concatenated answer:
'vwntc{mvx$xyhAjAjywkivsbf87087'

See what you get using this set of values.
User avatar
Defience
Addict
Addict
 
Posts: 1265
Joined: Thu Jun 12, 2008 3:16 pm
Blog: View Blog (0)


Re: Programming 12

Post by InfX on Sat Feb 07, 2009 11:18 am
([msg=17511]see Re: Programming 12[/msg])

I did 11 & 12 without doing the http myself, without using greasemonkey, without coding a firefox plugins and other complicated approaches.

A simply cut&paste works, you just have to find a way to do it faster. Reading/writing text to the clipboard in C++ isn't a big deal.

EDIT: added "without" before 'using greasemonkey' and 'coding a firefox plugins' :-)
InfX
New User
New User
 
Posts: 1
Joined: Fri Feb 06, 2009 2:59 pm
Blog: View Blog (0)


Re: Programming 12

Post by doc212 on Sun Feb 08, 2009 2:58 pm
([msg=17517]see Re: Programming 12[/msg])

Okay thanks i got it ... My problem was that I was giving the string to my program on the command line and since the string sometimes contains things like $4 my shell would interpret the dollar sign and thus loose some numbers on the way before passing the string to the program ...

Thanks again :-)
doc212
New User
New User
 
Posts: 2
Joined: Thu Feb 05, 2009 10:07 pm
Blog: View Blog (0)


Re: Programming 12

Post by haha01haha01 on Mon Feb 09, 2009 8:00 am
([msg=17552]see Re: Programming 12[/msg])

InfX wrote:I did 11 & 12 without doing the http myself, without using greasemonkey, without coding a firefox plugins and other complicated approaches.

A simply cut&paste works, you just have to find a way to do it faster. Reading/writing text to the clipboard in C++ isn't a big deal.

EDIT: added "without" before 'using greasemonkey' and 'coding a firefox plugins' :-)

coding an http client in c# takes exactly two lines, i dont see how it could be more simple.
There are 11 types of people in the world - those who understand binary, those who don't and those who already heard this joke.
User avatar
haha01haha01
Poster
Poster
 
Posts: 133
Joined: Tue Jan 13, 2009 10:08 am
Location: HackThisSite.org
Blog: View Blog (0)


PreviousNext

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron