This file contains hidden or 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 | |
from telethon.tl.types import MessageActionChatAddUser | |
from telethon.tl.functions.messages import GetAllStickersRequest | |
from telethon.tl.functions.messages import GetStickerSetRequest | |
from telethon.tl.types import InputStickerSetID | |
from operator import attrgetter | |
from time import sleep | |
import traceback | |
from datetime import datetime |
This file contains hidden or 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/python | |
import os | |
import sys | |
import urllib2 | |
import re | |
import sqlite3 | |
def get_mac_table_file(filename="oui.txt"): | |
request = urllib2.urlopen("http://standards.ieee.org/develop/regauth/oui/oui.txt") | |
with open(filename, "w") as f: |