Skip to content

Commit

Permalink
Update ports for problems
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyqiu committed Apr 11, 2015
1 parent c090d9b commit 965d61d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Login-Attempts_80/problem.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Attempt to log in!

The computer has been opened to the internet at <code>stuyctf.me:49999</code>
The computer has been opened to the internet at <code>stuyctf.me:22345</code>
2 changes: 1 addition & 1 deletion More-Than-Meets-The-Eye_60/problem.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Where is the flag?

The computer has been opened to the internet at <code>stuyctf.me:12347</code>
The computer has been opened to the internet at <code>stuyctf.me:22346</code>
12 changes: 6 additions & 6 deletions More-Than-Meets-The-Eye_60/solution.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import socket

HOST = "stuyctf.me"
PORT = 12347
PORT = 22346

sock = socket.socket(socket.AF_INET , socket.SOCK_STREAM)
sock.connect((HOST , PORT))

flagchars = []
flagchars = ""

for i in range(0 , 100):
received = repr(sock.recv(1024))
flagchars.append(received)
for i in range(0, 100):
received = sock.recv(1024)
flagchars += received

print ''.join([flagchar[0] for flagchar in flagchars])
print ''.join([flagchar[0] for flagchar in flagchars.split("\n")])

# flag: stuyctf{why_backspace_no_werk}
2 changes: 1 addition & 1 deletion STUYCTF_SERVER/Login-Attempts/problem.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"score": 80,
"category": "Exploitation",
"grader": "./Login-Attempts/grader.py",
"description": "Attempt to log in!<br><br>The computer has been opened to the internet at <code>stuyctf.me:49999</code><br>",
"description": "Attempt to log in!<br><br>The computer has been opened to the internet at <code>stuyctf.me:22345</code><br>",
"threshold": 0,
"weightmap": {},
"hint": "How do you think we're getting your input?<br>If it helps, it's a Python server.<br>"
Expand Down
2 changes: 1 addition & 1 deletion STUYCTF_SERVER/More-Than-Meets-The-Eye/problem.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"score": 60,
"category": "Miscellaneous",
"grader": "./More-Than-Meets-The-Eye/grader.py",
"description": "Where is the flag?<br><br>The computer has been opened to the internet at <code>stuyctf.me:12347</code><br>",
"description": "Where is the flag?<br><br>The computer has been opened to the internet at <code>stuyctf.me:22346</code><br>",
"threshold": 1,
"weightmap": {"Simple Netcat": 1},
"hint": "Is there something hidden in the output?<br>"
Expand Down
2 changes: 1 addition & 1 deletion STUYCTF_SERVER/Tic-Tac-Toe/problem.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"score": 75,
"category": "Exploitation",
"grader": "./Tic-Tac-Toe/grader.py",
"description": "It is often said that computers have perfected the games of tic-tac-toe... Is that really so?<br><br>Try to beat this computer! We managed to extract the <a href=\"/problem-static/Tic-Tac-Toe/ttt\">binary</a>.<br>The computer has been opened to the internet at <code>stuyctf.me:12348</code><br>",
"description": "It is often said that computers have perfected the games of tic-tac-toe... Is that really so?<br><br>Try to beat this computer! We managed to extract the <a href=\"/problem-static/Tic-Tac-Toe/ttt\">binary</a>.<br>The computer has been opened to the internet at <code>stuyctf.me:12347</code><br>",
"threshold": 1,
"weightmap": {"Object Dumps": 1, "Easy Overflow": 1},
"hint": "This is another buffer overflow exploit! You're going in blind this time.<br>"
Expand Down
2 changes: 1 addition & 1 deletion Tic-Tac-Toe_75/problem.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
It is often said that computers have perfected the games of tic-tac-toe... Is that really so?

Try to beat this computer! We managed to extract the <a href="/problem-static/Tic-Tac-Toe/ttt">binary</a>.
The computer has been opened to the internet at <code>stuyctf.me:12348</code>
The computer has been opened to the internet at <code>stuyctf.me:12347</code>

0 comments on commit 965d61d

Please sign in to comment.