Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Focusing

Enderson Menezes (Mr. Enderson) endersonmenezes

:octocat:
Focusing
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am endersonmenezes on github.
  • I am enderson (https://keybase.io/enderson) on keybase.
  • I have a public key ASAxIp9Pb0rf7bwUPdo6shH8GRZ8BRvFysDue-IynLrGFgo

To claim this, I am signing this object:

@endersonmenezes
endersonmenezes / arvore_binaria.py
Created Jun 17, 2021
Arvore Binária que Adivinha Número de 0 a 100
View arvore_binaria.py
# Busca Binária de 0 - 100 (Número Inteiros)
def pesquisa_binaria(numero, lista):
baixo = 0
alto = len(lista) - 1
contador = 0
while baixo <= alto:
contador += 1
meio = round((baixo + alto) / 2)
chute = lista[meio]
View keybase.md

Keybase proof

I hereby claim:

  • I am endersonmenezes on github.
  • I am enderson (https://keybase.io/enderson) on keybase.
  • I have a public key ASA8SRcGpxNUhQ11anqK4amQlbTjuN8CbpapFCO37CmV6Qo

To claim this, I am signing this object:

@endersonmenezes
endersonmenezes / section-dates.ipynb
Last active Jan 17, 2020
This code makes you enter a date range, it will divide that range into 12 sections, checking if a target is in those 12 sections and what the index of that section is.
View section-dates.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@endersonmenezes
endersonmenezes / file.py
Last active Jan 17, 2020
Uma breve comparação entre verificação de itens em um array, utilizando chaves aleatórias em MD5. O conceito desse teste é criar uma ordem de prioridade das chaves, e chegar uma váriavel 'chave' respeitando essa lógica.
View file.py
import secrets
import time
import numpy as np
resultados_if = []
resultados_last = []
resultados_for = []
chave_full = secrets.token_urlsafe(256)
chave_com_tag = secrets.token_urlsafe(256)
chave_com_usage = secrets.token_urlsafe(256)
View keybase.md

Keybase proof

I hereby claim:

  • I am endersonmenezes on github.
  • I am enderson (https://keybase.io/enderson) on keybase.
  • I have a public key ASAL16wIwUY14vEncg6Q3J-scqM93knGIc7Tc6r4rMsv3Qo

To claim this, I am signing this object:

@endersonmenezes
endersonmenezes / bruteforce.py
Last active Aug 23, 2019
Brute Force Discont for TicNova
View bruteforce.py
# Copyright (c) 2018. Enderson Menezes Cândido [www.endersonmenezes.com.br]
# Your console will display a list of available discount coupons.
# Do not use this code to gain advantage or illegally enter the event.
# Code just to demonstrate that creating discount coupons in sympla using simple word combinations can be hacked.
# This gist serves to show how social engineering be taken care of by event organizations.
# To event organizers please create discount coupon processes and tracking processes.
# Working Since 2018
import requests
import itertools