Skip to content

Instantly share code, notes, and snippets.

View andreluis034's full-sized avatar

André Brandão andreluis034

View GitHub Profile
function findMin(arr, start, end)
{
while(true)
{
//não está rotated
if (end < start)
return 0;
//array de tamanho 1
@andreluis034
andreluis034 / ssl_util.c.patch
Created July 16, 2020 08:30
patch to add custom engine
--- ssl_util.c.ori 2020-07-16 09:28:12.084116397 +0100
+++ ssl_util.c 2020-07-16 09:27:25.444073743 +0100
@@ -477,7 +477,7 @@
{
#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_INIT)
/* ### Can handle any other special ENGINE key names here? */
- return strncmp(name, "pkcs11:", 7) == 0;
+ return strncmp(name, "pkcs11:", 7) == 0 || strncmp(name, "sgxkeystore:", 12) == 0;
#else
return 0;
@andreluis034
andreluis034 / SpellDataResource.h
Created January 20, 2020 22:49
League Spell Data Resource
#pragma once
class SpellDataResource
{
protected:
union
{
DEFINE_MEMBER_N(DWORD m_dwAffectTypeFlags, 0x0008)
DEFINE_MEMBER_N(char* m_sScriptName, 0x0058)
# Build the manifest for Apache (httpd):
#
# - make Building for Linux
# - make DEBUG=1 Building for Linux, with Graphene debug output
# - make SGX=1 Building for SGX
# - make SGX=1 DEBUG=1 Building for SGX
#
# Use `make clean` to remove Graphene-generated files.
#
# Use `make distclean` to further remove the Apache tarball, source code,
$ curl -k https://localhost:4433
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:4433
$ curl http://localhost:8001
<html><body><h1>It works!</h1></body></html>
$ curl -k https://localhost:4437
<html><body><h1>It works!</h1></body></html>
$ curl http://localhost:8001
<html><body><h1>It works!</h1></body></html>
import * as Eris from 'eris'
const token = "redacted"
const bot = new Eris.Client(token);
bot.connect().then(() => {
console.log('Connected')
bot.on("messageCreate",async msg => {
if(msg.member === undefined || msg.member.voiceState.channelID === undefined)
return;

Keybase proof

I hereby claim:

  • I am andreluis034 on github.
  • I am andreluis034 (https://keybase.io/andreluis034) on keybase.
  • I have a public key ASBMA7fyrx0Skc1eQuAFuhM74x9FmE-TGsqQkKUhULMXgQo

To claim this, I am signing this object:

var spam = "-( ͡° ͜ʖ ͡°)╯╲___卐卐卐卐 Don't mind me just taking my mods for a walk"
setInterval(
function(){
document.getElementById("chat_message").value = spam;
document.getElementById("chat_submit_button").click();
}, 1000);
setInterval(
function(){
document.getElementById("chat_message").value = "╠═══╣Lets build a KR COLLAPSE╠═══╣";
document.getElementById("chat_submit_button").click();
}, 1000);