Skip to content

unknown command -- whoami and dir #4

@CleverNamesTaken

Description

@CleverNamesTaken

Hey! This looks like I really cool project, so thanks for creating it!

I'm new to Adaptix, as well as the API. I'm not sure what I need to do to resolve the issue that all of the commands appear to be unknown.

If I run whoami, or dir in the client GUI, it works fine.

Any idea what I might be missing?

Logging in to https://127.0.0.1:4321/endpoint as kali ...
✓  Logged in
No agent.id in config — using first available: 08a980d0
Agent  08a980d0  COMMANDO\kali  Windows  agent.x64.exe:6464  ⚡ elevated
[1/5] whoami
  ✗ DISPATCH FAILED  unknown command: command 'whoami' not found for agent 'beacon' os=1

[2/5] dir C:\Users\kali\test
  ✗ DISPATCH FAILED  unknown command: command 'dir' not found for agent 'beacon' os=1

[3/5] dir C:\Users\kali\test
  ✗ DISPATCH FAILED  unknown command: command 'dir' not found for agent 'beacon' os=1

[4/5] xyzzy frobnicate
  ⚠ XFAIL (dispatch failed)  unknown command: command 'xyzzy' not found for agent 'beacon' os=1

[5/5] bof /tmp/nonexistent.o
  ⚠ XFAIL (dispatch failed)  unknown command: command 'bof' not found for agent 'beacon' os=1

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  5  run              
  0  passed           
  3  dispatch-failed  
  2  xfail            
╭─────────────────────────────────────────────────────────  DISPATCH FAILED  ─────────────────────────────────────────────────────────╮
│ whoami  unknown command: command 'whoami' not found for agent 'beacon' os=1                                                         │
│ dir C:\Users\kali\test  unknown command: command 'dir' not found for agent 'beacon' os=1                                            │
│ dir C:\Users\kali\test  unknown command: command 'dir' not found for agent 'beacon' os=1                                            │
│                                                                                                                                     │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions