Skip to content

Commit

Permalink
Update pkg name
Browse files Browse the repository at this point in the history
  • Loading branch information
ariary committed Feb 3, 2022
1 parent 3e74a74 commit 5c36ceb
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
4 changes: 3 additions & 1 deletion pkg/exec/exec.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//go:build !windows
// +build !windows

package exec

import (
"bytes"
"fileless-xec/pkg/config"
"fmt"
"io"
"os"
Expand All @@ -13,6 +13,8 @@ import (
"runtime"
"syscall"

"github.com/ariary/fileless-xec/pkg/config"

"github.com/creack/pty"
"github.com/justincormack/go-memfd"
)
Expand Down
4 changes: 3 additions & 1 deletion pkg/execwindows/exec_windows.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
//go:build windows
// +build windows

package execwindows

import (
"bufio"
"fileless-xec/pkg/config"
"fmt"
"os"
"os/exec"

"github.com/ariary/fileless-xec/pkg/config"
)

//UnstealthyExec file retrieve output. TODO: output in real-time + handle input
Expand Down
5 changes: 3 additions & 2 deletions pkg/server/icmpserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package server

import (
b64 "encoding/base64"
"fileless-xec/pkg/config"
"fileless-xec/pkg/exec"
"log"

"github.com/ariary/fileless-xec/pkg/config"
"github.com/ariary/fileless-xec/pkg/exec"

"github.com/ariary/QueenSono/pkg/icmp"
)

Expand Down
5 changes: 3 additions & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package server

import (
"bytes"
"fileless-xec/pkg/config"
"fileless-xec/pkg/exec"
"fmt"
"io"
"net/http"

"github.com/ariary/fileless-xec/pkg/config"
"github.com/ariary/fileless-xec/pkg/exec"
)

//Upload binary file <= 32Mb and return byte content
Expand Down
6 changes: 4 additions & 2 deletions pkg/serverwindows/server-windows.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
//go:build windows
// +build windows

package serverwindows

import (
"bytes"
"fileless-xec/pkg/config"
"fileless-xec/pkg/execwindows"
"fmt"
"io"
"net/http"

"github.com/ariary/fileless-xec/pkg/config"
"github.com/ariary/fileless-xec/pkg/execwindows"
)

//Upload binary file <= 32Mb and return byte content
Expand Down

0 comments on commit 5c36ceb

Please sign in to comment.