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 pyrogram import Client | |
def main(): | |
print("Telegram String Session Generator\n") | |
APP_ID = int(input("Enter APP ID: ")) | |
API_HASH = input("Enter API HASH: ") | |
print() | |
with Client("SSGen", api_id=APP_ID, api_hash=API_HASH, in_memory=True) as app: | |
session_str = app.export_session_string() |
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
import requests | |
from bs4 import BeautifulSoup | |
import time | |
import re | |
CF = "" # cf_clearance cookie value for the psa site from your browser | |
URL = "" # psa url, ex: https://psa.wf/movie/corner-office-2022/ | |
SLEEP_TIME = 5 # do not change this | |
def try2link_bypass(url): |
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
day = 15 | |
month = 8 | |
year = 1947 | |
cen_odds = [0,5,3,1] | |
mon_odds = [0,3,3,6,8,11,13,16,19,21,24,26,29] | |
words = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"] | |
rem = year%100 | |
# century odds year odds month odds day + month odds |
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
import requests | |
aadhaar = input("Aadhaar Number: ") | |
pan = input("Pan Number: ") | |
json_data = { | |
'aadhaarNumber': aadhaar, | |
'pan': pan, | |
'preLoginFlag': 'Y', | |
'serviceName': 'linkAadhaarPreLoginService', |
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
import random | |
from os import system, name | |
############################################################################ | |
# Clear function | |
def clear(): | |
# for windows | |
if name == 'nt': |
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
import requests | |
from bs4 import BeautifulSoup | |
def decodeKey(encoded): | |
key = '' | |
i = len(encoded) // 2 - 5 | |
while i >= 0: | |
key += encoded[i] | |
i = i - 2 |
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 bs4 import BeautifulSoup | |
import cloudscraper | |
import requests | |
import json | |
url = input("enter filecrypt link like https://filecrypt.co/Container/73F6D9D43B.html or html filepath like 75C3806BBE.html: ") | |
def getlinks(dlc): | |
headers = { | |
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0', |
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
import requests | |
import datetime | |
url = "https://sims.sit.ac.in/parents/index.php" | |
username = input("What is the USN you wish to attempt? ").upper() | |
year = int(input("Which Year? (only checks for that particular year) ")) | |
month = int(input("Which Month to start from? (type 1 if you don't know where to start) ")) | |
day = int(input("Which Day to start from? (type 1 if you don't know where to start) ")) | |
print() |
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
# functions | |
def decimalToBinary(n): | |
return bin(n).replace("0b", "").zfill(size) | |
def binaryToDecimal(n): | |
return int(n,2) | |
def printNumbers(numList): | |
ele = 0 |