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
mount -o remount ,rw . | |
cd Windows/System32 | |
cp Utilman.exe Utilman.exe.bak | |
cp sethc.exe sethc.exe.bak | |
cp cmd.exe Utilman.exe | |
cp cmd.exe sethc.exe |
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
#!/usr/bin/env python | |
# Linux usage: ./extract_tampermonkey_script.py "/home/<USER>/.config/<BROWSER>/Default/Local Extension Settings/<EXTENSION_ID>" | |
# i.e.: ./extract_tampermonkey_script.py "/home/foo/.config/google-chrome-beta/Default/Local Extension Settings/gcalenpjmijncebpfijmoaglllgpjagf" | |
# Mac usage: ./extract_tampermonkey_script.py "/Users/<USER>/Library/Application Support/Google/Chrome/Default/Local Extension Settings/<EXTENSION_ID>/" | |
# i.e.: ./extract_tampermonkey_script.py "/Users/foo/Library/Application Support/Google/Chrome/Default/Local Extension Settings/dhdgffkkebhmkfjojejmpbldmpobfkfo/" | |
import leveldb | |
import sys | |
import re |
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 os | |
from telethon import TelegramClient, events | |
from telethon.tl.types import InputPhoneContact | |
from telethon import functions, types | |
from config import * | |
import random | |
from tthon import * | |
sn = 'Temp' |
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 csv | |
import random | |
from telethon import TelegramClient, events, sync | |
from telethon.tl.types import InputPhoneContact | |
from telethon import functions, types | |
api_id = 210829 | |
api_hash = '..' | |
client = TelegramClient('SmartManoj2', api_id, api_hash) | |
with open('contacts.csv', 'r') as file: |
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
#!/usr/bin/env python | |
import os | |
import sys | |
import dotenv | |
dotenv.load_dotenv() | |
TOKEN = os.getenv("BOT_TOKEN") | |
if TOKEN is None: |
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 ccxt | |
from datetime import datetime | |
from pprint import pprint | |
connection = ccxt.gateio() | |
pair = 'FITFI/USDT' | |
timestamp = int(datetime.strptime( | |
"2022-04-26 10:30:00+00:00", "%Y-%m-%d %H:%M:%S%z").timestamp()) | |
timeframe = '1m' | |
timeframe = '10s' |
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 ccxt | |
from datetime import datetime | |
from pprint import pprint | |
connection = ccxt.gateio() | |
pair = 'FITFI/USDT' | |
timestamp = int(datetime.strptime( | |
"2022-04-26 10:30:00+00:00", "%Y-%m-%d %H:%M:%S%z").timestamp()) | |
timeframe = '1m' | |
timeframe = '10s' |
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
print(34) | |
print(34) | |
import requests | |
from threading import Thread | |
from bs4 import BeautifulSoup | |
from pyperclip import copy | |
headers = { | |
"User-Agent": "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36", | |
} |
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 io | |
import pyautogui | |
from time import sleep | |
import win32clipboard | |
from PIL import ImageGrab | |
import win32gui | |
toplist, winlist = [], [] | |
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 os | |
import requests | |
import json | |
from pyperclip import copy | |
debug = 0 | |
HOST_URL = 'https://default-host.com' | |
def convert_to_openapi_2(spec): | |
global debug | |
# Initialize the OpenAPI 2.0 specification | |
openapi2_spec = { |