Commit 731621c4 authored by Lucas Saliés Brum's avatar Lucas Saliés Brum 🖐🏻

Autocommit por GitLab.sh: alterações: add 'index.php'

parent 0f47a59b
<?php
// Catch cURL/Wget requests
if (isset($_POST['envio']) && !empty($_POST['envio']) || isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/^(curl|wget)/i', $_SERVER['HTTP_USER_AGENT'])) {
//if (isset($_POST['envio']) && !empty($_POST['envio']) || isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/^(curl|wget)/i', $_SERVER['HTTP_USER_AGENT'])) {
$tamanho = ( isset($_POST['tamanho']) ) ? (int)$_POST['tamanho'] : 10;
$maiusculas = ( isset($_POST['maiusculas']) ) ? $_POST['maiusculas'] : true;
$minusculas = ( isset($_POST['minusculas']) ) ? $_POST['minusculas'] : true;
......@@ -32,7 +32,9 @@ if (isset($_POST['envio']) && !empty($_POST['envio']) || isset($_SERVER['HTTP_US
echo substr(str_shuffle($senha),0,$tamanho);
exit();
}
//}
?>
<!DOCTYPE html>
<html lang="pt-br">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment