This file contains hidden or 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
| --- | |
| description: Autonomous CTF-solving agent that recons, plans, and exploits security challenges end-to-end to capture the flag. | |
| mode: primary | |
| model: heavy | |
| permission: | |
| task: | |
| "*": deny | |
| general: allow | |
| explore: allow | |
| --- |
This file contains hidden or 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
| #!/bin/bash -eu | |
| apps=("O4AS_einstein_x86_64-pc-linux-gnu__cuda1291" "einstein_O4AS_2.03_x86_64-pc-linux-gnu__GW-cuda-2G") | |
| app_short_names=("v0.0.7" "v2.0.3") | |
| set +m | |
| export CUDA_MPS_PIPE_DIRECTORY=/tmp/nvidia-mps | |
| export CUDA_MPS_LOG_DIRECTORY=/tmp/nvidia-log | |
| export CUDA_VISIBLE_DEVICES=0 | |
| echo quit | nvidia-cuda-mps-control || true | |
| for mps_pct in 20 40 70 100; do |
This file contains hidden or 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
| <?xml version="1.0"?> | |
| <!-- | |
| Specifies the configuration data | |
| for Intel Low Power Mode daemon | |
| --> | |
| <Configuration> | |
| <!-- | |
| CPU format example: 1,2,4..6,8-10 |
This file contains hidden or 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
| #include <array> | |
| #include <cassert> | |
| #include <cstddef> | |
| #include <cstdint> | |
| #include <cstdio> | |
| #include <immintrin.h> | |
| #include <unistd.h> | |
| #include <sys/syscall.h> |
This file contains hidden or 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
| https://godbolt.org/z/9633WhEYY | |
| https://godbolt.org/z/bY66b7qqG | |
| https://gist.github.com/vient/0264b17c517edc86c7ba211f4e3a8d58 |
This file contains hidden or 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
| .PHONY: nopie pie static hook clean | |
| nopie: | |
| gcc -no-pie main.c -o main | |
| pie: | |
| gcc main.c -o main | |
| static: | |
| gcc -static main.c -o main |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import functools | |
| import operator | |
| import sys | |
| import z3 | |
| def rev(state): | |
| s = z3.Solver() | |
| old = z3.Bools(' '.join(f'a{i}' for i in range(len(state)))) |
This file contains hidden or 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
| import idaapi | |
| import idc | |
| # idautils.DecodeInstruction(here()).itype | |
| JMP = 0x56 | |
| JL = 0x40 | |
| JLE = 0x41 | |
| JG = 0x3E | |
| JE = 0x55 | |
| JZ = JE |
This file contains hidden or 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
| @echo off | |
| setlocal | |
| reg query HKCR\IDApro.Database32\shell\open\command > NUL | |
| if errorlevel 1 goto idb_handler_not_found | |
| for /f tokens^=2^ delims^=^" %%a in ('reg query "HKCR\IDApro.Database32\shell\open\command" ^| findstr /ri "REG_SZ"') do set IDA_DIR=%%~dpa | |
| echo IDA folder %IDA_DIR% |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import 𝗌𝔶𝘴 | |
| import 𝚛𝖺𝔫ⅆom | |
| import 𝒔𝘵𝓻𝒾𝚗𝒈 | |
| import u𝘯𝕚c𝕠𝒹e𝖽𝙖𝕥𝖆 | |
| from p𝔶𝘨m𝑒𝙣t𝑠 import ₗⅇₓₑrſ as L𝘦𝗑𝚎ᵣ𝐬 | |
| 𝖀𝗡𝕴𝑪O𝑫ℰ_𝘾𝐴𝙲ℋ𝐄𝕾 = {} | |
| def 𝘧𝕚𝓵𝘭_u𝙣ⁱ𝙘𝗈de_𝓷𝙖𝐦𝙚𝕤(): |
NewerOlder