Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion kippo/commands/wget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
Expand Down