suffile=open('suf').readlines()
rar=['.rar','.zip','.7z','.tar','.tar.gz','.bak','.log']
def sufscan(url):
        dblist=[]
        dblists=[]
        domain=url.strip('http://').strip('https://').strip()
        domainlist=[]
        domain_a=[]
        domain_c=''
        for i in suffile:
                if (domain.strip().split('.')[-1]==i.strip().split('.')[-1] and domain.count(i.strip())==1):
                        domain_c=i.strip()
        domainlist=domain.strip()[:-(len(domain_c))].split('.')
        for i in domainlist[:-1]:
                domain_a.append(i)
        domain_b=domainlist[-1]
        if (len(domain_a)>1):
                for i in rar:
                        dblist.append(domain_b+i)
                        dblist.append(domain_b+domain_c+i)
                        dblist.append(domain_b+domain_c.replace('.','')+i)
                        dblist.append('.'.join(domain_a)+i)
                        dblist.append('.'.join(domain_a)+'.'+domain_b+domain_c+i)
                        dblist.append(''.join(domain_a)+domain_b+domain_c.replace('.','')+i)
                        for a in domain_a:
                                dblist.append(a+i)
        if (len(domain_a)==1):
                for i in rar:
                        dblist.append(domain_b+i)
                        dblist.append(domain_b+domain_c+i)
                        dblist.append(domain_b+domain_c.replace('.','')+i)
                        dblist.append(domain_a[0]+i)
                        dblist.append(domain_a[0]+'.'+domain_b+domain_c+i)
                        dblist.append(domain_a[0]+domain_b+domain_c.replace('.','')+i)

        else:
                for i in rar:
                        dblist.append(domain_b+i)
                        dblist.append(domain_b+domain_c+i)
                        dblist.append(domain_b+domain_c.replace('.','')+i)
        for i in dblist:
                dblists.append('/'+i)
        return dblists
