initial commit

This commit is contained in:
Ben Ramey
2017-03-02 21:43:14 -06:00
commit ba9d8a2a89
195 changed files with 3187 additions and 0 deletions

20
rlinks3/digester.php Executable file
View File

@@ -0,0 +1,20 @@
<html>
<head>
<title>Digester</title>
</head>
<body>
<?php
include "functions.php";
InitializeDB();
$phrase = mysql_query("SELECT * FROM rlinks_security WHERE Variable='Phrase';");
$phrase = mysql_fetch_assoc($phrase);
$phrase = $phrase['Value'];
$digest = sha1("smramey^7274j3^$phrase");
mysql_query("INSERT INTO rlinks_security (Variable,Value) VALUES ('Digest','$digest');");
?>
</body>
</html>