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 | |
| import socket | |
| import ipaddress | |
| import concurrent.futures | |
| import sys | |
| from typing import List | |
| # Function to generate IPs from a CIDR notation (e.g., '192.168.1.0/24') | |
| def generate_ips_from_cidr(cidr: str) -> List[str]: | |
| try: |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Domain Updates</title> | |
| <style> | |
| #updates { | |
| margin: 20px; | |
| padding: 10px; |
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
| # standard | |
| import threading | |
| import random | |
| import time | |
| class Worker(object): | |
| """Worker""" | |
| def __init__(self, counter): | |
| self.counter = counter |
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
| # standard | |
| import time | |
| class BarberShop(object): | |
| """Barber Shop""" | |
| def __init__(self, seat): | |
| self.seat = seat | |
| self.accessible_seats = 1 | |
| self.barber_ready = True |
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
| # standard | |
| import threading | |
| import random | |
| import time | |
| class Worker(object): | |
| """Worker""" | |
| def __init__(self, counter): |
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
| # external | |
| import requests | |
| from bs4 import BeautifulSoup | |
| SITE_URL = 'https://irarz.com/' | |
| # file path | |
| FILE_PATH = r'./env.txt' |