mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
another minor update
This commit is contained in:
parent
f712d2477e
commit
b26e09fc71
3 changed files with 12 additions and 30 deletions
|
|
@ -18,11 +18,18 @@ if len(sys.argv) > 0:
|
|||
|
||||
for item in f.readlines():
|
||||
item = item.strip()
|
||||
if item in items:
|
||||
if item:
|
||||
print item
|
||||
items.append(item)
|
||||
try:
|
||||
str.encode(item)
|
||||
if item in items:
|
||||
if item:
|
||||
print item
|
||||
else:
|
||||
items.append(item)
|
||||
|
||||
if not item:
|
||||
items.append('')
|
||||
except:
|
||||
pass
|
||||
f.close()
|
||||
|
||||
f = open(sys.argv[1], 'w+')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue