mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-17 23:37:47 +02:00
19 lines
583 B
Python
19 lines
583 B
Python
from django.db import models
|
|
|
|
SCAN_TYPES = ('subdomain_discovery',
|
|
'dir_file_search',
|
|
'subdomain_takeover',
|
|
'param_discovery',
|
|
'port_scan')
|
|
|
|
class EngineType(models.Model):
|
|
scan_type_name = models.CharField(max_length=200)
|
|
subdomain_discovery = models.BooleanField(default=True)
|
|
dir_file_search = models.BooleanField()
|
|
subdomain_takeover = models.BooleanField()
|
|
param_discovery = models.BooleanField()
|
|
port_scan = models.BooleanField()
|
|
|
|
def __str__(self):
|
|
return self.scan_type_name
|