Skip to content

Conversation

@tievolu
Copy link

@tievolu tievolu commented Sep 20, 2021

bearDropper.sh currently fails on line 104 when coreutils-date is installed, because the GNU date command does not support the -D option.

The solution is to explicitly specify the busybox date command instead of just date. I think the change is only required on line 104, but I would suggest changing all the places where date is used, for consistency.

Bruno Randolf and others added 5 commits September 14, 2017 15:22
Adapt regex of "Exit before auth" for the case when dropbear is configured to
not allow root logins (RootLogin 'off'). The log entry in this case looks like
this:

Exit before auth (user 'root', 0 fails): Exited normally
bearDropper.sh currently fails on line 104 when coreutils-date is installed, because the GNU date command does not support the -D option.

The solution is to explicitly specify the busybox date command. I think the change is only actually needed on line 104, but I've changed all the date commands for consistency.
Adapt regex for case when root login is not allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant