Skip to content

Instantly share code, notes, and snippets.

View reaitten's full-sized avatar

reaitten

  • Canada
  • 02:28 (UTC -04:00)
View GitHub Profile
@yeralexey
yeralexey / pyrogram_forward_to_topic.py
Last active May 11, 2024 21:12
Forward message to certain topic in group, with pyrogram, using raw.
from pyrogram import Client
from pyrogram.types import Message
from pyrogram.raw import functions, types
async def forward_to_topic(
source_channel_id: int, destination_channel_id: int,
forwarded_message_id: int, topic_init_message_id: int, client: Client) -> Message:
"""
Forward a message from one channel to another channel and associate it with a specified topic using raw functions,
@Ale32bit
Ale32bit / begone-gg-sans.css
Last active June 1, 2024 11:32
Removes gg sans from discord
:root {
--font-primary: Whitney, "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-display: Whitney, "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@rlaphoenix
rlaphoenix / mitm_decrypt_enc_client_id.py
Last active October 24, 2023 17:48
Recover Client ID from most Widevine License Servers, CDM Implementations, and CDM APIs (if forcing privacy mode)
"""
Super trivial 'exploit' to Recover Client IDs from Challenges where it's Encrypted by Privacy Mode.
This can be done on 90% of third-party CDM Implementations, APIs, Proxies. It might work on some
license servers which they use their own certificate, but only if they forget to verify the signature
of the service certificate. So this wont work on any License Server that proxies to Google's Server.
The attack effectively boils down to the missing verification of Service Certificate signatures.
So just replace the public key of a service cert with one you have the private key for, and then
give it that. Now you can decrypt.
@ZipFile
ZipFile / README.md
Last active June 30, 2024 08:20
Pixiv OAuth Flow

Retrieving Auth Token

  1. Run the command:

    python pixiv_auth.py login

    This will open the browser with Pixiv login page.

@Davoleo
Davoleo / spotify.md
Last active June 21, 2024 16:29
An in-depth guide on modding Spotify with updated methods to remove ads, bypass country restrictions and theme the application

Spotify Modding & Guides

This is a collections of script, patches and procedures to mod Mobile and Desktop Spotify Applications.

If you know about something that isn't listed here and you would like it to be feel free to tell me about it in the comments or send an e-mail to dav@davoleo.net

Table of Contents

@imba-tjd
imba-tjd / .Cloud.md
Last active July 3, 2024 16:23
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@nerrixde
nerrixde / vpn.md
Last active April 30, 2024 19:23 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@mraaroncruz
mraaroncruz / steps.md
Last active June 9, 2024 06:31
Get the Telegram channel ID

To get the channel id

  1. Create your bot with botfather
  2. Make you bot an admin of your channel

Simplest way (via @anhtuank7c)

Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path

https://web.telegram.org/k/#-9999999999999

@opus-x
opus-x / Spotify_Eliminate_Advertisements
Last active July 3, 2024 05:49
Eliminate Spotify Advertisements + Complete Server List
##################################################################################
# ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - ABANDONED FOR NOW #
##################################################################################
#
# NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x.
# USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT
# OCCUR USING CHROMECAST / GOOGLE HOME.
#
# COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP.
# SUGGESTIONS? WRITE A COMMENT BELOW.
@tpope
tpope / .netrc
Created December 10, 2012 00:46
Sample netrc
machine api.heroku.com
login my@email.com
password 01230123012301230123012301230123
machine api.github.com password something login somebody
machine ftp.server login abc password def account ghi macdef somemacro
cd somehwhere
continues until end of paragraph