Skip to content

text-generation-webui

Quick Reference

Category: InferenceEngine  |  OS: Windows, Linux, macOS  |  Privileges: user  |  Free: Yes

text-generation-webui (also known as oobabooga) is a Python-based web interface and API server for running local LLMs. It supports multiple model formats (GGUF, GPTQ, AWQ, ExLlamaV2) and backends (llama.cpp, transformers, ExLlama). It exposes a Gradio web UI on port 7860 and an OpenAI-compatible API on port 5000. The application is commonly installed via a one-click installer script that bundles Conda/Python. Its wide format support and API compatibility make it a common choice for automated and scripted LLM abuse.


Details

Field Value
Website https://github.com/oobabooga/text-generation-webui
License Apache-2.0

Capabilities: LocalInference, APIServer, ModelDownload, GPUAcceleration


Disk Artifacts

Path OS Type Phase Trust Description
*/text-generation-webui/start_linux.sh Linux Binary Install — Linux one-click start script bundled with the installer
*/text-generation-webui/start_windows.bat Windows Binary Install — Windows one-click start batch script
*/text-generation-webui/server.py Any Binary Install — Main Python application entry point
*/text-generation-webui/models/ Any Cache Install — Default model storage directory (relative to install path)
*/text-generation-webui/characters/ Any Config Activation — Character/persona definition files — may reveal intended use
*/text-generation-webui/logs/ Any Log Use — Chat and API request logs

Model Storage

*/text-generation-webui/models/**/*.gguf (Any) — GGUF models loaded via llama.cpp backend (Install)

Format Magic Bytes (hex) Offset
GGUF 47 47 55 46 0

Process Artifacts

python (Use)

Python process running server.py — the main web UI and API server

Expected parent: bash

CLI Pattern Phase Trust Description
python.*server\.py Use — Main server process
python.*server\.py.*--api Activation — Server started with API mode enabled
python.*server\.py.*--listen Abuse — Server exposed beyond localhost (--listen flag)

Network Artifacts

Description Protocol Ports Bind Address Domains Phase Trust
Gradio web UI interface TCP 7860 127.0.0.1 — Use —
OpenAI-compatible REST API (enabled with --api flag) TCP 5000 127.0.0.1 — Use —

Persistence Mechanisms

OS Type Path Phase Trust Description
Linux Service /etc/systemd/system/text-generation-webui.service Activation — User-created systemd unit for persistent background operation

Windows Event Log

Event ID Provider Log File Phase Trust Description
4688 Microsoft-Security-Auditing Security.evtx Use — Process creation for python.exe running server.py

Detection Rules

YARA

  • detections/yara/gguf_magic_bytes.yar (Install; trust: —) — Matches GGUF models in the models/ directory

References

  • https://github.com/oobabooga/text-generation-webui

  • https://github.com/oobabooga/text-generation-webui/wiki/12-%E2%80%90-OpenAI-API