Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
Log in
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

फ़ीडसंपर्कगोपनीयता© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
BrokenHill — बड़े भाषा मॉडल (LLMs) के लिए एक उत्पादन-स्तरीय ग्रीडी कोऑर्डिनेट ग्रेडिएंट (GCG) आक्रमण उपकरण | Kitploit
उपकरण/GitHubGitHub/bishopfox/brokenhill
शोषणमशीन लर्निंगरेड टीमिंगAI सुरक्षाप्रतिकूल हमला
GitHubbishopfox/brokenhill

BrokenHill

बड़े भाषा मॉडल (LLMs) के लिए एक उत्पादन-स्तरीय ग्रीडी कोऑर्डिनेट ग्रेडिएंट (GCG) आक्रमण उपकरण

रिपॉजिटरी देखें
17225151 साल पहलेKitploit द्वारा समीक्षित

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

Broken Hill documentation

Table of contents

  1. Prerequisites
  2. Setup
  3. Use
  4. Options you will probably want to use frequently
  5. Examples
  6. Observations and recommendations
  7. Extracting result information
  8. Notes on specific models Broken Hill has been tested against
  9. Troubleshooting
  10. Frequently-asked questions (FAQ)
  11. Curated results
  12. Additional information

Prerequisites

  • The best-supported platform for Broken Hill is Linux. It has been tested on Debian, so these steps should work virtually identically on any Debian-derived distribution (Kali, Ubuntu, etc.).
  • Broken Hill versions 0.34 and later have also been tested successfully on Mac OS and Windows using CPU processing (no CUDA hardware).
  • Broken Hill versions 0.35 and later have also been tested successfully on Windows using CUDA processing.
  • If you want to perform processing on CUDA hardware:
    • For Linux:
      • Your Linux system should have some sort of reasonably modern Nvidia GPU. Using Broken Hill against most popular/common LLMs will require at least 24 GiB of VRAM. It has been tested on an RTX 4090, but other Nvidia GPUs with 24 GiB or more of VRAM should work at least as well.
        • You can still test smaller models on Nvidia GPUs with 8 or 16 GiB of VRAM. See the memory requirements document for guidelines.
        • You should have your Linux system set up with a working, reasonbly current version of Nvidia's drivers and the CUDA Toolkit. One way to validate that the drivers and toolkit are working correctly is to try running hashcat in benchmarking mode. If you get results that are more or less like the results other hashcat users report for the same hardware, your drivers are probably working more or less correctly. If you see warnings or errors about the driver, "NVIDIA CUDA library", or "NVIDIA RTC library", you should troubleshoot those and get hashcat running without errors before proceeding.
    • For Windows:
      • You should have a reasonably recent version of the Nvidia drivers installed. We tested using the "Studio" version of the driver, without "Nvidia Experience".
  • Only Python 3.11.x is supported at this time. Using another Python version may result in issues with some of Broken Hill's third-party dependencies. If you are using another Python version, you should install the latest release of 3.11 in a side-by-side configuration and refer to the 3.11 binary explicitly when creating the Python virtual environment. Side-by-side Python version installation differs by platform, so if you're not already familiar with it, you'll need to do some web searching to determine what options you have and which approach you like best.
    • On our test Debian system, we use apt to install multiple versions and then call the specific version we need in the shell.
    • On our test Mac OS and Windows systems, we explicitly install the latest release of Python 3.11 (using brew on Mac OS and manual download/install on Windows) and don't have other Python versions installed.
  • Using a Python virtual environment (venv) is strongly recommended, although that feature still doesn't seem to work on Windows. Broken Hill explicitly pins specific versions of third-party dependencies because so many of them are fragile and frequently introduce breaking changes. That means if you're using Python for anything other than Broken Hill, you're likely to run into dependency conflicts unless you use a virtual environment. If you can't use a Python virtual environment (e.g. because you're using Windows), you should create a separate user account specifically for Broken Hill, and install the dependencies in user mode instead of system-wide.
  • To install Broken Hill using the standard process on Windows, you'll need a command-line Windows Git client, such as this package.

Setup

Make sure you've read through the "Prerequisites" section, above.

Linux and Mac OS

$ git clone https://github.com/BishopFox/BrokenHill

$ python -m venv ./

$ bin/pip install ./BrokenHill/

Windows

CUDA support for Windows

If you want to venture into the wild and try to get CUDA support working on Windows, follow the PyTorch instructions for installing a CUDA-enabled version of PyTorch on your system before or after you install Broken Hill, e.g.:

pip install --force-reinstall torch --index-url https://download.pytorch.org/whl/cu124

Performing this step before installing Broken Hill will save you time, because only one version of a fairly large Python library will be loaded.

Broken Hill setup for Windows

Windows still doesn't seem to support Python virtual environments, so you should create a user account specifically for Broken Hill and log in as that user account, then run:

$ git clone https://github.com/BishopFox/BrokenHill

$ pip install --user ./BrokenHill/

You will also need to omit the bin/ section of the pip and python commands throughout this documentation.

Optional - install fschat library from PyPi instead of source

The pyproject.toml-based configuration used by versions of Broken Hill 0.34 and later automatically installs the fschat Python library from source to pick up newer conversation templates and other definitions, because as of this writing, the main branch of fschat has the same version number as the latest version in PyPi, but the code has been updated significantly for almost a year after the last PyPi release. Most users should just install using pyproject.toml and skip to the flash_attn section, below.

If you want to install the older version of fschat from PyPi instead for some reason (for example, if the referenced GitHub repo is deleted), comment out this line in pyproject.toml:

  "fschat[model_worker,webui] @ git+https://github.com/lm-sys/FastChat",

...and uncomment this line:

#  "fschat==0.2.36",

...then re-run bin/pip install ./BrokenHill/.

Optional - install flash_attn library

Some models will encourage you to install the flash_attn library. Broken Hill does not do this by default because some features of that library only support CUDA devices, and will cause Broken Hill to crash with arcane, obscure errors if - for example - it is used on a CPU device for testing purposes.

If you are only going to be using Broken Hill in the recommended configuration (CUDA hardware only), you can run bin/pip install flash_attn, or uncomment the following line in pyproject.toml before running bin/pip install ./BrokenHill/:

#  "flash_attn==2.6.3",

Use

Required parameters

टूल डाउनलोड करें