From b3896f3f8c9f4660241b80aa3c5dc48da2ef913c Mon Sep 17 00:00:00 2001 From: laterlaugh <166613655+laterlaugh@users.noreply.github.com> Date: Fri, 12 Apr 2024 22:18:02 +0800 Subject: [PATCH] chore: remove repetitive words (#5687) Signed-off-by: laterlaugh --- lib/takeover/metasploit.py | 2 +- sqlmapapi.py | 2 +- thirdparty/beautifulsoup/__init__.py | 2 +- thirdparty/beautifulsoup/beautifulsoup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/takeover/metasploit.py b/lib/takeover/metasploit.py index 0e88aa1c7..f3028028d 100644 --- a/lib/takeover/metasploit.py +++ b/lib/takeover/metasploit.py @@ -196,7 +196,7 @@ class Metasploit(object): if Backend.isDbms(DBMS.MYSQL): debugMsg = "by default MySQL on Windows runs as SYSTEM " - debugMsg += "user, it is likely that the the VNC " + debugMsg += "user, it is likely that the VNC " debugMsg += "injection will be successful" logger.debug(debugMsg) diff --git a/sqlmapapi.py b/sqlmapapi.py index 7eb435dc5..8527f1e5b 100755 --- a/sqlmapapi.py +++ b/sqlmapapi.py @@ -98,7 +98,7 @@ def main(): apiparser.add_argument("-s", "--server", help="Run as a REST-JSON API server", action="store_true") apiparser.add_argument("-c", "--client", help="Run as a REST-JSON API client", action="store_true") apiparser.add_argument("-H", "--host", help="Host of the REST-JSON API server (default \"%s\")" % RESTAPI_DEFAULT_ADDRESS, default=RESTAPI_DEFAULT_ADDRESS) - apiparser.add_argument("-p", "--port", help="Port of the the REST-JSON API server (default %d)" % RESTAPI_DEFAULT_PORT, default=RESTAPI_DEFAULT_PORT, type=int) + apiparser.add_argument("-p", "--port", help="Port of the REST-JSON API server (default %d)" % RESTAPI_DEFAULT_PORT, default=RESTAPI_DEFAULT_PORT, type=int) apiparser.add_argument("--adapter", help="Server (bottle) adapter to use (default \"%s\")" % RESTAPI_DEFAULT_ADAPTER, default=RESTAPI_DEFAULT_ADAPTER) apiparser.add_argument("--database", help="Set IPC database filepath (optional)") apiparser.add_argument("--username", help="Basic authentication username (optional)") diff --git a/thirdparty/beautifulsoup/__init__.py b/thirdparty/beautifulsoup/__init__.py index 38750ac1e..a905a4ce4 100644 --- a/thirdparty/beautifulsoup/__init__.py +++ b/thirdparty/beautifulsoup/__init__.py @@ -16,7 +16,7 @@ # disclaimer in the documentation and/or other materials provided # with the distribution. # -# * Neither the name of the the Beautiful Soup Consortium and All +# * Neither the name of the Beautiful Soup Consortium and All # Night Kosher Bakery nor the names of its contributors may be # used to endorse or promote products derived from this software # without specific prior written permission. diff --git a/thirdparty/beautifulsoup/beautifulsoup.py b/thirdparty/beautifulsoup/beautifulsoup.py index 60ff0475f..a1dec76f9 100644 --- a/thirdparty/beautifulsoup/beautifulsoup.py +++ b/thirdparty/beautifulsoup/beautifulsoup.py @@ -58,7 +58,7 @@ met: disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of the the Beautiful Soup Consortium and All + * Neither the name of the Beautiful Soup Consortium and All Night Kosher Bakery nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.