Skip to content

Commit

Permalink
Merge pull request #11 from nickvourd/patch-1
Browse files Browse the repository at this point in the history
Version 2.0.3
  • Loading branch information
maldevel authored Nov 19, 2021
2 parents 54082d3 + da7f2f8 commit 84c2901
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rootend.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#variables area
__author__ = "@nickvourd"
__version__ = "2.0.2"
__version__ = "2.0.3"
__license__ = "GPLv3"
__team__ = "@twelvesec"
__systems__ = "*nix"
Expand Down Expand Up @@ -1390,7 +1390,7 @@ def show_redis_creds(filename, redis_array, bold, warning, endc):
def read_redis(filename1, bold, warning, endc):
keywords = [ 'requirepass' ]

fopen = open(filename1, mode='r+')
fopen = open(filename1, mode='r')
fread = fopen.readlines()

for liner in fread:
Expand Down Expand Up @@ -1499,7 +1499,7 @@ def read_db_creds(keyword1, keyword2, keyword3, keyword4, filename, bold, green,
#set an array
keyword = [ keyword1, keyword2, keyword3, keyword4 ]

fopen = open(filename, mode='r+')
fopen = open(filename, mode='r')
fread = fopen.readlines()

for line in fread:
Expand Down

0 comments on commit 84c2901

Please sign in to comment.