Unauthorized access to a PHP page prompts the user for a password. Once the password is entered the original page will show.
- The access is recorded in the session so it only needs to be
| { | |
| "estados": [ | |
| { | |
| "sigla": "AC", | |
| "nome": "Acre", | |
| "cidades": [ | |
| "Acrelândia", | |
| "Assis Brasil", | |
| "Brasiléia", | |
| "Bujari", |
| function isValidCPF(number) { | |
| var sum; | |
| var rest; | |
| sum = 0; | |
| if (number == "00000000000") return false; | |
| for (i=1; i<=9; i++) sum = sum + parseInt(number.substring(i-1, i)) * (11 - i); | |
| rest = (sum * 10) % 11; | |
| if ((rest == 10) || (rest == 11)) rest = 0; |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name chat.site.com; | |
| return 301 https://$host$request_uri; | |
| } | |
| server { | |
| listen 443 ssl; | |
| listen [::]:443 ssl; |
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
| import asyncio | |
| from datetime import datetime | |
| from functools import partial | |
| from concurrent.futures import ProcessPoolExecutor | |
| from youtube_dl import YoutubeDL as YDL | |
| PPE = ProcessPoolExecutor() |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>SSH Client</title> | |
| <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.5/socket.io.min.js"></script> | |
| <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
| <style> | |
| body { | |
| margin: 0; | |
| padding: 0; |
| <?php | |
| if ($diretorio = opendir("./")) | |
| { | |
| while(false !== ($pasta = readdir($diretorio))) | |
| { | |
| if(is_dir($pasta) and ($pasta != ".") and ($pasta != "..")) | |
| { | |
| echo "<a href='$pasta'>$pasta</a><br>"; | |
| } | |
| } |