0ad9bdda8e
defining much of dhcp and feature functionality Avoid using Hidden Dragon
70 lines
2 KiB
Python
70 lines
2 KiB
Python
# Copyright (c) 2024 Anoduck
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
cfg = """# Crouching Tiger Config File
|
|
# PLEASE, DO NOT LEAVE THIS FILE UNTOUCHED!
|
|
# TARGETS WILL HAVE TO BE MODIFIED IN ORDER TO WORK!
|
|
# ------------------------------------------------------------
|
|
|
|
# General Settings
|
|
# ----------------
|
|
interface = string(default='wlan0')
|
|
logging_level = option('INFO', 'DEBUG', default='DEBUG')
|
|
log_file = string(default='/var/log/ctiger.log')
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
# Attack Settings
|
|
# ----------------
|
|
[ATTACK]
|
|
scan_file = string(default='ct_aps.csv')
|
|
mon_type = option('create', 'switch', default='switch')
|
|
network_file = string(default='local_networks.csv')
|
|
use_daemon = boolean(default=False)
|
|
|
|
# -----------------------------------------------------------
|
|
|
|
# Mac Purge Settings
|
|
# -----------------
|
|
[MAC_PURGE]
|
|
if_type = option('create', 'switch', default='switch')
|
|
valid_results = string(default='ct_valid.csv')
|
|
channel_list = list(default=list(1, 6, 11))
|
|
|
|
# -----------------------------------------------------------
|
|
|
|
# Hidden Dragon Settings
|
|
# -----------------------
|
|
[DRAGON]
|
|
ap_iface = string(default='wlan0')
|
|
bridge_iface = string(default='br0')
|
|
netdb_file = string(default='net_database.csv')
|
|
dragon_results = string(default='dragon_results.csv')
|
|
|
|
[DRAGON.DB]
|
|
db_name = string(default='hdb')
|
|
db_user = string(default='root')
|
|
db_pass = string(default='password')
|
|
|
|
[DRAGON.NETWORK]
|
|
ip_address = string(default="10.0.2.1")
|
|
netmask = string(default="255.255.255.192")
|
|
network = string(default="10.0.2")
|
|
broadcast = string(default="10.0.2.63")
|
|
dhcp_min = string(default="10.0.2.2")
|
|
dhcp_max = string(default="10.0.2.62")
|
|
dhcp_expire = integer(default=28800)
|
|
domain_name = string(default="localhost.localdomain")
|
|
ap_hide = boolean(default=False)
|
|
|
|
[DRAGON.AP]
|
|
tbtt = integer(default=240)
|
|
|
|
[DRAGON.DHCP]
|
|
lease_time = 86400
|
|
renewal_time = 43200
|
|
rebinding_time = 75600
|
|
# -----------------------------------------------------------
|
|
"""
|