HC's Capture the Flag website
CTF Contests
25C3-CTF

25C3-CTF final results

Advisory #100

From team squareroots

New advisory by : manager
Affected service(s): CGIBAS
Severity [lmh] : low

===== Problem =====
shoutbox not working.
===== Impact =====
no communication via shouting.
===== Fix =====
we fixed several conditions of the if-commands for action and shout.
Shoutbox works now.
...
70 input "action",action
...
79 let idx=index$(action;",";"nusb")
80 if idx<0 then goto 1000
81 input "shout",shout
84 let ccc=len$(shout)
85 rem print ccc
86 if ccc>0 then goto 88
87 goto 1000
88 open "shoutbox" for output as #2
100 write #2, shout
101 close #2
1000 print "<tr><th>Shouts</th></tr>"
1001 let brabbel=1
1010 open "shoutbox" for input as #3
1020 read #3, foo
1021 if foo="" then goto 1030
...
1030 print "<tr><td>";brabbel;":";foo;"</td></tr>"
1031 let brabbel=brabbel+1
1032 if brabbel>100 then goto 1050
1040 goto 1020
1050 close #2
...

Rating

[1] well done

Go back


Impressum