schemas.zgrab2 -> zgrab2_schemas
This commit is contained in:
parent
6836299bfb
commit
1e4ec64650
8
setup.py
8
setup.py
|
@ -4,7 +4,7 @@ from setuptools import setup, find_packages
|
|||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
setup(
|
||||
name="zgrab2-schemas",
|
||||
name="zgrab2_schemas",
|
||||
version="0.0.1",
|
||||
description="ZSchema definitions for zgrab2's JSON output.",
|
||||
classifiers=[
|
||||
|
@ -15,11 +15,7 @@ setup(
|
|||
author_email="team@zmap.io",
|
||||
url="https://github.com/zmap/zgrab2",
|
||||
keywords="zmap censys zgrab2 internet-wide scanning",
|
||||
# packages=["schemas/zgrab2"],
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
install_requires = [
|
||||
"zschema"
|
||||
],
|
||||
zip_safe=False
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas
|
||||
import zgrab2
|
||||
|
||||
bacnet_scan_response = SubRecord({
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
dnp3_scan_response = SubRecord({
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
fox_scan_response = SubRecord({
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
# modules/ftp.go - FTPScanResults
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
# lib/http/header.go: knownHeaders
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
imap_scan_response = SubRecord({
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
mei_object_names = [
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
ENCRYPT_MODES = [
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
from zgrab2 import DebugOnly
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
ntp_short = SubRecord({
|
|
@ -5,7 +5,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
FlagsSet = zgrab2.FlagsSet
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
pop3_scan_response = SubRecord({
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
# modules/postgres/scanner.go - decodeError() (TODO: Currently an unconstrained
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
redis_scan_response = SubRecord({
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
siemens_scan_response = SubRecord({
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
header_log = {
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
smtp_scan_response = SubRecord({
|
|
@ -5,7 +5,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
# NOTE: Despite the fact that we have e.g. "supportedHostKeyAlgos",
|
|
@ -4,7 +4,7 @@ from zschema.leaves import *
|
|||
from zschema.compounds import *
|
||||
import zschema.registry
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
import zgrab2
|
||||
|
||||
telnet_option = SubRecord({
|
|
@ -5,7 +5,7 @@ from collections import defaultdict
|
|||
|
||||
# Base / shared schema types for zgrab2
|
||||
|
||||
import schemas.zcrypto
|
||||
import zcrypto_schemas.zcrypto as zcrypto
|
||||
|
||||
# Map of protocol-name -> protocl-schema. This is wrapped in a SubRecord
|
||||
# Protocols are responsible for calling register_scan_response_type(protocol_name, schema).
|
Loading…
Reference in New Issue