Skip to content

Commit

Permalink
added ip display for TCP levels via constants
Browse files Browse the repository at this point in the history
  • Loading branch information
geek-at committed Mar 25, 2024
1 parent 35c3642 commit 32f8476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/levels/hackit23.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class Hackit23 implements Hackit
{
public function getName() { return 'Easy sockets';}
public function getDescription(){return 'Jerry set up a TCP server on <span class="green">212.17.118.125</span> port <span class="green">2323</span> that holds the password for this level.<br/>All you have to do is connect (with the "telnet" command or <a target="_blank" href="http://netcat.sourceforge.net/">"netcat"</a>), send the auth token below and wait for the password.';}
public function getDescription(){return 'Jerry set up a TCP server on <span class="green">'.IP.'</span> port <span class="green">2323</span> that holds the password for this level.<br/>All you have to do is connect (with the "telnet" command or <a target="_blank" href="http://netcat.sourceforge.net/">"netcat"</a>), send the auth token below and wait for the password.';}
public function getTags(){return 'Programming';}

public function isSolved()
Expand Down
2 changes: 1 addition & 1 deletion data/levels/hackit27.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class Hackit27 implements Hackit
{
public function getName() { return 'TCP bot';}
public function getDescription(){return 'Connect to the TCP server on <span class="green">212.17.118.125</span> port <span class="green">2727</span> and do what it says.<br/>You\'ll have to program a bot that communicates with the server to solve the math problems fast enough.';}
public function getDescription(){return 'Connect to the TCP server on <span class="green">'.IP.'</span> port <span class="green">2727</span> and do what it says.<br/>You\'ll have to program a bot that communicates with the server to solve the math problems fast enough.';}
public function getTags(){return 'Programming';}

public function isSolved()
Expand Down

0 comments on commit 32f8476

Please sign in to comment.