
البحث عن مفاتيح API المكشوفة بناءً على RegEx والحصول على طرق استغلال لبعض المفاتيح التي يتم العثور عليها
dora
ripgrep في الخلفيةdora أيضًا المسار إلى الملف والسطر مع السياق لتحليل أسهلتأكد من تثبيت ripgrep
# clone the repo
$ git clone https://github.com/sdushantha/dora.git
# change the working directory to dora
$ cd dora
# install dora
$ python3 setup.py install --user
$ dora --help
usage: dora [options]
positional arguments:
PATH Path to directory or file to scan
optional arguments:
-h, --help show this help message and exit
--rg-path RG_PATH Specify path to ripgrep
--rg-arguments RG_ARGUMENTS
Arguments you want to provide to ripgrep
--json JSON Load regex data from a valid JSON file (default: db/data.json)
--verbose, -v, --debug, -d
Display extra debugging information
--no-color Don't show color in terminal output
apktool وتشغيل dora للعثور على مفاتيح API المكشوفةdora بمسحهاdora لمسح مفاتيح APIنرحب بمساهمتك بأي من الطرق التالية:
info في بيانات JSON لمفتاح API لمساعدة المستخدم بشكل أفضل في الحصول على تقرير صحيح لمكافأة الثغرات عند الإبلاغ عن مفتاح API وجدهالمُنشئ الأصلي - Siddharth Dushantha
تم أخذ العديد من التعبيرات النمطية من مستودعات GitHub التالية:
معظم طرق الاستغلال/إثبات المفهوم تم أخذها من مستودع keyhacks بواسطة streaak