Skip to content

Commit 15c451d

Browse files
author
Michael Skelton
committed
Added classes for output normal, and to store discovered hosts
1 parent 7d7443e commit 15c451d

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

lib/core/discovered_host.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class discovered_host(object):
2+
"""
3+
Auxiliary class used for storing discovered hosts
4+
"""
5+
6+
def __init__(self):
7+
self.hostname = ''
8+
self.response_code = 0

lib/outputs/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env python
2+
3+
"""
4+
Copyright (c) 2017 vhostscan developers (https://github.com/codingo/VHostScan)
5+
See the file 'doc/COPYING' for copying permission
6+
"""
7+
8+
pass

lib/outputs/output_normal.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from lib.core.discovered_host import *
2+
3+
class output_normal(object):
4+
def __init__(self):
5+
print("Placeholder class for later")

0 commit comments

Comments
 (0)