ADMsmb port

This commit is contained in:
dugsong 1999-05-31 17:12:15 +00:00
parent 3e6aa33dbd
commit 97d75eadac
8 changed files with 142 additions and 0 deletions

27
security/ADMsmb/Makefile Normal file
View File

@ -0,0 +1,27 @@
# Makefile for: ADMsmb
# Version required: 0.2
# Date created: 14 Mar 1999
# Whom: dugsong@monkey.org
#
# $OpenBSD: Makefile,v 1.1.1.1 1999/05/31 17:12:15 dugsong Exp $
PKGNAME= ADMsmb-0.2
CATEGORIES= security
DISTNAME= ADMsmb-v0.2
EXTRACT_SUFX= .tgz
MASTER_SITES= ftp://ADM.isp.at/ADM/ \
http://ADM.isp.at/ADM/
MAINTAINER= dugsong@monkey.org
WRKSRC= ${WRKDIR}/ADM-SAMBA-CLIENT
NO_CONFIGURE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ADM-smb ${PREFIX}/bin/ADMsmb
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
SHA1 (ADMsmb-v0.2.tgz) = 390c3c60dc3a8d855eb5bf597b92ac10667dc26d
RMD160 (ADMsmb-v0.2.tgz) = 1e36ebbbe49220b2aa493390fd95352b6108e505
MD5 (ADMsmb-v0.2.tgz) = 0e8588572439d72848c5be7be5f987a5

View File

@ -0,0 +1,17 @@
--- Makefile.orig Mon May 31 12:48:45 1999
+++ Makefile Mon May 31 12:51:46 1999
@@ -137,11 +137,11 @@
# Use this for Linux with glibc2 (libc6) - RedHat Linux v5.0 with PAM
# contributed by John H Terpstra <jht@aquasoft.com.au>
- FLAGSM = -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2
- LIBSM = -lnsl -lcrypt
+# FLAGSM = -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2
+# LIBSM = -lnsl -lcrypt
# FOR OPEN BSD (thnx to jobe )
-# FLAGSM = -DFAST_SHARE_MODES -DBSD44
+FLAGSM = -DFAST_SHARE_MODES -DBSD44
######################################################################

View File

@ -0,0 +1,11 @@
--- client.c-orig Mon May 31 12:54:36 1999
+++ client.c Mon May 31 12:54:43 1999
@@ -74,8 +74,6 @@
#include "includes.h"
#include "ADMsmb.c"
-#include <getopt.h>
-
#ifndef REGISTER
#define REGISTER 0
#endif

View File

@ -0,0 +1,12 @@
--- includes.h-orig Mon May 31 12:59:37 1999
+++ includes.h Mon May 31 13:00:13 1999
@@ -565,6 +565,9 @@
#include <netinet/tcp.h>
#define NO_GETSPNAM
#define SIGNAL_CAST (void (*)())
+#ifndef QSORT_CAST
+#define QSORT_CAST (int (*)(const void *, const void *))
+#endif /* QSORT_CAST */
#define USE_DIRECT
#define REPLACE_INNETGR
#define HAVE_BZERO

View File

@ -0,0 +1 @@
Samba security scanner

70
security/ADMsmb/pkg/DESCR Normal file
View File

@ -0,0 +1,70 @@
___ ______ _ _
/ \ | _ \ | \ / |
| / \ | | | \ | | \_/ |
| |___| | | |_ / | | \_/ |
..oO THE | --- | | / | | | | CreW Oo..
''' ''' ''''''' '''' ''''
presents
[ ADM smb v 0.2 ]
ftp://ADM.isp.at/ADM/ADMsmb-v0.2.tgz
[* Story *]
Well when I started to port ADMhack to libc6,
I thought of putting in some extra functionality.
Well, in effect, I've totally rewritten the samba test function. :)
I was thinking about NAT (from SECNET), which is a great tool.
But it fails sometimes, and is not very fast.
But ADMsmb is NOT NAT ! I wrote my own program for Samba (coded in one
day), so if you find a bug, pitty me. :)
[* description *]
ADM smb is a security scanner for Samba
/* based on the src of the smbclient from the samba team */
ADMsmb will perform a complete audit of samba for you on a host you
provide.
[* general *]
1: Get the netbios name of the machine
2: Give you information about this machine
{
share list;
workgroup;
domain;
os;
}
3: try to access any shares exported
4: perform a session brute force
5: perform brute force on a directory specified.
[* Bug! *]
no bug reported at this time
[* feature *]
multi socket brute force
Xwin interface ?
[* how to contact us ? *]
(no idea :> )
where you can download it ?
howto get the last version ?
our url ! ftp://ADM.isp.at/ADM/
cya !
[ credit's ]
read client.c !
-- ** The ADM Crew ** --

View File

@ -0,0 +1 @@
bin/ADMsmb