mirror of
https://github.com/snovvcrash/usbrip.git
synced 2024-06-08 15:06:04 +02:00
Format headers
This commit is contained in:
parent
deed34af0d
commit
6d7b8b5d55
7
setup.py
7
setup.py
|
@ -21,15 +21,12 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
__license__ = 'GPL-3.0'
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'USB device artifacts tracker.'
|
||||
|
||||
|
||||
import glob
|
||||
import shutil
|
||||
import sys
|
||||
|
|
|
@ -21,28 +21,14 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------ Headers -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Common items.'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Common items.'
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------- Import -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
|
||||
import random
|
||||
import os
|
||||
import sys
|
||||
|
||||
import random
|
||||
from string import printable
|
||||
from calendar import month_name
|
||||
from collections import OrderedDict, Callable
|
||||
|
@ -50,7 +36,6 @@ from collections import OrderedDict, Callable
|
|||
from termcolor import colored, cprint
|
||||
|
||||
import usbrip.lib.core.config as cfg
|
||||
|
||||
from usbrip import __version__
|
||||
|
||||
|
||||
|
|
|
@ -21,17 +21,13 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Config file containing cross-module variables.'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Config file containing cross-module variables.'
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
DEBUG = False
|
||||
|
||||
QUIET = False
|
||||
|
|
|
@ -30,23 +30,10 @@ monitoring - Monitor history of USB flash drives - Unix & Linux Stack Exchange
|
|||
https://unix.stackexchange.com/questions/152240/monitor-history-of-usb-flash-drives
|
||||
'''
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------ Headers -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'USB events handler.'
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# -------------------------- Main --------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'USB events handler.'
|
||||
|
||||
import re
|
||||
import codecs
|
||||
|
@ -55,7 +42,6 @@ import json
|
|||
import itertools
|
||||
import operator
|
||||
import os
|
||||
|
||||
from collections import OrderedDict, defaultdict
|
||||
from string import printable
|
||||
|
||||
|
@ -63,7 +49,6 @@ from terminaltables import AsciiTable, SingleTable
|
|||
from termcolor import colored, cprint
|
||||
|
||||
import usbrip.lib.core.config as cfg
|
||||
|
||||
from usbrip.lib.core.common import BULLET
|
||||
from usbrip.lib.core.common import ABSENCE
|
||||
from usbrip.lib.core.common import SEPARATOR
|
||||
|
|
|
@ -26,23 +26,10 @@ USB Vendor/Device IDs Database - Linux-USB.org
|
|||
http://www.linux-usb.org/usb.ids
|
||||
'''
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------ Headers -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'USB IDs handler.'
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------- Import -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'USB IDs handler.'
|
||||
|
||||
import re
|
||||
import socket
|
||||
|
|
|
@ -21,36 +21,20 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------ Headers -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'USB Storage handler.'
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------- Import -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'USB Storage handler.'
|
||||
|
||||
import re
|
||||
import json
|
||||
import subprocess
|
||||
import os
|
||||
|
||||
from base64 import b64encode
|
||||
from datetime import datetime
|
||||
|
||||
import usbrip.lib.core.config as cfg
|
||||
|
||||
from usbrip.lib.core.usbevents import USBEvents
|
||||
|
||||
from usbrip.lib.core.usbevents import _filter_events
|
||||
from usbrip.lib.core.usbevents import _dump_events
|
||||
from usbrip.lib.core.usbevents import _process_auth_list
|
||||
|
|
|
@ -21,18 +21,14 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Command line option parser.'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Command line option parser.'
|
||||
|
||||
from argparse import ArgumentParser
|
||||
|
||||
from usbrip.lib.core.usbstorage import USBStorage
|
||||
|
||||
from usbrip.lib.core.common import root_dir_join
|
||||
|
||||
|
||||
|
|
|
@ -21,13 +21,10 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Debug utils.'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Debug utils.'
|
||||
|
||||
import functools
|
||||
import time
|
||||
|
|
|
@ -21,13 +21,10 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Program runtime meter.'
|
||||
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'Program runtime meter.'
|
||||
|
||||
import atexit
|
||||
import time
|
||||
|
@ -35,7 +32,6 @@ import datetime
|
|||
|
||||
import usbrip.lib.core.config as cfg
|
||||
|
||||
|
||||
START = time.time()
|
||||
|
||||
|
||||
|
|
|
@ -23,24 +23,11 @@ You should have received a copy of the GNU General Public License
|
|||
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------ Headers -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
|
||||
__author__ = 'Sam Freeside (@snovvcrash)'
|
||||
__email__ = 'snovvcrash@protonmail[.]ch'
|
||||
|
||||
__date__ = '2018-03-21'
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'usbrip project"s driver program.'
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# ------------------------- Import -------------------------
|
||||
# ----------------------------------------------------------
|
||||
|
||||
__date__ = '2018-03-21'
|
||||
__site__ = 'https://github.com/snovvcrash/usbrip'
|
||||
__brief__ = 'usbrip project"s driver program.'
|
||||
|
||||
import re
|
||||
import os
|
||||
|
@ -48,11 +35,9 @@ import sys
|
|||
|
||||
import usbrip.lib.core.config as cfg; cfg.DEBUG = '--debug' in sys.argv
|
||||
import usbrip.lib.utils.timing as timing
|
||||
|
||||
from usbrip.lib.core.usbevents import USBEvents
|
||||
from usbrip.lib.core.usbstorage import USBStorage
|
||||
from usbrip.lib.core.usbids import USBIDs
|
||||
|
||||
from usbrip.lib.core.common import BANNER
|
||||
from usbrip.lib.core.common import COLUMN_NAMES
|
||||
from usbrip.lib.core.common import is_correct
|
||||
|
|
Loading…
Reference in New Issue