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/python | |
# The FIN scan utilizes the FIN flag inside the TCP packet, | |
# along with the port number to connect to on the server. | |
# If there is no response from the server, then the port is open. | |
import logging | |
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) | |
from scapy.all import * | |
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
from queue import Queue | |
from random import choice, randint, seed | |
from collections import namedtuple | |
from enum import Enum | |
import itertools | |
Position = namedtuple("Position", ["y", "x"]) | |
class Tile(Enum): | |
WALL = '#' |
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 argparse | |
import datetime | |
from functools import wraps | |
import socket | |
from ssl import wrap_socket, create_default_context, CERT_NONE | |
import sys | |
import subprocess | |
import tempfile |
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 collections | |
import functools | |
import unittest | |
# import pygame | |
# class Scrabble: | |
# def __init__(self): | |
# self.tile_size = 40 | |
# self.num_tiles = 15 | |
# self.height = self.tile_size * self.num_tiles |
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 threading | |
from queue import Queue | |
from textwrap import dedent | |
from urllib.parse import urljoin | |
import os | |
import sys | |
import re | |
import argparse | |
import requests |