Posts

Fix openssl encrypt decrypt [PHP]

Image
Warning: openssl_decrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in PATH_FILE on line LINE_N openssl_encrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in PATH_FILE on line LINE_N How to fix the errors Ensure your SALT  only using NUMBER ONLY  and Minimum length of SALT  is 12 . Ensure your PHP version is 7 or above That's how to fix openssl_encrypt() and openssl_decrypt() errors

Si montok 15.0b Anti Block No Ads

Image
Simontok 15.0b anti blocks tanpa iklan Download [zippyshare] Si montok no ads tanpa iklan mod anti block 15.0b

Membuat PHP argumen dengan '='

Image
Cara Membuat argumen PHP CLI dengan ' = ' ' --= ' Buat file php <?php function arguments($argv) { $_ARG = array(); foreach ($argv as $arg) { if (ereg('--([^=]+)=(.*)',$arg,$reg)) { $_ARG[$reg[1]] = $reg[2]; } elseif(ereg('-([a-zA-Z0-9])',$arg,$reg)) { $_ARG[$reg[1]] = 'true'; } } return $_ARG; } ?> Contoh penggunaan php myscript.php --user=nobody --password=secret -p --access="host=127.0.0.1 port=456" Output Array ( [user] => nobody [password] => secret [p] => true [access] => host=127.0.0.1 port=456 )

Put execution arg into $_GET

PHP CLI <?php if ( $argv ) {     foreach ( $argv as $k => $v )     {         if ( $k == 0 ) continue;         $it = explode ( "=" , $argv [ $i ]);         if (isset( $it [ 1 ])) $_GET [ $it [ 0 ]] = $it [ 1 ];     } } ?>

Menggunakan PHP di termux

Instalasi pkg update -y pkg upgrade -y pkg install php curl wget git -y Contoh Penggunaan PHP (CLI) pada termux buat file php <?php parse_str ( implode ( '&' , array_slice ( $argv , 1 )), $_GET ); ?> Usage/penggunaan php -f namafile.php a=1 b[]=2 b[]=3 //output //$_GET['a'] to '1' and $_GET['b'] to array('2', '3').

FIX Low signal wifi kali linux

Memperbaiki low wifi signal kali linux   git clone https://github.com/lwfinger/rtlwifi_new.git cd rtlwifi_new sudo make sudo make install sudo modprobe -rv rtl8723be sudo modprobe -v rtl8723be ant_sel=2 echo "options rtl8723be ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723be-ant.conf sudo modprobe -r rtl8723de sudo modprobe rtl8723de ant_sel=2 echo "options rtl8723de ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723de-ant.conf Low signal wifi linux fix fix low signal linux fix kali linux wifi signal fix kali wifi install RTL wifi driver linux HP laptop linux wifi driver DELL laptop wifi driver linux

Alternative Widget Translator for blog

Image
Example Translator Languages English Indonesian Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bengali Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Esperanto Estonian Filipino Finnish French Galician Georgian German Greek Gujarati Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Kannada Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese