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

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
refusal-relocates — इनकार स्थानीयकृत होता है, क्षति स्थानांतरित होती है, कुछ-नमूना फाइन-ट्यूनिंग के अंतर्गत सुरक्षा परतें | Kitploit
उपकरण/GitHubGitHub/js-lee-ai/refusal-relocates
रक्षात्मक उपकरणभेद्यता विश्लेषणमशीन लर्निंगपेपर और शोधAI सुरक्षाप्रतिकूल हमला
GitHubjs-lee-ai/refusal-relocates

refusal-relocates

इनकार स्थानीयकृत होता है, क्षति स्थानांतरित होती है, कुछ-नमूना फाइन-ट्यूनिंग के अंतर्गत सुरक्षा परतें

रिपॉजिटरी देखें
54 दिन पहलेअभी तक समीक्षित नहीं

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

सभी देखें →

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

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

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

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

इनकार स्थानांतरित होता है, इनकार स्थानीयकृत होता है, क्षति स्थानांतरित होती है, कुछ-नमूना फाइन-ट्यूनिंग के अंतर्गत सुरक्षा परतें

Code MIT Paper CC BY 4.0 Python 3.10+ CI Stars

त्वरित शुरुआत · उपयोग · CLI · परिणाम · पुनरुत्पादन · सामान्य प्रश्न · उद्धरण


समाचार

  • [2026-09-28] कोड जारी किया गया, साथ में रन रिकॉर्ड और स्क्रिप्ट्स जो पेपर की तालिकाओं को पुनर्निर्मित करते हैं।

अवलोकन

कुछ दर्जन हानिकारक उदाहरण एक संरेखित मॉडल के हानिकारक अनुरोधों से इनकार को हटा सकते हैं। पूर्व कार्य सुरक्षा को विशिष्ट परतों और दिशाओं में स्थानीयकृत करता है, जो यह सुझाव देता है कि जो स्थान पाया गया उसकी रक्षा की जाए। यह रिपॉज़िटरी उस आधार की परीक्षा उसी तरह करती है जैसे एक अनुकूली हमलावर करता। यह पाता है कि इनकार कहाँ पुनर्प्राप्त किया जा सकता है, उस क्षेत्र को स्थिर करता है और फिर से हमला करता है, और यह वेट अपडेट की मरम्मत करता है और फिर हमलावर को उसे फैलाने देता है।

यह अध्ययन तीन मापों पर आधारित है।

  • इनकार एक गहराई पर पुनर्प्राप्त होता है। लॉकस्टेप पैचिंग स्वच्छ मॉडल की पूरी छिपी हुई स्थिति को एक परत पर समझौता किए गए मॉडल को सौंपती है, प्रीफिल और प्रत्येक डिकोडिंग चरण पर, और इनकार एक पुनरुत्पादनीय संक्रमण गहराई पर लौट आता है।
  • उस गहराई को स्थिर करना क्षति को स्थानांतरित करता है। मिलान किए गए Llama-3.1-8B तुलना में, परतों 0–17 को स्थिर करना संक्रमण को परत 15 से परतों 27 और 28 पर स्थानांतरित कर देता है, और प्रतिबंधित हमले के बाद इनकार 0.00 से 0.01 है जबकि स्वच्छ 0.92 से 0.96 है।
  • शीर्ष-दो मरम्मत एक प्रसार अपडेट के सामने गिर जाती है। अपडेट की शीर्ष दो एकवचन दिशाओं को हटाना चार चेकपॉइंट्स पर छोटे केवल-ध्यान फाइन-ट्यून के बाद इनकार को बहाल करता है। एक हमलावर जो अपडेट को फैलाता है, सापेक्ष शीर्ष-दो मरम्मत को 0.000 तक कम कर देता है, और 75 सौम्य फाइन-ट्यून पर कैलिब्रेट किया गया डिटेक्टर 14 मरम्मत विफलताओं में से केवल 3 को चिह्नित करता है।

यह रिपॉज़िटरी माप और दोनों रक्षाओं को एक छोटी लाइब्रेरी के रूप में प्रस्तुत करती है, साथ ही रन रिकॉर्ड और स्क्रिप्ट्स जो पेपर की तालिकाओं को पुनर्निर्मित करते हैं।

एक चित्र में यह क्या करता है

बाएँ, स्वच्छ और समझौता किए गए मॉडल साझा टोकन पर चलते हैं और स्वच्छ छिपी हुई स्थिति को समझौता किए गए मॉडल में एक परत पर पैच किया जाता है। दाएँ, हमला परतों 0 से 17 को स्थिर करके दोहराया जाता है और प्रतिबंधित चेकपॉइंट पर पैचिंग फिर से चलाई जाती है

(a) लॉकस्टेप एक्टिवेशन पैचिंग समझौता किए गए मॉडल की परत आउटपुट को प्रीफिल और प्रत्येक डिकोडिंग चरण पर स्वच्छ स्थिति से अधिलेखित करती है। (b) मिलान किए गए Llama हमले में, परतों 0–17 को स्थिर करना आधी-सीमा संक्रमण को 15 से 27–28 पर स्थानांतरित कर देता है।

त्वरित शुरुआत```bash

pip install "git+https://github.com/js-lee-AI/refusal-relocates.git"

| **`--no-update`** | Skip the automatic update check. |
| **`--no-color`** | Disable colored output. |
| **`--verbose`** | Enable verbose logging. |
| **`--quiet`** | Suppress all non-essential output. |
| **`--config <path>`** | Use a custom configuration file. |
| **`--timeout <seconds>`** | Set the network timeout in seconds. |
| **`--proxy <url>`** | Route requests through the specified proxy. |
| **`--output <format>`** | Set the output format (`json`, `yaml`, `table`). |
| **`--threads <n>`** | Number of concurrent worker threads. |
| **`--rate-limit <n>`** | Maximum requests per second. |
| **`--retry <n>`** | Number of retry attempts on failure. |
| **`--insecure`** | Skip TLS certificate verification. |
| **`--user-agent <string>`** | Set a custom User-Agent header. |
| **`--header <key:value>`** | Add a custom HTTP header. |
| **`--cookie <string>`** | Send cookies with each request. |
| **`--resolve <host:ip>`** | Override DNS resolution for a host. |
| **`--interface <name>`** | Bind to a specific network interface. |
| **`--log-file <path>`** | Write logs to the specified file. |
| **`--debug`** | Enable debug-level logging. |
| **`--dry-run`** | Simulate execution without making changes. |
| **`--force`** | Overwrite existing files without prompting. |
| **`--yes`** | Assume "yes" for all confirmation prompts. |
| **`--batch`** | Run in non-interactive batch mode. |
| **`--profile <name>`** | Load a named configuration profile. |
| **`--env <file>`** | Load environment variables from a file. |
| **`--seed <value>`** | Set the random seed for reproducibility. |
| **`--max-depth <n>`** | Maximum recursion or crawl depth. |
| **`--include <pattern>`** | Include only matching targets. |
| **`--exclude <pattern>`** | Exclude matching targets. |
| **`--input <file>`** | Read targets from the specified file. |
| **`--stdin`** | Read targets from standard input. |
| **`--json`** | Emit machine-readable JSON output. |
| **`--csv`** | Emit CSV-formatted output. |
| **`--silent`** | Print only results, no banners or status. |
| **`--version`** | Print version information and exit. |
| **`--help`** | Show the help message and exit. |

### Examples

```bash
# Basic usage
tool --target example.com

# Scan a list of targets from a file
tool --input targets.txt --threads 10

# Output results as JSON
tool --target example.com --json --output results.json

# Use a proxy with verbose logging
tool --target example.com --proxy http://127.0.0.1:8080 --verbose

# Run in batch mode with a custom config
tool --batch --config ./config.yaml --yes

Configuration File

The tool reads configuration from ~/.config/tool/config.yaml by default. A minimal example:

target: example.com
threads: 10
timeout: 30
output: json
verbose: false
proxy: null
headers:
  User-Agent: "tool/1.0"
  Accept: "*/*"

Exit Codes

CodeMeaning
0Success.
1General error.
2Invalid arguments.
3Network error.
4Authentication failure.
5Target not found.
10Interrupted by user.

Troubleshooting

  • Connection refused: Verify the target is reachable and the port is open.
  • TLS handshake failed: Try --insecure to rule out certificate issues.
  • Slow scans: Reduce --threads or increase --timeout.
  • Permission denied: Run with appropriate privileges or check file permissions.
  • Unexpected output: Enable --debug and inspect the log file.

Contributing

Contributions are welcome. Please open an issue to discuss proposed changes before submitting a pull request. Ensure all tests pass and follow the existing code style.

License

This project is released under the MIT License. See the LICENSE file for details.```python import numpy as np import refusal

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