Skip to content

Instantly share code, notes, and snippets.

View atcasanova's full-sized avatar

Alfredo Casanova atcasanova

View GitHub Profile
### Keybase proof
I hereby claim:
* I am atcasanova on github.
* I am atcasanova (https://keybase.io/atcasanova) on keybase.
* I have a public key whose fingerprint is 110E F051 4F30 8DA9 1EFA 856E 3FBC F99F C64B 938B
To claim this, I am signing this object:
<script >
$(function(){
$("form.form_ajax").on('submit',function(event){
event.preventDefault();
console.log('submit');
var
$this = $(this),
$dialog = null,
titulo = $this.data('title')
;
<form class="form_ajax" action="usureset.php" method="post" enctype="multipart/form-data" data-title="E-mail" onsubmit="this.disabled=true; this.value='Solicitação Enviada...';">
<table>
<tbody>
<tr>
<td style="text-align: right; "><b>Login:</b></td>
<td>
<input type="text" name="login" id="login" size="28" onblur="javascript:this.value=this.value.toLowerCase();" autocomplete="off">
</td>
</tr>
<tr>
<!DOCTYPE html>
<html dir="ltr" lang="pt-BR">
<head>
<meta charset="utf-8">
<title>Redefinição Automática de Senha</title>
<meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
<!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link rel="stylesheet" href="style.css" media="screen">
<!--[if lte IE 7]><link rel="stylesheet" href="../style.ie7.css" media="screen" /><![endif]-->
<!DOCTYPE html>
<html dir="ltr" lang="pt-BR"><head>
<meta charset="utf-8">
<title>Redefinição Automática de Senha</title>
<meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
<!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link rel="stylesheet" href="style.css" media="screen">
<!--[if lte IE 7]><link rel="stylesheet" href="style.ie7.css" media="screen" /><![endif]-->
<link rel="stylesheet" href="style.responsive.css" media="all">
@atcasanova
atcasanova / testewget.sh
Created February 14, 2016 18:47
Script simples para testar limite de conexão
#!/bin/bash
trap 'stats' SIGINT SIGTERM
(( $# != 4 )) && (( $# != 2 )) && { echo "($#) uso: $0 -u <url de ataque> { -t <timeout de cada acesso (default 3)> }"; exit 3; }
while getopts "u:t:" option
do
case "$option" in
u) url="$OPTARG";;
t) timeout="$OPTARG";;
esac
@atcasanova
atcasanova / darkroom.save
Created September 7, 2017 19:13
http://adarkroom.doublespeakgames.com Darkroom save with all perks, items, etc.
eyJwcmV2aW91cyI6e30sInZlcnNpb24iOjEuMywiZmVhdHVyZXMiOnsibG9jYXRpb24iOnsicm9vbSI6dHJ1ZSwib3V0c2lkZSI6dHJ1ZSwid29ybGQiOnRydWUsInNwYWNlU2hpcCI6dHJ1ZX19LCJzdG9yZXMiOnsid29vZCI6MTA4ODc5LCJmdXIiOjkyMTU3OSwibWVhdCI6MTAwODgzLCJ0ZWV0aCI6OTk5NzgsInNjYWxlcyI6OTk5ODYxLCJiYWl0Ijo5MTAzMDYsImNsb3RoIjo5OTkzNSwibGVhdGhlciI6OTY4NjQsImN1cmVkIG1lYXQiOjkyODY1LCJ0b3JjaCI6OTk5OTgyLCJib25lIHNwZWFyIjowLCJsIGFybW91ciI6MSwid2F0ZXJza2luIjoxLCJydWNrc2FjayI6MSwiY29tcGFzcyI6MSwiY2hhcm0iOjk5OTk0LCJpcm9uIjo5OTUzNCwibWVkaWNpbmUiOjk5OTg3LCJpIGFybW91ciI6MSwiaXJvbiBzd29yZCI6OTk5ODgsImNhc2siOjEsIndhZ29uIjoxLCJjb2FsIjo5Mjk3NiwiYWxpZW4gYWxsb3kiOjk5OTgwNSwic3RlZWwgc3dvcmQiOjk5OTg4LCJzdGVlbCI6OTk2NTgsIndhdGVyIHRhbmsiOjEsImNvbnZveSI6MSwicyBhcm1vdXIiOjEsImJ1bGxldHMiOjEwMDIzNSwicmlmbGUiOjk5OTEsImVuZXJneSBjZWxsIjoxMDAwMDgsImJvbGFzIjo5OTkxMiwiZ3JlbmFkZSI6OTk5OTUyLCJiYXlvbmV0Ijo5OTk5Nywic3VscGh1ciI6OTk3NDQsImxhc2VyIHJpZmxlIjo5OTk5OX0sImNoYXJhY3RlciI6eyJzdGFydmVkIjo2LCJwZXJrcyI6eyJzdGVhbHRoeSI6dHJ1ZSwicHJlY2lzZSI6dHJ1ZSwic2NvdXQiOnRydWUsImV2YXNpdmUiOnRydWUs
@atcasanova
atcasanova / gist:4718816bd627bdc6686d6e89c7ac01d1
Last active June 3, 2020 17:37
Cedilla on ubuntu 18.04 64 bits with american keyboard
Enabling cedilla and dead keys on kali linux
change:
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa"
to
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa:en"
on these files:
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache
# Basic usage
./sqlmap.py -u "inject address" --dbs // enumerate database
./sqlmap.py -u "inject address" --current-db // current database
./sqlmap.py -u "inject address" --users // column database user
./sqlmap.py -u "inject address" --current-user // current user
./sqlmap.py -u "inject address" --tables -D "database" // enumerate the table name of the database
./sqlmap.py -u "inject address" --columns -T "table name" -D "database" // get the column name of the table
./sqlmap.py -u "inject address" --dump -C "field, field" -T "table name" -D "database" // get the data in the table, including the column, is the pants
@atcasanova
atcasanova / record.sh
Created April 22, 2019 19:31
this bot will put your name in github.com/izabera 1-2-3 ranking
#!/bin/bash
# this bot will put your name in izabera's 1-2-3 ranking
# https://github.com/izabera/1-2-3
# run it with socat like:
# socat TCP4:arin.ga:44444 EXEC:/full/path/to/record.sh,fdin=3,fdout=4
#
read -n4 line <&3
echo "a">&4
ans=0
score=0