Skip to content

Commit

Permalink
security/ismtp: create port
Browse files Browse the repository at this point in the history
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.

WWW: https://github.com/altjx/ipwn/tree/master/iSMTP

PR:		231920
Submitted by:	Rihaz Jerrin <[email protected]>
  • Loading branch information
swills committed May 26, 2019
1 parent fff4f3b commit e42f829
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
SUBDIR += ipsec-tools
SUBDIR += ipv6toolkit
SUBDIR += isakmpd
SUBDIR += ismtp
SUBDIR += isnprober
SUBDIR += jbrofuzz
SUBDIR += john
Expand Down
30 changes: 30 additions & 0 deletions security/ismtp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# $FreeBSD$

PORTNAME= ismtp
DISTVERSION= g20180824
CATEGORIES= security
MASTER_SITES= GH

MAINTAINER= [email protected]
COMMENT= Test for SMTP user enumeration,internal spoofing, and relay

LICENSE= MIT

USES= python:2.7 shebangfix

USE_GITHUB= yes
GH_ACCOUNT= altjx
GH_PROJECT= ipwn
GH_TAGNAME= 32bbc05
GH_SUBDIR= iSMTP

NO_BUILD= yes

SHEBANG_FILES= ${WRKSRC}/${GH_SUBDIR}/iSMTP.py

PLIST_FILES= bin/ismtp

do-install:
${INSTALL_SCRIPT} ${WRKSRC}/iSMTP.py ${STAGEDIR}${PREFIX}/bin/ismtp

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions security/ismtp/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1540519577
SHA256 (altjx-ipwn-g20180824-32bbc05_GH0.tar.gz) = e45307700c9061222c83200f87757eb0977a2f4d28473b35cbbc432a0d7f4092
SIZE (altjx-ipwn-g20180824-32bbc05_GH0.tar.gz) = 38221
11 changes: 11 additions & 0 deletions security/ismtp/files/patch-iSMTP.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- iSMTP.py.orig 2018-10-26 04:04:28 UTC
+++ iSMTP.py
@@ -35,7 +35,7 @@ split_target = "\n " + colors.white + "=" * 23 + " sta

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'.)"
5 changes: 5 additions & 0 deletions security/ismtp/pkg-descr
Original file line number Diff line number Diff line change
@@ -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.

WWW: https://github.com/altjx/ipwn/tree/master/iSMTP

0 comments on commit e42f829

Please sign in to comment.