Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/0xdea/oneiromancer
Static AnalysisVulnerability AnalysisCode AnalysisReverse EngineeringUtilities & FrameworksAI-Assisted Reversing
GitHub0xdea/oneiromancer

oneiromancer

Reverse engineering assistant that uses a locally running LLM to aid with pseudocode analysis.

저장소 보기
1441116일 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
웹사이트
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

oneiromancer

build

"A large fraction of the flaws in software development are due to programmers not fully understanding all the possible states their code may execute in." -- John Carmack

"Can it run Doom?" -- https://canitrundoom.org/

Oneiromancer is a reverse engineering assistant that uses a locally running LLM that has been fine-tuned for Hex-Rays pseudocode to aid with code analysis. It can analyze a function or a smaller code snippet, returning a high-level description of what the code does, a recommended name for the function, and variable renaming suggestions, based on the results of the analysis.

Features

  • Cross-platform support for the fine-tuned LLM aidapal based on mistral-7b-instruct.
  • Easy integration with the pseudocode extractor haruspex and popular IDEs.
  • Code description, recommended function name, and variable renaming suggestions are printed on the terminal.
  • Improved pseudocode of each analyzed function is saved in a separate file for easy inspection.
  • External crates can invoke analyze_code or analyze_file to analyze pseudocode and then process analysis results.

Article

  • https://hnsecurity.it/blog/aiding-reverse-engineering-with-rust-and-a-local-llm

See also

  • https://www.atredis.com/blog/2024/6/3/how-to-train-your-large-language-model
  • https://huggingface.co/AverageBusinessUser/aidapal
  • https://github.com/atredispartners/aidapal
  • https://plugins.hex-rays.com/atredispartners/aidapal

Installing

The easiest way to get the latest release is via crates.io:

root@kitploit:~
cargo install oneiromancer

To install as a library, run the following command in your project directory:

root@kitploit:~
cargo add oneiromancer

Compiling

Alternatively, you can build from source:

root@kitploit:~
git clone https://github.com/0xdea/oneiromancer
cd oneiromancer
cargo build --release

Configuration

  1. Download and install Ollama.
  2. Download the fine-tuned weights and the Ollama modelfile from Hugging Face:
    root@kitploit:~
    wget https://huggingface.co/AverageBusinessUser/aidapal/resolve/main/aidapal-8k.Q4_K_M.gguf
    wget https://huggingface.co/AverageBusinessUser/aidapal/resolve/main/aidapal.modelfile
    
  3. Configure Ollama by running the following commands within the directory in which you downloaded the files:
    root@kitploit:~
    ollama create aidapal -f aidapal.modelfile
    ollama list
    

Usage

  1. Run oneiromancer as follows:
    root@kitploit:~
    export OLLAMA_BASEURL=custom_baseurl # if not set, the default will be used
    export OLLAMA_MODEL=custom_model # if not set, the default will be used
    oneiromancer <target_file>.c
    
  2. Find the improved pseudocode in <target_file>.out.c:
    root@kitploit:~
    vim <target_file>.out.c
    code <target_file>.out.c
    

[!TIP] For best results, submit one function at a time to be analyzed by the LLM.

Compatibility

Tested with Ollama 0.32.9 on:

  • Apple macOS Tahoe 26.5.2
  • Ubuntu Linux 24.04.2 LTS
  • Microsoft Windows 11 23H2

Credits

  • Chris Bellows (@AverageBusinessUser) at Atredis Partners for his fine-tuned LLM aidapal <3

Changelog

  • CHANGELOG.md

TODO

  • Improve output file handling with versioning and/or an output directory.
  • Implement other features of the IDAPython aidapal IDA Pro plugin (e.g., context).
  • Integrate with haruspex and idalib.
  • Implement a "minority report" protocol (i.e., make three queries and select the best responses).
  • Consider a refactor of variable renaming to prevent potential code corruption.
  • Investigate other use cases for the aidapal LLM and implement a modular architecture to plug in custom LLMs.
도구 다운로드