This file is indexed.

/usr/share/sadms-2.0.15/session.expect is in sadms 2.0.15.repack-0ubuntu2.

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
# bbou@ac-toulouse.fr
# 2005-09-23 08:14:55  
# session.expect

set PASSPHRASE [lindex $argv 0]
set COMMAND [lindex $argv 1]
set ARGS [lrange $argv 2 [expr [llength $argv] - 1]]

set timeout -1
log_user 0
set pid [eval spawn ${COMMAND} ${ARGS}]
if {$pid == 0} {exit 1}

expect { 
 -re "Creating directory .*\r\n" {
		exp_continue
		}
 "error trying to retrieve authtok from auth code\r\n" {
		exp_continue
		}
 -re ".*password:"	{ 
		send "$PASSPHRASE\n"
		exp_continue
		}
 -re ".*Password:"	{ 
		send "$PASSPHRASE\n"
		exp_continue
		}
 -re "^\r\n$"	{ 
		exp_continue
		}
 eof		{
		log_user 1
		exp_send_user $expect_out(buffer)
		}
}
log_user 1

set result [lindex [wait] 3]
if {$result} {
	exit $result
}
exit 0