Skip to content

Commit

Permalink
FTS3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vulnersCom committed Jun 20, 2017
1 parent 08997c6 commit ae9058b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getsploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def exploitLocalSearch(query, lookupFields = None, limit = 10):
# Check if FTS4 is supported
ftsok = False
for (val,) in cursor.execute('pragma compile_options'):
if 'FTS4' in val:
if ('FTS4' in val) or ('FTS3' in val):
ftsok = True
if not ftsok:
print("Your SQLite3 library does not support FTS4. Sorry, without this option local search will not work. Recompile SQLite3 with ENABLE_FTS4 option.")
Expand Down

0 comments on commit ae9058b

Please sign in to comment.