The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
A PHP based password store
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
php-password-store/getpasswordlist.php

23 lines
454 B

<?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>