1
0
Fork 0
mirror of https://github.com/snovvcrash/usbrip.git synced 2024-06-08 15:06:04 +02:00

Minor edits

This commit is contained in:
Sam Free5ide 2019-02-18 00:40:45 +03:00
parent 9285e850fe
commit 2d68e2dfb6
10 changed files with 74 additions and 12 deletions

View File

@ -21,6 +21,7 @@ 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'

View File

@ -21,6 +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/>.
"""
# ----------------------------------------------------------
# ------------------------ Headers -------------------------
# ----------------------------------------------------------
__author__ = 'Sam Freeside (@snovvcrash)'
__email__ = 'snovvcrash@protonmail[.]ch'
@ -28,6 +34,11 @@ __site__ = 'https://github.com/snovvcrash/usbrip'
__brief__ = 'Common items.'
# ----------------------------------------------------------
# ------------------------- Import -------------------------
# ----------------------------------------------------------
import random
import os
import sys

View File

@ -21,6 +21,7 @@ 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'
@ -30,6 +31,7 @@ __brief__ = 'Config file containing cross-module variables.'
import sys
DEBUG = False
QUIET = False

View File

@ -21,13 +21,6 @@ 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__ = 'USB events handler.'
'''
mount - Does Ubuntu log when USB devices are connected? - Ask Ubuntu
https://askubuntu.com/questions/142050/does-ubuntu-log-when-usb-devices-are-connected
@ -37,6 +30,24 @@ 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 --------------------------
# ----------------------------------------------------------
import re
import codecs
import gzip

View File

@ -21,6 +21,17 @@ You should have received a copy of the GNU General Public License
along with usbrip. If not, see <http://www.gnu.org/licenses/>.
"""
'''
USB Vendor/Device IDs Database - Linux-USB.org
http://www.linux-usb.org/usb.ids
'''
# ----------------------------------------------------------
# ------------------------ Headers -------------------------
# ----------------------------------------------------------
__author__ = 'Sam Freeside (@snovvcrash)'
__email__ = 'snovvcrash@protonmail[.]ch'
@ -28,10 +39,10 @@ __site__ = 'https://github.com/snovvcrash/usbrip'
__brief__ = 'USB IDs handler.'
'''
USB Vendor/Device IDs Database - Linux-USB.org
http://www.linux-usb.org/usb.ids
'''
# ----------------------------------------------------------
# ------------------------- Import -------------------------
# ----------------------------------------------------------
import re
import socket

View File

@ -21,6 +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/>.
"""
# ----------------------------------------------------------
# ------------------------ Headers -------------------------
# ----------------------------------------------------------
__author__ = 'Sam Freeside (@snovvcrash)'
__email__ = 'snovvcrash@protonmail[.]ch'
@ -28,6 +34,11 @@ __site__ = 'https://github.com/snovvcrash/usbrip'
__brief__ = 'USB Storage handler.'
# ----------------------------------------------------------
# ------------------------- Import -------------------------
# ----------------------------------------------------------
import re
import json
import subprocess

View File

@ -21,6 +21,7 @@ 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'

View File

@ -21,6 +21,7 @@ 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'

View File

@ -21,6 +21,7 @@ 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'
@ -34,6 +35,7 @@ import datetime
import usbrip.lib.core.config as cfg
START = time.time()

View File

@ -23,6 +23,12 @@ 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'
@ -31,6 +37,11 @@ __site__ = 'https://github.com/snovvcrash/usbrip'
__brief__ = 'usbrip project"s driver program.'
# ----------------------------------------------------------
# ------------------------- Import -------------------------
# ----------------------------------------------------------
import re
import os
import sys
@ -53,7 +64,7 @@ from usbrip.lib.core.common import COLUMN_NAMES
from usbrip.lib.core.common import is_correct
from usbrip.lib.core.common import print_critical
from usbrip.lib.core.common import USBRipError
from usbrip.lib.parse.cliopts import cmd_line_options
from usbrip.lib.parse.argparser import cmd_line_options
# ----------------------------------------------------------