Skip to content

Instantly share code, notes, and snippets.

View Hacksore's full-sized avatar
🚀
shipping

Sean Boult Hacksore

🚀
shipping
View GitHub Profile
@Hacksore
Hacksore / new-rpc-commands.md
Last active October 27, 2024 16:41
Discord Overlay RPC Reverse Engineered

Discord Overlay RPC Reverse Engineered

So I stumbled across this article and found that discord is no longer reversing games and injecting web browsers into games.

Going to document the new stuff that's not fully realeased however since this will be all done on canary this information is bound to chanage overtime.

Caution

APIs shown here might be considedred private, using them should be at your own risk!

How it works

@Hacksore
Hacksore / gfm.md
Created October 26, 2024 18:45
Using the kbd element in GFM

keyboard

:q

inline code block

:q

@Hacksore
Hacksore / mention.js
Created October 16, 2024 22:35
mention.js
function getMentionsFromComment(text) {
// Regex pattern to match mentions in the format @username
const pattern = /@([a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38})/g;
const mentions = [];
let match;
while ((match = pattern.exec(text)) !== null) {
mentions.push(match[1]);
}
@Hacksore
Hacksore / peak.rs
Created August 5, 2024 01:37
peak.rs
async fn get_current_channel_users(http: &Http, cache: &Cache) {
match http.get_guild(GuildId::new(1221093431364026438)).await {
Ok(guild) => {
if let Ok(channels) = guild.channels(&http).await {
if let Some(channel) = channels.get(&ChannelId::new(GUILD_ID)) {
if let Ok(members) = channel.members(&cache) {
if let Some(random_user) = members.choose(&mut OsRng) {
let mut random_user = random_user.clone();
let builder = CreateMessage::new().content(format!(
"We are going to make <@{}>",
@Hacksore
Hacksore / discord-apps-with-approved-rpc-scope.md
Last active December 14, 2024 04:38
🤓 Discord Apps With Approved RPC Scope
@Hacksore
Hacksore / instructions.md
Last active July 10, 2024 16:27
👁️‍🗨️ how to meme in Discord user list

what's stopping you from looking like this in VC?

image

Set your server name

̔

Set your avatar to this invisible image

$$\textsf{\color[rgb]{0.0, 0, 1.0}F\color[rgb]{0.1, 0, 0.9}U\color[rgb]{0.2, 0, 0.8}L\color[rgb]{0.3, 0, 0.7}L\color[rgb]{0.4, 0, 0.6} \color[rgb]{0.6, 0, 0.4}T\color[rgb]{0.7, 0, 0.3}U\color[rgb]{0.8, 0, 0.2}R\color[rgb]{0.9, 0, 0.1}B\color[rgb]{1.0, 0, 0.0}O}$$
function generateGradientText(input) {
  let result = "\\textsf{";
  const length = input.length;
 
@Hacksore
Hacksore / math.md
Last active July 3, 2024 18:29
😂 mathjax

$\textcolor{red}{\textsf{WHAT THE ACTUAL FUCK IS THIS}}$

$\textcolor{green}{\textsf{SO DANK}}$

$\textcolor{blue}{\textsf{I AM THE HACKERMAN}}$

@Hacksore
Hacksore / lore.md
Created June 28, 2024 19:09
where did the user name "Hacksore" come from?

i play call of duty with friend

they called me uber l337 haxOr

i became "Hacksore"

@Hacksore
Hacksore / test.md
Created June 24, 2024 22:01
broked.md

#444444. is this bugged?