This file is indexed.

/usr/share/IlohaMail/include/super2global.inc is in ilohamail 0.8.14-0rc3sid6.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/********************************************************
	include/super2global.inc
	
	(C)Ryo Chijiiwa <Ryo@IlohaMail.org> 2002 

	This file is part of IlohaMail, and released under GPL.
	See COPYING, or http://www.fsf.org/copyleft/gpl.html
	
	PURPOSE:
		Convert super globals (in PHP > 4.1) to globals.

********************************************************/

error_reporting(E_ERROR | E_WARNING | E_PARSE);

function input_filter($name, $str){
	if (!ereg('[a-z]',$name)) return '';
	if (ini_get('magic_quotes_gpc')!=1 && is_string($str))	$str = addslashes($str);
	return $str;
}

if (isset($_GET)){
	while ( list($var, $val) = each($_GET) ) $$var = input_filter($var,$val);
}

if (isset($_POST)){
	while ( list($var, $val) = each($_POST) ) $$var = input_filter($var,$val);
}

if (isset($_FILES)){
	while ( list($n, $val) = each($_FILES) ){
		$$n = $_FILES[$n]['tmp_name'];
		$var = $n."_name";
		$$var = $_FILES[$n]['name'];
		$var = $n."_size";
		$$var = $_FILES[$n]['size'];
		$var = $n."_type";
		$$var = $_FILES[$n]['type'];
	}
}

if (!empty($_COOKIE["ILOHAMAIL_SESSION"])){
	$ILOHAMAIL_SESSION = input_filter('ok', $_COOKIE["ILOHAMAIL_SESSION"]);
	$user = $ILOHAMAIL_SESSION;
	$session = $user;
}

include_once("../include/langs.inc");

//sanitize int_lang...just in case
if (isset($int_lang)){
	if (empty($languages[$int_lang])) $int_lang = "";
}

// validate $lang, set to default
// auth_session should set it to $my_prefs["lang"]
if (empty($languages[$lang])){
	if ((!empty($int_lang)) && ($languages[$int_lang])) $lang = $int_lang;
	else $lang = "eng/";
}

// set some globals
$do_not_die = false;
?>