SuperHack
it seems that there is something wrong with the SuperhackVM if I try to submit a program (for a challenge or at the php-version) I get a php-parse-error:
Code: Select all
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/.mazie/hacker_apache/html/hacker/html/sh/shack.php on line 3
Hello,
There's definitely something I don't understand with the SuperHack.
Maybe someone could help me with that piece of code:
The trace tells me:
But I expected:
Considering:
What do I get the wrong way?
Thx in advance.
There's definitely something I don't understand with the SuperHack.
Maybe someone could help me with that piece of code:
Code: Select all
800>00<!
Code: Select all
0:8 (0,0) [8]
0:0 (1,0) [8,0]
0:0 (2,0) [8,0,0]
0:> (3,0) []
0:0 (4,0) [0]
0:0 (5,0) [0,0]
0:< (6,0) [0]
0:! (7,0) [0]
Code: Select all
0:8 (0,0) [8]
0:0 (1,0) [8,0]
0:0 (2,0) [8,0,0]
0:> (3,0) []
0:0 (4,0) [0]
0:0 (5,0) [0,0]
0:< (6,0) [8]
0:! (7,0) [8]
Code: Select all
'<' Push the value of memory cell (S0, S1)
'>' Store S2 into (S0, S1)
Thx in advance.