This file contains hidden or 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
// https://twitter.com/zneakr/status/1164651753993715712 | |
/* So @zneakr tweeted about this weird behavior and I decided to tinker with his example. In order to optimize, clang | |
assigns fun_ptr to leak_all_my_secrets no matter what. This leads to "I have 9 toes" being printed no matter the | |
result of the if statement. Super weird behavior from clang and I just wanted to make a note of it :) | |
To reproduce this result: | |
clang funkyClang.c -O1 -o funkyClang; ./funkyClang | |
*/ | |
#include <stdlib.h> |
This file contains hidden or 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
let hrStyle: string = ` | |
.underline { | |
height: .25rem; | |
width: 0%; | |
margin: 0; | |
background: black; | |
border: none; | |
transition: .3s ease-in-out; | |
position: relative; | |
} |
This file contains hidden or 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 | |
usage="usage: ./$(basename "$0") -s service [-d] [-m] [-c] app_name | |
where: | |
app_name: the name of the app | |
-s service: the service to change | |
-d disables the service (only put this option if you want to disable access) | |
-m sets the microphone as the service | |
-c sets the camera as the service | |
extra help: |
This file contains hidden or 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
import sys | |
import json | |
import subprocess | |
import secrets | |
import re | |
import requests | |
import base64 | |
import os | |
from pyperclip import copy | |
# Helpers |
OlderNewer