Skip to content

Instantly share code, notes, and snippets.

View FirasBayazed's full-sized avatar

Firas Bayazed FirasBayazed

View GitHub Profile
# CCS811_RPi
# Petr Lukas
# July, 11 2017
# Version 1.0
import struct, array, time, io, fcntl
FirasBayazed /
Created October 23, 2019 22:37 — forked from leyyce/
Simple and leightweight multi-threaded port scanner written in python that can work with port and ip address ranges. At the moment this script only supports full-connection tcp scans. For usage help see >python -h
import sys
class ProgressPrinter:
def __init__(self, units, unit_type='', max_length=50, pre='', post='', fill='=', head='>', empty=' '):
if units > max_length:
self.steps = max_length / units
self.max_length = max_length
self.steps = 1