From 3f9b6c057150e41f5b37746ef67c1b8f9b8d3b83 Mon Sep 17 00:00:00 2001 From: Sulaiman Date: Mon, 8 Jul 2024 09:05:47 +0700 Subject: [PATCH] naming update Co-Authored-By: Alaa Abdulridha <53356539+alaa-abdulridha@users.noreply.github.com> Co-Authored-By: Ryan Emmons <70683790+the-emmons@users.noreply.github.com> Co-Authored-By: Guinslym <4588993+guinslym@users.noreply.github.com> Co-Authored-By: Miroslav Stampar Co-Authored-By: Bernardo Damele A. G. Co-Authored-By: Najmi Tanjung <35513648+tanjonk@users.noreply.github.com> Co-Authored-By: D O P P L E R S H I F T <160317126+emonilo@users.noreply.github.com> --- README.md | 19 +++++++++++++++++-- plugins/generic/fingerprint.py | 8 ++++---- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 33ef3bf..444da3c 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,21 @@ pip install -r requirements.txt ```shell python injectionmap_v2.py -u "http://example.com/vulnerable.php?id=1" ``` + +To get a list of **basic options** and switches use: + +```shell +python sqlmap.py -h +``` + +To get a list of **all options** and switches use: + +```shell +python sqlmap.py -hh +``` + +You can find a sample run [here](https://asciinema.org/a/46601). + **Another** injections attack modules: > - Blind SQL Injection @@ -72,5 +87,5 @@ Code contributors of Injectionmap_v2: - GangstaCrew - The Designer -## For more information -visit our GitHub page or contact us at pxmxx3csz@outlook.com +## For more informations +visit our GitHub page, our org, or contact us at pxmxx3csz@outlook.com diff --git a/plugins/generic/fingerprint.py b/plugins/generic/fingerprint.py index dcffd08..52560db 100644 --- a/plugins/generic/fingerprint.py +++ b/plugins/generic/fingerprint.py @@ -9,7 +9,7 @@ from lib.core.common import readInput from lib.core.data import logger from lib.core.enums import OS -from lib.core.exception import SqlmapUndefinedMethod +from lib.core.exception import Injectionmap_v2Method class Fingerprint(object): """ @@ -22,17 +22,17 @@ def __init__(self, dbms): def getFingerprint(self): errMsg = "'getFingerprint' method must be defined " errMsg += "into the specific DBMS plugin" - raise SqlmapUndefinedMethod(errMsg) + raise Injectionmap_v2Method(errMsg) def checkDbms(self): errMsg = "'checkDbms' method must be defined " errMsg += "into the specific DBMS plugin" - raise SqlmapUndefinedMethod(errMsg) + raise Injectionmap_v2Method(errMsg) def checkDbmsOs(self, detailed=False): errMsg = "'checkDbmsOs' method must be defined " errMsg += "into the specific DBMS plugin" - raise SqlmapUndefinedMethod(errMsg) + raise Injectionmap_v2Method(errMsg) def forceDbmsEnum(self): pass