This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* run fee delegated smart contract execute. | |
* @param {String} fromAddress | |
* @param {String} fromPrivateKey | |
* @param {Object} delegate | |
* @param {Object} abiOfMethod | |
*/ | |
async function feeDelegatedSmartContractExecute ( | |
fromAddress, | |
fromPrivateKey, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_GET[ 'Login' ] ) ) { | |
// Get username | |
$user = $_GET[ 'username' ]; | |
// Get password | |
$pass = $_GET[ 'password' ]; | |
$pass = md5( $pass ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_GET[ 'Login' ] ) ) { | |
// Sanitise username input | |
$user = $_GET[ 'username' ]; | |
$user = ((isset($GLOBALS["___mysqli_ston"]) && is_object($GLOBALS["___mysqli_ston"])) ? mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $user ) : ((trigger_error("[MySQLConverterToo] Fix the mysql_escape_string() call! This code does not work.", E_USER_ERROR)) ? "" : "")); | |
// Sanitise password input | |
$pass = $_GET[ 'password' ]; | |
$pass = ((isset($GLOBALS["___mysqli_ston"]) && is_object($GLOBALS["___mysqli_ston"])) ? mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $pass ) : ((trigger_error("[MySQLConverterToo] Fix the mysql_escape_string() call! This code does not work.", E_USER_ERROR)) ? "" : "")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_GET[ 'Login' ] ) ) { | |
// Check Anti-CSRF token | |
checkToken( $_REQUEST[ 'user_token' ], $_SESSION[ 'session_token' ], 'index.php' ); | |
// Sanitise username input | |
$user = $_GET[ 'username' ]; | |
$user = stripslashes( $user ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_POST[ 'Login' ] ) && isset ($_POST['username']) && isset ($_POST['password']) ) { | |
// Check Anti-CSRF token | |
checkToken( $_REQUEST[ 'user_token' ], $_SESSION[ 'session_token' ], 'index.php' ); | |
// Sanitise username input | |
$user = $_POST[ 'username' ]; | |
$user = stripslashes( $user ); | |
$user = ((isset($GLOBALS["___mysqli_ston"]) && is_object($GLOBALS["___mysqli_ston"])) ? mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $user ) : ((trigger_error("[MySQLConverterToo] Fix the mysql_escape_string() call! This code does not work.", E_USER_ERROR)) ? "" : "")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_POST[ 'Submit' ] ) ) { | |
// Get input | |
$target = $_REQUEST[ 'ip' ]; | |
// Determine OS and execute the ping command. | |
if( stristr( php_uname( 's' ), 'Windows NT' ) ) { | |
// Windows | |
$cmd = shell_exec( 'ping ' . $target ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_POST[ 'Submit' ] ) ) { | |
// Get input | |
$target = $_REQUEST[ 'ip' ]; | |
// Set blacklist | |
$substitutions = array( | |
'&&' => '', | |
';' => '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_POST[ 'Submit' ] ) ) { | |
// Get input | |
$target = trim($_REQUEST[ 'ip' ]); | |
// Set blacklist | |
$substitutions = array( | |
'&' => '', | |
';' => '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( isset( $_POST[ 'Submit' ] ) ) { | |
// Check Anti-CSRF token | |
checkToken( $_REQUEST[ 'user_token' ], $_SESSION[ 'session_token' ], 'index.php' ); | |
// Get input | |
$target = $_REQUEST[ 'ip' ]; | |
$target = stripslashes( $target ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Step1: Create test_schema | |
use test_schema; | |
# Step2: Create table | |
CREATE TABLE calendars( | |
id INT AUTO_INCREMENT, | |
fulldate DATE NOT NULL, | |
day TINYINT NOT NULL, | |
month TINYINT NOT NULL, | |
quarter TINYINT NOT NULL, |
OlderNewer