diff --git a/kippo/commands/wget.py b/kippo/commands/wget.py index 84cf1eb..11d1225 100644 --- a/kippo/commands/wget.py +++ b/kippo/commands/wget.py @@ -93,9 +93,12 @@ def start(self): if cfg.has_option('honeypot', 'download_limit_size'): self.limit_size = int(cfg.get('honeypot', 'download_limit_size')) - self.safeoutfile = '%s/%s_%s' % \ + miliseconds = str("%0.3f" % time.time()).split('.')[1] + + self.safeoutfile = '%s/%s_%s_%s' % \ (cfg.get('honeypot', 'download_path'), time.strftime('%Y%m%d%H%M%S'), + miliseconds, re.sub('[^A-Za-z0-9]', '_', url)) self.deferred = self.download(url, outfile, self.safeoutfile) if self.deferred: