mqtt-lab/
│
├── docker-compose.yml
└── mosquitto/
└── config/
└── mosquitto.conf
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/env python3 | |
import requests | |
from bs4 import BeautifulSoup | |
import re | |
import time | |
import random | |
import string | |
import urllib.parse | |
import base64 | |
import paramiko |
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 requests | |
import uuid | |
import time | |
import json | |
import os | |
import random | |
from datetime import datetime | |
import colorama | |
from colorama import Fore, Style |
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 requests | |
from bs4 import BeautifulSoup | |
from typing import Dict, List, Optional | |
from dataclasses import dataclass | |
import os | |
@dataclass | |
class UserInfo: | |
"""Data class to store user information""" | |
user_id: int |