Google reCAPTCHA CGI-Shell
Publicado por Maik Alberto (última atualização em 03/03/2017)
[ Hits: 4.155 ]
Google reCAPTCHA CGI-Shell.
#!/bin/bash #----------------------------------------------------------# # Project: recaptha-google-cgishell # # CREATED BY: maik.alberto@hotmail.com # # Soure: https://github.com/m41k/recaptha-google-cgishell # #----------------------------------------------------------# echo -e "Content-type: text/html\n\n" ############################################################ # Insira suas chaves/Insert your keys # ############################################################ PUBLIC_KEY="XXXXXXXXXXXXXXXXXXXXyyyyyyyyyyyyyyyyyyyyy" PRIVATE_KEY="XXXXXXXXXXXXXXXXXXXzzzzzzzzzzzzzzzzzzzzz" ACTIN=`echo $0 | rev | cut -d / -f1 | rev` CAPTCHA="$(sed 's/recaptcha_//g;s/_field//g')" RESP=`echo $CAPTCHA | cut -d "&" -f1 | cut -d"=" -f2` END="https://www.google.com/recaptcha/api/siteverify?secret=$PRIVATE_KEY&response=$RESP" RESULT=`curl $END` CHECK=$(echo $RESULT | cut -d ":" -f2 | cut -d "," -f1) if [ $CHECK = "true" ]; then echo "Use sua criatividade humana aqui. Use your human creativity here" exit 0 fi #======================> HTML FORM <=======================# cat <<EOF <html> <head> <title>M41k Captcha CGI/SHELL</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <script src='https://www.google.com/recaptcha/api.js'></script> </head> <body> <form method='post' action='$ACTIN'> <div class="g-recaptcha" data-sitekey="$PUBLIC_KEY"></div> <input type='submit' name='top' value='OK'> </form> </body> </html> EOF #Have Fun!
Script FIREWALL IPTABLES com 3 (três) interfaces (Int, Ext e DMZ)
Ajuste de horário e sincronismo
Administrar squid com autenticação, simples e objetivo.
Como atualizar sua versão estável do Debian
Cirurgia para acelerar o openSUSE em HD externo via USB
Void Server como Domain Control
Script de montagem de chroot automatica
Atualizar Linux Mint 22.2 para 22.3 beta
Jogar games da Battle.net no Linux com Faugus Launcher
Como fazer a Instalação de aplicativos para acesso remoto ao Linux
Instalar Dual Boot, Linux+Windows. (5)
Conky, alerta de temperatura alta (16)
De volta para o futuro - ou melhor, para o presente (parte 2) (3)









