-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |