mirror of
https://github.com/ION606/web-to-fish.git
synced 2026-05-14 18:36:53 +00:00
halp
This commit is contained in:
@@ -68,7 +68,8 @@ app.post('/login', (req, res) => {
|
||||
res.redirect('/shell');
|
||||
shell.kill();
|
||||
}
|
||||
else console.error(`unknown terminal output:\n${data}`);
|
||||
else if (data.match(/\[\w+@\w+ \w+\]\$ ?/)) shell.write('fish\n');
|
||||
else console.error(`unknown terminal output:\n"${data}"`);
|
||||
});
|
||||
}
|
||||
catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user