Skip to content

Instantly share code, notes, and snippets.

cargo_build(NAME test-lib)
#ifndef TEST_LIB
#define TEST_LIB
#ifdef __cplusplus
extern "C" {
#endif
void print_hello();
#ifdef __cplusplus
@ekse
ekse / CMakeLists.txt
Last active April 27, 2018 04:14
CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(CMakeRustSample)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
enable_language(Rust)
include(CMakeCargo)
include_directories("include")
#include "test_lib.h"
int main(int argc, char* argv[]) {
print_hello();
}
@ekse
ekse / gitlab.md
Created May 19, 2026 23:35
gitlab.monsatan.ctf

gitlab.monsatan.ctf

From chatbot.monsatan.ctf, we tried going to monsatan.ctf. The html contained a comment with "Comment out for prod" and the link to http://gitlab.monsatan.ctf.

Flag #1: The README.md contained a flag.

Flag #2: One of the commits deleted a script that was commited by mistake, that script contained a flag and a personal access token (pat).

#!/bin/bash