evyatarmeged / Raccoon

A high performance offensive security tool for reconnaissance and vulnerability scanning
MIT License
3.1k stars 400 forks source link

Output python2 format code #55

Closed ASIWU closed 8 months ago

ASIWU commented 8 months ago

Raccoon autocompleted code in python2 format, which has been eliminated.

# txt file 2 fasta file

path = ''
f = open(path)
data = []
for line in f.readlines() :
    line = line.strip('\n')
    data.append(line)

# Raccoon autocomplete, which is python2 code
for idx , seq in enumerate(data) :
    print '>' + str(idx)
    print seq