Instructions to use Tayrrr/KaliSupport with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Tayrrr/KaliSupport with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Tayrrr/KaliSupport:Q6_K # Run inference directly in the terminal: llama cli -hf Tayrrr/KaliSupport:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Tayrrr/KaliSupport:Q6_K # Run inference directly in the terminal: llama cli -hf Tayrrr/KaliSupport:Q6_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Tayrrr/KaliSupport:Q6_K # Run inference directly in the terminal: ./build/bin/llama cli -hf Tayrrr/KaliSupport:Q6_K
Use Docker
docker model run hf.co/Tayrrr/KaliSupport:Q6_K
- Llama new
- LM Studio
- Jan
- Ollama
How to use Tayrrr/KaliSupport with Ollama:
ollama run hf.co/Tayrrr/KaliSupport:Q6_K
- Unsloth Desktop
- Pi
How to use Tayrrr/KaliSupport with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tayrrr/KaliSupport:Q6_K
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Tayrrr/KaliSupport:Q6_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Tayrrr/KaliSupport with Docker Model Runner:
docker model run hf.co/Tayrrr/KaliSupport:Q6_K
- Lemonade
How to use Tayrrr/KaliSupport with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Tayrrr/KaliSupport:Q6_K
Run and chat with the model
lemonade run user.KaliSupport-Q6_K
List all available models
lemonade list
- Hermes Agent
How to use Tayrrr/KaliSupport with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tayrrr/KaliSupport:Q6_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Tayrrr/KaliSupport:Q6_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Tayrrr/KaliSupport with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tayrrr/KaliSupport:Q6_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Tayrrr/KaliSupport:Q6_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
File size: 4,446 Bytes
7ea1cf8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | """SSH baglanti testi.
Calistirma:
python test_ssh.py
Yaptiklari:
1. .env'i okur, SSHConfig olusturur (eksik alan varsa erken hata).
2. Kali'ye baglanir, ping atar.
3. Kimlik / sistem dogrulayan bir dizi guvenli komut calistirir.
4. Pentest araclarinin (nmap, gobuster, sqlmap, vs.) varligini kontrol eder.
5. Adim adim yesil/kirmizi rapor basar.
Hata cikarsa son satira bakman yeterli; basarisiz olan adim aciklanir.
"""
from __future__ import annotations
import sys
from typing import Iterable
from logger import SessionLogger
from ssh_client import CommandResult, KaliSSH, SSHConnectionError
# (etiket, komut, basari icin stdout icinde aranacak alt-string ya da None)
SANITY_COMMANDS: tuple[tuple[str, str, str | None], ...] = (
("kullanici", "whoami", None),
("hostname", "hostname", None),
("kernel", "uname -a", "Linux"),
("dagitim", "cat /etc/os-release | head -n 5", "kali"),
("ip adresleri", "hostname -I", None),
("calisma dizini", "pwd", None),
)
PENTEST_TOOLS: tuple[str, ...] = (
"nmap",
"gobuster",
"dirb",
"sqlmap",
"msfconsole",
"hydra",
"nikto",
)
def _color(code: str, text: str) -> str:
return f"\033[{code}m{text}\033[0m"
def _ok(msg: str) -> None:
print(_color("32", "[OK] ") + msg)
def _fail(msg: str) -> None:
print(_color("31", "[FAIL] ") + msg)
def _info(msg: str) -> None:
print(_color("36", "[..] ") + msg)
def _short(text: str, n: int = 200) -> str:
text = text.strip().replace("\n", " | ")
return text if len(text) <= n else text[:n] + "..."
def run_sanity(kali: KaliSSH, items: Iterable[tuple[str, str, str | None]]) -> bool:
all_ok = True
for label, cmd, expect in items:
try:
res: CommandResult = kali.run(cmd, timeout=15)
except SSHConnectionError as exc:
_fail(f"{label}: {exc}")
all_ok = False
continue
if not res.ok:
_fail(f"{label}: exit={res.exit_code} | {_short(res.stderr or res.stdout)}")
all_ok = False
continue
if expect and expect.lower() not in res.stdout.lower():
_fail(f"{label}: '{expect}' beklenirdi ama stdout: {_short(res.stdout)}")
all_ok = False
continue
_ok(f"{label}: {_short(res.stdout)}")
return all_ok
def check_tools(kali: KaliSSH, tools: Iterable[str]) -> None:
print()
_info("Pentest araclari kontrolu (eksik olan varsa: sudo apt install ...)")
for tool in tools:
try:
res = kali.run(f"command -v {tool}", timeout=10)
except SSHConnectionError as exc:
_fail(f"{tool}: {exc}")
continue
if res.ok and res.stdout.strip():
_ok(f"{tool}: {res.stdout.strip()}")
else:
_fail(f"{tool}: bulunamadi")
def main() -> int:
print(_color("1", "=== Kali SSH baglanti testi ==="))
# Test scriptinin kendi [OK]/[FAIL] ciktisi var; logger'i sadece dosyaya yaz.
log = SessionLogger.create(echo_to_console=False)
log.info("ssh_test_start")
try:
kali = KaliSSH.from_config(logger=log)
except Exception as exc: # noqa: BLE001
_fail(f"Konfigurasyon hatasi: {exc}")
log.close()
return 2
_info(
f"Hedef: {kali.cfg.username}@{kali.cfg.host}:{kali.cfg.port} "
f"(anahtar: {kali.cfg.key_path})"
)
try:
kali.connect()
except SSHConnectionError as exc:
_fail(str(exc))
log.close()
return 1
_ok("TCP + kimlik dogrulama basarili")
if not kali.ping():
_fail("Ping (echo pong) basarisiz; kanal saglikli degil")
kali.close()
log.close()
return 1
_ok("Kanal saglikli (echo pong)")
print()
_info("Sanity komutlari calistiriliyor...")
sanity_ok = run_sanity(kali, SANITY_COMMANDS)
check_tools(kali, PENTEST_TOOLS)
kali.close()
log.info("ssh_test_done", sanity_ok=sanity_ok)
log.close()
print()
if sanity_ok:
print(_color("32;1", "TUM SANITY KONTROLLERI GECTI."))
return 0
print(_color("31;1", "BAZI KONTROLLER BASARISIZ. Yukaridaki [FAIL] satirlarini incele."))
return 1
if __name__ == "__main__":
sys.exit(main())
|