Files
beef/hook/autorun.js.php
wade@bindshell.net 03ffb4703d Initial Import
git-svn-id: https://beef.googlecode.com/svn/trunk@2 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2010-01-11 00:54:08 +00:00

23 lines
545 B
PHP

<?
// Copyright (c) 2006-2009, Wade Alcorn
// All Rights Reserved
// wade@bindshell.net - http://www.bindshell.net
require_once("../include/globals.inc.php");
require_once("../include/common.inc.php");
session_name(SESSION_NAME);
session_start();
// location of auto run file
$autorun_file = AUTORUN_TMP_DIR . AUTORUN_TMP_FILENAME;
// that auto run been set
if(!file_exists($autorun_file)) { return ""; }
// set up the return_id, session and get the code
$code = module_code_and_result_setup($autorun_file);
echo $code;
?>