Remove added regex options from search_term

GSoC/Meterpreter_Web_Console
Matthew Kienow 2018-03-26 14:07:21 -04:00
parent b39e935c5b
commit 991f4e35ea
No known key found for this signature in database
GPG Key ID: 40787F8B1EAC6E41
1 changed files with 5 additions and 5 deletions

View File

@ -947,11 +947,11 @@ class Db
while (arg = args.shift)
case arg
when '-a','--add'
when '-a', '--add'
mode = :add
when '-d','--delete'
when '-d', '--delete'
mode = :delete
when '-n','--note'
when '-n', '--note'
data = args.shift
if(!data)
print_error("Can't make a note with no data")
@ -967,12 +967,12 @@ class Db
when '-R', '--rhosts'
set_rhosts = true
when '-S', '--search'
search_term = /#{args.shift}/nmi
search_term = args.shift
when '--sort'
sort_term = args.shift
when '-o', '--output'
out_file = args.shift
when '-h','--help'
when '-h', '--help'
cmd_notes_help
return
else