Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #224 from t3chn0t3s/cutycapt-ignore-cert-errors
Browse files Browse the repository at this point in the history
Added Cutycapt --insecure flag to ignore SSL/TLS certificate errors
  • Loading branch information
sscottgvit authored Jul 7, 2022
2 parents 4dfadab + a7d487f commit cefb5d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Screenshooter.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def run(self):

def save(self, url, ip, port, outputfile):
self.tsLog('Saving screenshot as: ' + str(outputfile))
command = ('xvfb-run --server-args="-screen 0:0, 1024x768x24" /usr/bin/cutycapt --url="{url}/"'
# Added --insecure flag to ignore SSL/TLS errors
command = ('xvfb-run --server-args="-screen 0:0, 1024x768x24" /usr/bin/cutycapt --insecure --url="{url}/"'
' --max-wait=5000 --out="{outputfolder}/{outputfile}"') \
.format(url=url, outputfolder=self.outputfolder, outputfile=outputfile)
p = subprocess.Popen(command, shell=True)
Expand Down

0 comments on commit cefb5d6

Please sign in to comment.