Google reCAPTCHA CGI-Shell
Publicado por Maik Alberto (última atualização em 03/03/2017)
[ Hits: 4.052 ]
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!
Alterando resolução de monitor externo
Script para fazer funcionar o bloqueio por horário - Squid
Automatizando a instalação do BLAS/LAPACK no Linux
Wayland em alta, IA em debate e novos ventos para distros e devices
Qt 6.10 e Python 3.14 puxam o ritmo do software livre nesta quarta
Atualizações de Apps, Desktop e Kernel agitam o ecossistema Linux nesta terça-feira
Miyoo Mini Plus + Onion OS (Linux)
IA local no bolso, novo visual no Raspberry Pi OS e mais destaques do software livre
Como mudar o nome de dispositivos Bluetooth via linha de comando
Adicionando o repositório backports no Debian 13 Trixie
queria saber como instalar o android power tools igual ao winux no lin... (1)
Como listar os arquivos em "bloquin... [RESOLVIDO] (6)
Como colocar atalho para uma pasta na área de trabalho do Ubuntu 24.04... (2)