2f0c8163e7
samdump2 is a tool for dumping Windows 2k/NT/XP password hashes. with some tweaks by and ok ajacoutot@
17 lines
436 B
Plaintext
17 lines
436 B
Plaintext
$OpenBSD: patch-samdump2_c,v 1.1.1.1 2009/06/02 08:36:02 benoit Exp $
|
|
--- samdump2.c.orig Thu Oct 2 15:44:47 2008
|
|
+++ samdump2.c Thu May 28 23:24:23 2009
|
|
@@ -41,7 +41,12 @@
|
|
#ifdef BYTE_ORDER
|
|
#if BYTE_ORDER == LITTLE_ENDIAN
|
|
#elif BYTE_ORDER == BIG_ENDIAN
|
|
+#ifndef __OpenBSD__
|
|
#include <byteswap.h>
|
|
+#else
|
|
+#include <sys/endian.h>
|
|
+#define __bswap_32 __swap32
|
|
+#endif
|
|
#else
|
|
#warning "Doesn't define a standard ENDIAN type"
|
|
#endif
|