Skip to content

Commit

Permalink
Update __main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghavd3v committed Apr 10, 2022
1 parent 6653db6 commit 95e2061
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions crlfsuite/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

import sys
from crlfsuite.core.cli import url, threads, urls, method, std, cookies, data, user_agent, timeout, verify, read_urls, output_file, s_payloads
from crlfsuite.core.cli import url, threads, urls, silent, method, std, cookies, data, user_agent, timeout, verify, read_urls, output_file, s_payloads
from crlfsuite.core.crlfscanner import crlfscanner
from concurrent.futures import ThreadPoolExecutor, as_completed
from crlfsuite.utils.utils import build_url
Expand All @@ -13,10 +13,11 @@
now = datetime.now()
dt_string = now.strftime("%d-%m-%Y %H:%M")

args_info(url, urls, std, output_file, method, data, cookies, timeout, user_agent["User-Agent"], verify, threads)
logger.info('CRLFsuite v1.0 (%sFast CRLF Scanner%s)' % (green,reset))
logger.warn('Use with caution. You are responsible for your actions')
logger.warn('Developers assume no liability and are not responsible for any misuse or damage.')
if not silent:
args_info(url, urls, std, output_file, method, data, cookies, timeout, user_agent["User-Agent"], verify, threads)
logger.info('CRLFsuite v1.0 (%sFast CRLF Scanner%s)' % (green,reset))
logger.warn('Use with caution. You are responsible for your actions')
logger.warn('Developers assume no liability and are not responsible for any misuse or damage.')

if s_payloads:
show_payloads_log()
Expand Down Expand Up @@ -84,4 +85,4 @@ def main():
else:
logger.error('URL(s) not specified!')
logger.info('Try using -u/-i/-s options')
quit()
quit()

0 comments on commit 95e2061

Please sign in to comment.