Initial version, with no update possibility

This commit is contained in:
Gergely Polonkai (W00d5t0ck)
2010-12-17 15:41:45 +01:00
commit 7c6ed627cc
27 changed files with 1318 additions and 0 deletions

22
getpasswordlist.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
require 'config.php';
include 'sanitychecks.php';
include 'class.db.php';
header('Content-Type: text/xml; charset=utf-8');
echo '<?xml version="1.0" encoding="utf-8"?>', "\n";
?>
<pws-results>
<results>
<?php
foreach (pwsdbh($dbDSN)->getAllPasswords($_POST['group']) as $pwRec):
?>
<row>
<id><?php echo $pwRec['id'] ?></id>
<short><![CDATA[<?php echo $pwRec['short'] ?>]]></short>
</row>
<?php
endforeach;
?>
</results>
</pws-results>