Ghost
Legacy, it's all anyone leaves behind.
- Jun 8, 2012
- 1,640
- 503
Where the bragging begun.I would know it all started with cerberus lol
Where the bragging begun.I would know it all started with cerberus lol
i like how he's not indenting the functions { } because you can read it more or less by line. i'm used to python so perhaps that's why i like how it looksIn all honesty, the code (as listed above) makes my eyes water, I'd say it needs more cleaning up and proper spacing. Would also help leaving comments for people who want to develop-from or add-to the CMS.
<?php
namespace Cerberus;
class overwatch {
final public function check($var) { if(preg_match('/[^a-zA-Z0-9\s]/', $var)) { return "dirty"; } else { return "clean"; } }
final public function filter($var) { $var = preg_replace('/[^a-zA-Z0-9\s]/', '', strip_tags(html_entity_decode($var))); return $var; }
final public function encrypt($var) { $var = crypt(''.$var.'', '$%9dgjsi3w924vwCERBERUS#fivIiQ3'); return $var; }
final public function clean($var) {
$var = trim($var); $var = stripslashes($var); $var = (filter_var($var, FILTER_SANITIZE_STRING)); return $var;
}
Passwords will be able to be encrypted via MD5, SHA1, or BCRYPT and possibly some more alternatives will be configured via your installation. Reason for different types if incase somebody was to use their previous Rev or Illumina database, however I have yet to make an account creator for the parent account.reminds me alot of holo, looks good so far. goodluck man
edit: also what method are you using to encrypt passwords?
i like how he's not indenting the functions { } because you can read it more or less by line. i'm used to python so perhaps that's why i like how it looks
this snippet
PHP:<?php namespace Cerberus; class overwatch { final public function check($var) { if(preg_match('/[^a-zA-Z0-9\s]/', $var)) { return "dirty"; } else { return "clean"; } } final public function filter($var) { $var = preg_replace('/[^a-zA-Z0-9\s]/', '', strip_tags(html_entity_decode($var))); return $var; } final public function encrypt($var) { $var = crypt(''.$var.'', '$%9dgjsi3w924vwCERBERUS#fivIiQ3'); return $var; } final public function clean($var) { $var = trim($var); $var = stripslashes($var); $var = (filter_var($var, FILTER_SANITIZE_STRING)); return $var; }
<?php
class Example
{
public function __construct($example)
{
if ($example)
{
// True
}
else
{
// False
}
}
}
?>
idk if this is any good anymore but i use this encryption method on my personal sitePasswords will be able to be encrypted via MD5, SHA1, or BCRYPT and possibly some more alternatives will be configured via your installation. Reason for different types if incase somebody was to use their previous Rev or Illumina database, however I have yet to make an account creator for the parent account.
The code snippet above by the way, is on an older revision (lot older) so the new code should have a difference however I'm following what Laravel was doing which is
PHP:<?php class Example { public function __construct($example) { if ($example) { // True } else { // False } } } ?>
<?php
/*
* gweb --
*/
class encryption {
public static function make($string, $salt = '') {
return hash('sha256', $string . $salt);
}
public static function salt($length){
return mcrypt_create_iv($length);
}
public static function unique(){
return self::make(uniqid());
}
}
bcrypt is slow.Passwords will be able to be encrypted via MD5, SHA1, or BCRYPT and possibly some more alternatives will be configured via your installation. Reason for different types if incase somebody was to use their previous Rev or Illumina database, however I have yet to make an account creator for the parent account.
The code snippet above by the way, is on an older revision (lot older) so the new code should have a difference however I'm following what Laravel was doing which is
PHP:<?php class Example { public function __construct($example) { if ($example) { // True } else { // False } } } ?>
It'll be released soon enough!Hurry the fuck up PuttyJen, I want it.
Which is precisely why the user chooses their hashing choice? Some people prefer more security > speed, while others would rather have speed. I'll also incorporate Blowfish and others possibly, still planning out what else needs done before rolling out this releasebcrypt is slow.
I was just ramblling, Blowfish + Bcrypt = a go.It'll be released soon enough!
Which is precisely why the user chooses their hashing choice? Some people prefer more security > speed, while others would rather have speed. I'll also incorporate Blowfish and others possibly, still planning out what else needs done before rolling out this release
Ci'm confused, is this thread for the development of an alternative habbo admin panel or a cms
well goodluck, don't let uncle griimnak down.. i'll be watchingC
Considering I could not develop my admin panel for neither Uber nor Rev or Illumina due to lack of features w/o recoding their entire base...it's for a combination of both. This community is so fucked up it's used to having a base for a CMS w/o the actual management features for it..
i run debian on my laptop, it's gr8Hey guys!
Imagine will not be receiving updates for a little while as I am still setting up my laptop to running condition again, anyways here's a nice little screenshot of the OS I'm using with is a linux dist and is honestly astonishing!
That's an insanely ugly index in the screenie, mate.I couldn't handle Debian just because I'm obsessed with the appearance, also switching to Linux will help #Imagine become a more user-friendly product considering it never could run on anything but IIS
Update::
Imagine now fully works on Linux based Operating Systems, and I'm quite in love with the fact loading times are around 30ms - 100ms with lighttpd