This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* cronometr.ino | |
* Implements a stopwatch in Arduino Uno with DFRobot v1.1 board. | |
* Author: José Lopes de Oliveira Jr. <jilo.cc> | |
* License: GPLv3+ | |
*/ | |
#include <LiquidCrystal.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NAME | |
# smbgate2access.sh | |
# | |
# VERSION | |
# alpha 0.005 | |
# | |
# DESCRIPTION | |
# Este script analisa o arquivo de log do squid (access.log) e o combina com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_quote() { | |
/* get_quote | |
* Retrieves a quote from YAHOO! Finance and puts into the spreadsheet's cell. | |
* | |
* It's a pretty simple script that access YAHOO! Finance and get the price of | |
* previous close price of symbol in the first column cell of actual row. | |
* | |
* Usage: Start a spreadsheet where the symbols are disposed in lines and are | |
* in the first column. Use only symbols without those ".SA"s in the end. | |
* Access Tools > Script editor... and replace the default code for this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#eb.py | |
# | |
# Created this program to list the top 10 most used | |
# passwords in Exército Brasileiro's leak. More | |
# about this here: | |
# http://www.tecmundo.com.br/ataque-hacker/89110-in-seguranca-nacional-exercito-hackeado-tem-7-mil-contas-crackeadas.htm | |
# Passwords were dumped, each in a newline, like this: <CPF>:<Password> | |
# | |
# AUTHOR: José Lopes de Oliveira Jr. <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from Crypto.Cipher import AES | |
from Crypto.Util import Counter | |
key = bytes.fromhex('36f18357be4dbd77f050515c73fcf9f2') | |
ciphertext = bytes.fromhex('69dda8455c7dd4254bf353b773304eec0ec7702330098ce7f7520d1cbbb20fc388d1b0adb5054dbd7370849dbf0b88d393f252e764f1f5f7ad97ef79d59ce29f5f51eeca32eabedd9afa9329') | |
iv = ciphertext[:16] #not needed for CTR, mult. of 16 | |
cipher = ciphertext[16:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#peneira.py | |
# | |
# Analyses a file system path, calculating the hash for each file | |
# and storing hash and the path for file. Errors will be recorded | |
# in errors table ---duh! | |
# | |
# Author: Jose' Lopes de Oliveira Jr. <[email protected]> | |
# License: GPLv3+ | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# This is a simple script to encrypt a message using AES | |
# with CBC mode in Python 3. | |
# Before running it, you must install pycryptodome: | |
# | |
# $ python -m pip install PyCryptodome | |
# | |
# Author.: José Lopes | |
# Date...: 2019-06-14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from hashlib import md5 | |
from base64 import b64decode | |
from base64 import b64encode | |
from Crypto.Cipher import AES | |
# Padding for the input string --not | |
# related to encryption itself. | |
BLOCK_SIZE = 16 # Bytes | |
pad = lambda s: s + (BLOCK_SIZE - len(s) % BLOCK_SIZE) * \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Show the Xbox's backward compatibility game library. | |
# Still needs a lot of tests, its just a kind of alpha | |
# version. | |
# José Lopes <[email protected]> | |
# GPLv3+ | |
## | |
from re import search | |
from difflib import context_diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# The MIT License (MIT) | |
# Copyright (c) 2016 José Lopes de Oliveira Jr. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the |