You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
The script is running fine, until sudoers file part. There I get this error:
Traceback (most recent call last):
File "./beroot.py", line 28, in
run(arguments.password)
File "/root/BeRoot/Linux/beroot/run.py", line 190, in run
results = c()
File "/root/BeRoot/Linux/beroot/run.py", line 73, in sudo_list
rules = self.sudolist.rules_from_sudo_ll()
File "/root/BeRoot/Linux/beroot/modules/sudo/sudo_list.py", line 53, in rules_from_sudo_ll
sudo_rules = self._parse_sudo_list(sudo_list)
File "/root/BeRoot/Linux/beroot/modules/sudo/sudo_list.py", line 68, in _parse_sudo_list
user = sudo_list[sudo_list.index('User '):].split(' ')[1]
ValueError: substring not found
The text was updated successfully, but these errors were encountered:
Hello,
The script is running fine, until sudoers file part. There I get this error:
Traceback (most recent call last):
File "./beroot.py", line 28, in
run(arguments.password)
File "/root/BeRoot/Linux/beroot/run.py", line 190, in run
results = c()
File "/root/BeRoot/Linux/beroot/run.py", line 73, in sudo_list
rules = self.sudolist.rules_from_sudo_ll()
File "/root/BeRoot/Linux/beroot/modules/sudo/sudo_list.py", line 53, in rules_from_sudo_ll
sudo_rules = self._parse_sudo_list(sudo_list)
File "/root/BeRoot/Linux/beroot/modules/sudo/sudo_list.py", line 68, in _parse_sudo_list
user = sudo_list[sudo_list.index('User '):].split(' ')[1]
ValueError: substring not found
The text was updated successfully, but these errors were encountered: