mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-22 16:26:34 +08:00
Cleaned up directory checking and made screenshot in report section more aesthetic.
This commit is contained in:
parent
6b618d8869
commit
2f5213db38
|
@ -293,8 +293,8 @@ async def generatescreenshots(tups: List):
|
|||
data:tabledata, //assign data to table
|
||||
layout:"fitColumns", //fit columns to width of table (optional)
|
||||
columns:[ //Define Table Columns
|
||||
{title:"Date", field:"date", width:150},
|
||||
{title:"Domain", field:"domain", hozAlign:"left", headerFilter:"select" },
|
||||
{title:"Date", field:"date", width:200},
|
||||
{title:"Domain", field:"domain", hozAlign:"left", headerFilter:"select", width:300 },
|
||||
{title:"Screenshot", field:"icon", align:"center", formatter:"image"},
|
||||
]
|
||||
},
|
||||
|
|
|
@ -25,6 +25,8 @@ def verify_path(self):
|
|||
if answer.lower() == 'yes' or answer.lower() == 'y':
|
||||
os.mkdir(self.output)
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
return True
|
||||
except Exception as e:
|
||||
print(f"An exception has occurred while attempting to verify output path's existence: {e}")
|
||||
|
|
Loading…
Reference in a new issue