diff --git a/kippo/commands/wget.py b/kippo/commands/wget.py index 84cf1eb..a75b327 100644 --- a/kippo/commands/wget.py +++ b/kippo/commands/wget.py @@ -46,7 +46,7 @@ def splitthousands( s, sep=','): class command_wget(HoneyPotCommand): def start(self): try: - optlist, args = getopt.getopt(self.args, 'O:') + optlist, args = getopt.getopt(self.args, 'cO:') except getopt.GetoptError, err: self.writeln('Unrecognized option') self.exit() @@ -66,6 +66,8 @@ def start(self): for opt in optlist: if opt[0] == '-O': outfile = opt[1] + elif opt[0] == '-c': + pass if '://' not in url: url = 'http://%s' % url