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-05-23 - The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact by leveraging a script's use of .= with a long string. Read more ...
2017-02-16 - The bcpowmod function in ext/bcmath/bcmath.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 accepts a negative integer for the scale argument, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call. Read more ...

See All Entries...