Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Using API to issue agent shell commands does not work #914

Closed
wbbigdave opened this issue Jan 8, 2018 · 3 comments
Closed

Using API to issue agent shell commands does not work #914

wbbigdave opened this issue Jan 8, 2018 · 3 comments

Comments

@wbbigdave
Copy link

wbbigdave commented Jan 8, 2018

Empire 2.3

Centos 6 Server Python 2.7

When issuing the command
curl -k https://localhost:1337/api/agents/<AGENT-NAME>/shell?token=<token> -X POST -d '{"command":"pwd"}'
I get the returned error
TypeError("'NoneType' object has no attribute '__getitem__'",)

@xorrior
Copy link
Contributor

xorrior commented Jan 8, 2018

@wbbigdave We are on version 2.4 . Do you have the same issue on the latest version?

@wbbigdave
Copy link
Author

wbbigdave commented Jan 9, 2018 via email

@wbbigdave
Copy link
Author

Fixed in 2.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@wbbigdave @xorrior and others