Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
« See all images and videos
We have updated our privacy policy to let you know that we use cookies to personalise content and ads. We also use cookies to analyse our traffic and we share information about your use of our site and application with our advertising and analytics partners. By using this website or our application you agree to our use of cookies. Learn more about the way this website uses cookies or remove this message.

A Halloween PHP Snippet

October 27, 2016

Here's the source code.


<?php
	$key = 'hihi';
        $iv = base64_decode( "+1dGNQRBFRzvFLSQ/+mgZQ==" );
        $enc = base64_decode( "sCCJ0V0cLYxo51EeF46JzRo1UJ4rt/lgLLwa72FAYFY=" );

        $verify = openssl_decrypt($enc, 'aes-256-cbc', $key, OPENSSL_RAW_DATA, $iv);

        echo $verify . PHP_EOL;
        //then if you feel brave execute eval($verify);

Load More Smileys

Alerts

2017-01-17 - The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.29 and 7.x before 7.0.14 allows remote attackers to cause a denial of service (out-of-bounds read and memory corruption) or possibly have unspecified other impact via an empty boolean element in a wddxPacket XML document. Read more ...
2017-01-17 - The get_icu_value_internal function in ext/intl/locale/locale_methods.c in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7 does not ensure the presence of a '\0' character, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted locale_get_primary_language call. Read more ...

See All Entries...