Location: PHPKode > projects > Ptk-forensics > ptk/lib/modal_file_info.php
<?
/*
PTK  - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include("check_session.php");
//include("check_session_image.php");
include("lib_std.php");
include("lib_commands.php");

$inode = sanitize($_GET['arg1'],PARANOID);
$permissions = RemoveXSS($_GET['arg2']);
$written = RemoveXSS($_GET['arg3']);
$accessed = RemoveXSS($_GET['arg4']);
$changed = RemoveXSS($_GET['arg5']);
$birth = RemoveXSS($_GET['arg6']);
$size = RemoveXSS($_GET['arg7']);
$uid = RemoveXSS($_GET['arg8']);
$gid = RemoveXSS($_GET['arg9']);
$name = RemoveXSS($_GET['arg10']);
$file = file_info($inode, $name);
$name = preg_replace("/^\//", "", $name);
?>
<div style="overflow:auto">

<img src='../img/progress.gif'  class="progress" id="progress<?=$inode;?>">

<b style="float:left">File details</b><img id="close_box" style="float:right; cursor: pointer" src="../img/cancel.png" onclick="closeMessage()">
<br><hr>
<b>Name: </b><?=$name;?>
<br>
<b>File type: </b><?=$file['file_type'];?>
<br>
<b>Permissions: </b><?=$permissions;?>
<br>
<b>Modified: </b><?=$written;?>
<br>
<b>Accessed: </b><?=$accessed;?>
<br>
<b>Changed: </b><?=$changed;?>
<br>
<b>Birth: </b><?=$birth;?>
<br>
<b>Size: </b><?=$size;?>
<br>
<b>UID: </b><?=$uid;?>
<br>
<b>GID: </b><?=$gid;?>
<br>
<b>Meta: </b><?=$inode;?>
<br>
<b>MD5: </b><?=RemoveXSS($file['md5']);?>
<br>
<b>SHA1: </b><?=RemoveXSS($file['sha1']);?>
Return current item: Ptk-forensics