FreeBSD Bugzilla – Attachment 242188 Details for
Bug 270304
[NEW PORT] security/ismtp : Test for SMTP user enumeration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix the Makefile as in the previous comments
ismtp.diff (text/plain), 3.64 KB, created by
Rihaz Jerrin
on 2023-05-15 09:59:27 UTC
(
hide
)
Description:
fix the Makefile as in the previous comments
Filename:
MIME Type:
Creator:
Rihaz Jerrin
Created:
2023-05-15 09:59:27 UTC
Size:
3.64 KB
patch
obsolete
>From fba28f6d88da4c11654ec20e333823d1a4a6aac0 Mon Sep 17 00:00:00 2001 >From: rihaz jerrin <rihaz.jerrin@gmail.com> >Date: Mon, 15 May 2023 08:24:06 +0530 >Subject: [PATCH] port for security/ismtp > >On branch main >Your branch is up to date with 'origin/main'. > > Changes to be committed: > new file: security/ismtp/Makefile > new file: security/ismtp/distinfo > new file: security/ismtp/files/patch-iSMTP_iSMTP.py > new file: security/ismtp/pkg-descr >--- > security/ismtp/Makefile | 28 +++++++++++++++++++++++ > security/ismtp/distinfo | 3 +++ > security/ismtp/files/patch-iSMTP_iSMTP.py | 18 +++++++++++++++ > security/ismtp/pkg-descr | 5 ++++ > 4 files changed, 54 insertions(+) > create mode 100644 security/ismtp/Makefile > create mode 100644 security/ismtp/distinfo > create mode 100644 security/ismtp/files/patch-iSMTP_iSMTP.py > create mode 100644 security/ismtp/pkg-descr > >diff --git a/security/ismtp/Makefile b/security/ismtp/Makefile >new file mode 100644 >index 000000000..6822bf9d3 >--- /dev/null >+++ b/security/ismtp/Makefile >@@ -0,0 +1,28 @@ >+PORTNAME= ismtp >+DISTVERSION= g20190921 >+CATEGORIES= security >+ >+MAINTAINER= rihaz.jerrin@gmail.com >+COMMENT= Test for SMTP user enumeration,internal spoofing, and relay >+WWW= https://github.com/altjx/ipwn/tree/master/iSMTP >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/iSMTP/LICENSE.md >+ >+USES= python:3.0+ shebangfix >+ >+USE_GITHUB= yes >+GH_ACCOUNT= altjx >+GH_PROJECT= ipwn >+GH_TAGNAME= 18198ad >+ >+NO_BUILD= yes >+ >+SHEBANG_FILES= ${WRKSRC}/iSMTP/iSMTP.py >+ >+PLIST_FILES= bin/ismtp >+ >+do-install: >+ ${INSTALL_SCRIPT} ${WRKSRC}/iSMTP/iSMTP.py ${STAGEDIR}${PREFIX}/bin/ismtp >+ >+.include <bsd.port.mk> >diff --git a/security/ismtp/distinfo b/security/ismtp/distinfo >new file mode 100644 >index 000000000..df636107a >--- /dev/null >+++ b/security/ismtp/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1679123332 >+SHA256 (altjx-ipwn-g20190921-18198ad_GH0.tar.gz) = 0a09e66670294ba7e868274abdc8621c33648a27e2937ece28e46b20bd507480 >+SIZE (altjx-ipwn-g20190921-18198ad_GH0.tar.gz) = 44507 >diff --git a/security/ismtp/files/patch-iSMTP_iSMTP.py b/security/ismtp/files/patch-iSMTP_iSMTP.py >new file mode 100644 >index 000000000..8ae448a0c >--- /dev/null >+++ b/security/ismtp/files/patch-iSMTP_iSMTP.py >@@ -0,0 +1,18 @@ >+--- iSMTP/iSMTP.py.orig 2023-03-18 07:13:19 UTC >++++ iSMTP/iSMTP.py >+@@ -29,13 +29,13 @@ class colors: >+ green = "\033[1;32m" >+ >+ start_time = time.time() >+-banner = "\n " + "-" * 69 + "\n " + colors.white + " iSMTP v1.6 - SMTP Server Tester, Alton Johnson (alton.jx@gmail.com)\n " + colors.normal + "-" * 69 + "\n " >++banner = "\n " + "-" * 69 + "\n " + colors.white + " SMTP Server Tester \n" + colors.normal + "-" * 69 + "\n " >+ split_service = "\n " + colors.white + "-" * 10 + " starting next test " + "-" * 10 + colors.normal + "\n" >+ split_target = "\n " + colors.white + "=" * 23 + " starting next target " + "=" * 23 + colors.normal + "\n" >+ >+ def help(): >+ print(banner) >+- print(" Usage: ./iSMTP.py <OPTIONS>\n") >++ print(" Usage: ismtp <OPTIONS>\n") >+ print(colors.red + " Required:\n" + colors.normal) >+ print("\t-f <import file>\tImports a list of SMTP servers for testing.\n\t\t\t\t(Cannot use with '-h'.)") >+ print("\t-h <host>\t\tThe target IP and port (IP:port).\n\t\t\t\t(Cannot use with '-f'.)") >diff --git a/security/ismtp/pkg-descr b/security/ismtp/pkg-descr >new file mode 100644 >index 000000000..d27e751f0 >--- /dev/null >+++ b/security/ismtp/pkg-descr >@@ -0,0 +1,5 @@ >+SMTP user enumeration (RCPT TO and VRFY), >+internal spoofing, and open relay. >+A tool that tested for all three and >+with great flexibility. iSMTP does just that, >+making it much easier to knock that process out of the way. >-- >2.40.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rihaz.jerrin
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 270304
:
240940
| 242188