| 1 | /** samdump2.h |
| 2 | Declaration file for samdump2 3.x |
| 3 | |
| 4 | This program is free software; you can redistribute it and/or |
| 5 | modify it under the terms of the GNU General Public License |
| 6 | as published by the Free Software Foundation; either version 2 |
| 7 | of the License, or (at your option) any later version. |
| 8 | |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program; if not, write to the Free Software |
| 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 | |
| 18 | This program is released under the GPL with the additional exemption |
| 19 | that compiling, linking, and/or using OpenSSL is allowed. |
| 20 | |
| 21 | Copyright (C) 2008 Cedric Tissieres <http://www.objectif-securite.ch> |
| 22 | */ |
| 23 | |
| 24 | #ifndef SAMDUMP2_H |
| 25 | #define SAMDUMP2_Hcxx . . $ `samdump2.h:25:9`! |
| 26 | |
| 27 | #ifdef __cplusplus |
| 28 | extern "C" { |
| 29 | #endif |
| 30 | |
| 31 | int bkhivecxx . . $ bkhive(39ba397a76982871).(unsigned char *system, unsigned char *pkey, char *error, int debug); |
| 32 | int samdump2cxx . . $ samdump2(1a80424bda6f31a3).(unsigned char *sam, list_tcxx . . $ list_t# *list, unsigned char *bootkey, char *error, int debug, int live, unsigned int size ); |
| 33 | #ifdef WIN32 |
| 34 | int get_live_syskey(unsigned char *pkey, char *error, int debug); |
| 35 | int get_sam(unsigned char **buff_sam, int *size, char *error, int debug); |
| 36 | #endif |
| 37 | |
| 38 | #ifdef __cplusplus |
| 39 | } |
| 40 | #endif |
| 41 | #endif |