Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ntestoc3 committed Dec 29, 2021
1 parent a893b1f commit 89a58c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ipclone.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,15 @@ def gen_handlers(ip, port, service, banner, deep_dump=True):
handler['handler'] = 'http'
handler['params'] = {"ssl": False,
"server_version": get_server(banner),
"fa_path": "webapps/" + app_name,
"fs_path": "webapps/" + app_name,
}
elif service == "https":
app_name = f'clone_{ip}_{port}_https'
fapro_dump('https://{ip}:{port}', app_name, deep = deep_dump)
handler['handler'] = 'http'
handler['params'] = {"ssl": True,
"server_version": get_server(banner),
"fa_path": "webapps/" + app_name,
"fs_path": "webapps/" + app_name,
}
elif service == "ftp":
handler['handler'] = 'ftp'
Expand Down

0 comments on commit 89a58c0

Please sign in to comment.