big rename mshell to commandlinedev/apishell

This commit is contained in:
sawka 2023-07-26 13:00:07 -07:00
parent 386b5f7a90
commit 94827683b5
11 changed files with 25 additions and 25 deletions

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/scripthaus-dev/mshell
module github.com/commandlinedev/apishell
go 1.18

View File

@ -15,10 +15,10 @@ import (
"syscall"
"time"
"github.com/scripthaus-dev/mshell/pkg/base"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/scripthaus-dev/mshell/pkg/server"
"github.com/scripthaus-dev/mshell/pkg/shexec"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/server"
"github.com/commandlinedev/apishell/pkg/shexec"
"golang.org/x/sys/unix"
)

View File

@ -16,8 +16,8 @@ import (
"time"
"github.com/fsnotify/fsnotify"
"github.com/scripthaus-dev/mshell/pkg/base"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
)
const MaxDataBytes = 4096

View File

@ -10,7 +10,7 @@ import (
"io"
"sync"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/packet"
)
type FdReader struct {

View File

@ -13,8 +13,8 @@ import (
"os"
"sync"
"github.com/scripthaus-dev/mshell/pkg/base"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
)
const ReadBufSize = 128 * 1024

View File

@ -18,7 +18,7 @@ import (
"reflect"
"sync"
"github.com/scripthaus-dev/mshell/pkg/base"
"github.com/commandlinedev/apishell/pkg/base"
)
// single : <init, >run, >cmddata, >cmddone, <cmdstart, <>data, <>dataack, <cmddone

View File

@ -7,8 +7,8 @@ import (
"encoding/json"
"fmt"
"github.com/scripthaus-dev/mshell/pkg/binpack"
"github.com/scripthaus-dev/mshell/pkg/statediff"
"github.com/commandlinedev/apishell/pkg/binpack"
"github.com/commandlinedev/apishell/pkg/statediff"
)
const ShellStatePackVersion = 0

View File

@ -17,9 +17,9 @@ import (
"time"
"github.com/alessio/shellescape"
"github.com/scripthaus-dev/mshell/pkg/base"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/scripthaus-dev/mshell/pkg/shexec"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/shexec"
)
// TODO create unblockable packet-sender (backed by an array) for clientproc

View File

@ -7,8 +7,8 @@ import (
"os/exec"
"time"
"github.com/scripthaus-dev/mshell/pkg/base"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"golang.org/x/mod/semver"
)

View File

@ -9,9 +9,9 @@ import (
"strings"
"github.com/alessio/shellescape"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/scripthaus-dev/mshell/pkg/simpleexpand"
"github.com/scripthaus-dev/mshell/pkg/statediff"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/simpleexpand"
"github.com/commandlinedev/apishell/pkg/statediff"
"mvdan.cc/sh/v3/expand"
"mvdan.cc/sh/v3/syntax"
)

View File

@ -25,10 +25,10 @@ import (
"github.com/alessio/shellescape"
"github.com/creack/pty"
"github.com/scripthaus-dev/mshell/pkg/base"
"github.com/scripthaus-dev/mshell/pkg/cirfile"
"github.com/scripthaus-dev/mshell/pkg/mpio"
"github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/cirfile"
"github.com/commandlinedev/apishell/pkg/mpio"
"github.com/commandlinedev/apishell/pkg/packet"
"golang.org/x/mod/semver"
"golang.org/x/sys/unix"
)