This file contains 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
# SPDX-License-Identifier: MIT | |
# Author: remittor <[email protected]> | |
# Created: 2024 | |
import os | |
import sys | |
import glob | |
import subprocess | |
import optparse | |
import random |
This file contains 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 sys | |
import zipfile | |
import json | |
import re | |
import datetime | |
import optparse | |
parser = optparse.OptionParser("usage: %prog [options]", add_help_option=False) | |
parser.add_option("-f", "--file", dest="filename", default='', type="string") |
This file contains 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 sys | |
import asyncio | |
import io | |
import optparse | |
import logging | |
import pprint | |
try: | |
from ujson import dumps as jsonify |
This file contains 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 sys | |
import io | |
import time | |
import datetime | |
import socket | |
import asyncore | |
import struct | |
import optparse | |
parser = optparse.OptionParser("usage: %prog [options]", add_help_option=False) |
This file contains 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 sys | |
import io | |
import optparse | |
#from email.utils import formatdate | |
try: | |
from ujson import dumps as jsonify | |
except: | |
from json import dumps as jsonify |
This file contains 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 sys | |
import optparse | |
import flask | |
parser = optparse.OptionParser("usage: %prog [options]", add_help_option=False) | |
parser.add_option("-h", "--host", dest="host", default='', type="string") | |
parser.add_option("-p", "--port", dest="port", default=5000, type="int") | |
parser.add_option("-g", "--gateway", dest="gateway", default="", type="string") | |
parser.add_option("-f", "--file", dest="file", default="", type="string") | |
parser.add_option("-b", "--binary", dest="binary", action="store_true", default=False) |
This file contains 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
---------------------------- KMSG ---------------------------- | |
<6>[ 0.000000, 0] Booting Linux on physical CPU 0 | |
<6>[ 0.000000, 0] Initializing cgroup subsys cpu | |
<5>[ 0.000000, 0] Linux version 3.4.0-JSR-Kernel+ ([email protected]) (gcc version 4.9.4 20160401 (optimized) (UBERTC-4.9.4) ) #23 SMP PREEMPT Tue Jul 5 19:35:13 MSK 2016 | |
<7>[ 0.000000, 0] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d | |
<7>[ 0.000000, 0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
<6>[ 0.000000, 0] Machine: Qualcomm MSM 8x26 / MSM 8x28 (Flattened Device Tree), model: Qualcomm MSM 8226v2 QRD | |
<6>[ 0.000000, 0] debug: ignoring loglevel setting. |