Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Dec 4, 2024
1 parent 4a2b9d0 commit e1d3a08
Show file tree
Hide file tree
Showing 64 changed files with 32 additions and 32 deletions.
Binary file modified integrated-security/web-overflow-client/_0/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_0/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_1/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_1/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_10/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_10/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_11/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_11/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_12/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_12/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_13/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_13/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_14/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_14/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_15/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_15/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_2/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_2/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_3/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_3/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_4/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_4/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_5/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_5/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_6/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_6/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_7/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_7/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_8/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_8/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow-client/_9/server
Binary file not shown.
2 changes: 1 addition & 1 deletion integrated-security/web-overflow-client/_9/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_0/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_1/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_10/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_11/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_12/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_13/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_14/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_15/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_2/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_3/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_4/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_5/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_6/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_7/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_8/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down
Binary file modified integrated-security/web-overflow/_9/integration-web-overflow
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void send_file(int client_fd, char *path)
response.head += sprintf(response.head, "Content-Length: %d\n", file_stat.st_size);
response.head += sprintf(response.head, "\n");
response.head += read(file_fd, response.head, file_stat.st_size);
REQUIRE(!strstr(response.content, "pwn.college"), 403);
REQUIRE(!strstr(response.content, "pwn.college{"), 403);
write(client_fd, response.content, response.head-response.content);
close(file_fd);

Expand Down

0 comments on commit e1d3a08

Please sign in to comment.