diff --git a/startScan/migrations/0008_scannedsubdomainwithprotocols_http_header_path.py b/startScan/migrations/0008_scannedsubdomainwithprotocols_http_header_path.py new file mode 100644 index 00000000..1e2946f4 --- /dev/null +++ b/startScan/migrations/0008_scannedsubdomainwithprotocols_http_header_path.py @@ -0,0 +1,19 @@ +# Generated by Django 3.0.6 on 2020-05-26 15:43 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('startScan', '0007_scannedsubdomainwithprotocols_screenshot_path'), + ] + + operations = [ + migrations.AddField( + model_name='scannedsubdomainwithprotocols', + name='http_header_path', + field=models.CharField(default='null', max_length=500), + preserve_default=False, + ), + ] diff --git a/startScan/models.py b/startScan/models.py index 49ce5cbb..3682e4f8 100644 --- a/startScan/models.py +++ b/startScan/models.py @@ -29,6 +29,7 @@ class ScannedSubdomainWithProtocols(models.Model): http_status = models.IntegerField() technology_stack = models.CharField(max_length=1000) screenshot_path = models.CharField(max_length=500) + http_header_path = models.CharField(max_length=500) def __str__(self): diff --git a/startScan/templates/startScan/detail_scan.html b/startScan/templates/startScan/detail_scan.html index 8c3fdc1e..2f2ed0bb 100644 --- a/startScan/templates/startScan/detail_scan.html +++ b/startScan/templates/startScan/detail_scan.html @@ -93,9 +93,9 @@ Scan history