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: 2 additions & 2 deletions ctfr.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def parse_args():

def banner():
global version
b = '''
b = r'''
____ _____ _____ ____
/ ___|_ _| ___| _ \
| | | | | |_ | |_) |
Expand All @@ -37,7 +37,7 @@ def banner():
print(b)

def clear_url(target):
return re.sub('.*www\.','',target,1).split('/')[0].strip()
return re.sub(r'.*www\.', '', target, count=1).split('/')[0].strip()

def save_subdomains(subdomain,output_file):
with open(output_file,"a") as f:
Expand Down
Loading