fix: chmod perm

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-07-09 14:02:23 +08:00
parent 4b3c4870ba
commit 7e9086b20e
6 changed files with 30 additions and 31 deletions

View File

@@ -22,7 +22,7 @@ enum ShellFunc {
static const scriptPath = '/dev/shm/$scriptFile';
static const installShellCmd = """
cat > $scriptPath
chmod +x $scriptPath
chmod 744 $scriptPath
""";
String get flag {

View File

@@ -2,6 +2,6 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 992;
static const int script = 49;
static const int build = 1011;
static const int script = 50;
}

View File

@@ -145,9 +145,8 @@ class SSHPageState extends State<SSHPage>
_terminal,
key: _termKey,
controller: _terminalController,
keyboardType: letterCache
? TextInputType.text
: TextInputType.visiblePassword,
keyboardType:
letterCache ? TextInputType.text : TextInputType.visiblePassword,
enableSuggestions: !letterCache,
textStyle: _terminalStyle,
theme: _terminalTheme,