new commit - change strings

new commit - change strings
This commit is contained in:
microsvuln
2021-04-03 15:47:22 +04:00
parent 6c88b6b362
commit 70e9757044
7 changed files with 15 additions and 13 deletions

View File

@ -46,9 +46,8 @@ def do_string_analysis(corpdir, infile1):
str11 = str11.replace("\n","")
str11 = str11.lstrip()
str11 = str11.rstrip()
print("all strings : %s" % str11)
str11 = str(str11)
if ((" " in str11 ) or (")" in str11) or ("(" in str11)) or ("<" in str11) or (">" in str11) :
if ((" " in str11 ) or (")" in str11) or ("(" in str11) or ("<" in str11) or (">" in str11)) :
print("Space / Paranthesis String : %s" % str11)
else :
with open(corpdir+'/seed-str{0}'.format(n), 'w') as file: