View api_list.txt
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
record_action_trails | |
start_phone_number_auth | |
call_phone_number_auth | |
resend_phone_number_auth | |
complete_phone_number_auth | |
check_waitlist_status | |
get_release_notes | |
get_all_topics | |
get_topic | |
get_clubs_for_topic |
View headers.txt
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
CH-Languages: en-US | |
CH-UserID: 1234567890 | |
CH-Locale: en_US | |
CH-AppBuild: 297 | |
CH-AppVersion: 0.1.27 | |
CH-DeviceId: 7CAF8200-EC2B-4392-A62B-62D41AFB7648 | |
User-Agent: clubhouse/297 (iPhone; iOS 14.4; Scale/2.00) | |
Authorization: Token ef1f1be31620226ea1dee33edfc6e3feecc5036f |
View awkward_exploit.py
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 pwn import * | |
import struct | |
def write_byte(idx, val): | |
val &= 0xFF | |
s = [] | |
for i in xrange(8): | |
if val & (1 << i): | |
if i == 0: | |
s.append(chr(256-(idx*8))) |
View get_symbols.py
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 | |
import sys | |
# https://github.com/erocarrera/pefile | |
sys.path.append('./pefile') | |
import pefile | |
import struct | |
import requests | |
import os | |
import subprocess |
View gist:11096061
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
diff --git a/src/device.c b/src/device.c | |
index e36509e..ea99d63 100644 | |
--- a/src/device.c | |
+++ b/src/device.c | |
@@ -441,7 +441,7 @@ void device_client_process(int device_id, struct mux_client *client, short event | |
memmove(conn->ib_buf, conn->ib_buf + size, conn->ib_size); | |
} | |
} | |
- if(events & POLLIN) { | |
+ if((events & POLLIN) && conn->sendable > 0) { |
View dump_stack.c
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
#include <stdio.h> | |
void dump_stack(void **stack, size_t n, void **arg0) { | |
printf("Stack dump:\n"); | |
while (n-- > 0) { | |
printf("0x%08x: 0x%08x", &stack[n], stack[n]); | |
if (n == 0) { | |
printf(" (beginning of buffer)"); | |
} | |
if (&stack[n] == arg0 + 1) { |