Skip to content

Instantly share code, notes, and snippets.

View tunip3's full-sized avatar

Tunip3 tunip3

  • United Kingdom
View GitHub Profile
@tunip3
tunip3 / downloadcontent.py
Created September 3, 2020 20:58
Calm app audio ripper
import requests
import ast
file = open("ids.txt","r")
ids = ast.literal_eval(file.read())
file.close()
for programid in ids:
burp0_url = f"https://api.calm.com/programs/guides/{programid}"
burp0_headers = {"Connection": "close", "x-is-www-app": "true", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36", "Accept": "application/json, text/plain, */*", "Cache-Control": "no-cache", "x-device-version": "1.3", "x-device-platform": "www", "x-client-timezone": "Europe/London", "x-device-id": "95b94c2e-0e82-4ea5-b646-123325dd71eb", "Origin": "https://app.www.calm.com", "Sec-Fetch-Site": "same-site", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Dest": "empty", "Referer": "https://app.www.calm.com/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-US,en;q=0.9"}
response = requests.get(burp0_url, headers=burp0_headers).json()
title = response.get("title")
@tunip3
tunip3 / HTTPServer.cs
Last active May 8, 2019 17:48 — forked from zezba9000/HTTPServer.cs
HTTP C# server
// Modified from: https://gist.github.com/aksakalli/9191056
using System;
using System.Collections.Generic;
using System.Net;
using System.IO;
using System.Threading;
namespace MyNamespace
{
t!help ```dir```**`````**`
text-to-print
**
spaces dont work use it for printing server links on servers that use bots to block server links
like so
t!help ```dir```**`````**`