Added Subdomain lookup from target

This commit is contained in:
Yogesh Ojha
2021-04-25 23:44:10 +05:30
parent d0ebcc3469
commit bbbc72eccb
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -70,8 +70,6 @@ class ScannedHost(models.Model):
discovered_date = models.DateTimeField(blank=True, null=True)
target_domain = models.ForeignKey(
Domain, on_delete=models.CASCADE, null=True, blank=True)
interesting_subdomain = models.BooleanField(null=True, default=False)
interesting_subdomain_reason = models.CharField(max_length=100, null=True)
def __str__(self):
return str(self.subdomain)
+1 -1
View File
@@ -140,7 +140,7 @@ Target Summary for {{target.domain_name}}
{% endif %}
</div>
<br>
<a href="#" class="text-info">View all Subdomains</a>
<a href="javascript:window.location='../../start_scan/all/subdomains?query={{target.domain_name}}';" class="text-info">View all Subdomains</a>
</div>
</div>
</div>