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

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
permhash — Chromium एक्सटेंशन और APK में घोषित अनुमतियों की हैशिंग के लिए फ्रेमवर्क, जो संभावित रूप से दुर्भावनापूर्ण पैकेजों में क्लस्टरिंग, हंटिंग और पिवोटिंग को सक्षम बनाता है। | Kitploit
उपकरण/GitHubGitHub/google/permhash
एंड्रॉइड सुरक्षास्थैतिक विश्लेषणहैश विश्लेषणमालवेयर विश्लेषणडिजिटल फोरेंसिकमोबाइल सुरक्षा
GitHubgoogle/permhash

permhash

Chromium एक्सटेंशन और APK में घोषित अनुमतियों की हैशिंग के लिए फ्रेमवर्क, जो संभावित रूप से दुर्भावनापूर्ण पैकेजों में क्लस्टरिंग, हंटिंग और पिवोटिंग को सक्षम बनाता है।

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

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

सभी देखें →

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

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

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

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

PyPi Version

Permhash एक extensible framework है जो Chromium-आधारित ब्राउज़र एक्सटेंशन और APKs पर लागू घोषित permissions को hash करता है, जिससे import hashing और rich header hashing के समान clustering, hunting और pivoting संभव होता है।

Permhash वर्तमान में चार प्रकार की फ़ाइलों पर चलने में सक्षम है, लेकिन इससे आगे भी extensible है:

  1. एक Android Package (APK) फ़ाइल।
  2. एक Chromium-आधारित Extension फ़ाइल (CRX)।
  3. APKs के भीतर root directory में पाई जाने वाली एक AXML Android Manifest फ़ाइल।
  4. एक Chromium-आधारित एक्सटेंशन से एक JSON Extension Manifest।

डाउनलोड और उपयोग

permhash लाइब्रेरी इंस्टॉल करें

root@kitploit:~
pip install permhash

लाइब्रेरी उपयोग

permhash इम्पोर्ट करें

root@kitploit:~
from permhash import functions as permhash

permhash का उपयोग करें

root@kitploit:~
# The path variable should be the full path to the file you wish to use to calculate the permhash.

# Calculate the permhash for a CRX
ph = permhash.permhash_crx(path)

# Calculate the permhash for a CRX manifest
ph = permhash.permhash_crx_manifest(path)

# Calculate the permhash for an APK
ph = permhash.permhash_apk(path)

# Calculate the permhash for an APK manifest
ph = permhash.permhash_apk_manifest(path)

उदाहरण

थोक में permhash की गणना करने का एक उदाहरण।

root@kitploit:~
import csv
import os
from permhash import functions as permhash


def bulk_permhash_crx_manifest(path, output):
    """
    Computes the permhash from a directory of CRX manifests
    Outputs the results in a csv passed as input

    :param path: The targeted directory
    :type path: string
    :param output:
    :type path: string

    """
    with open(output, mode="w", encoding="utf-8") as results:
        out_writer = csv.writer(
            results, delimiter=",", quotechar='"', quoting=csv.QUOTE_MINIMAL
        )
        out_writer.writerow(["filename", "permhash"])
        for filename in os.listdir(path):
            if path.endswith("/"):
                full_path = path + filename
            else:
                full_path = path + "/" + filename
            calculated_permhash = permhash.permhash_crx_manifest(full_path)
            if calculated_permhash:
                out_writer.writerow([filename, calculated_permhash])

कमांडलाइन उपयोग

Permhash को कमांडलाइन टूल के रूप में भी उपयोग किया जा सकता है। --path/-p स्विच में permhash की गणना करने के लिए फ़ाइल का पूरा पथ और --type/-t स्विच में विश्लेषित की जा रही फ़ाइल का प्रकार प्रदान करें। कमांड permhash आउटपुट करेगा या अमान्य फ़ाइल होने पर False आउटपुट करेगा।

root@kitploit:~
permhash --type crx --path '[PATH TO CRX File]'
permhash --type crx_manifest --path '[PATH TO CRX Manifest File]'
permhash --type apk --path '[PATH TO APK File]'
permhash --type apk_manifest --path '[PATH TO APK Manifest Files]'

अधिक जानकारी

Permhash

अधिक विवरण के लिए Mandiant Permhash Blog देखें।

चर्चा

चर्चा को सुविधाजनक बनाने के लिए Permhash Google Group का उपयोग किया जा सकता है।

अस्वीकरण

यह आधिकारिक रूप से समर्थित Google उत्पाद नहीं है।

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