Comments (3)
@bandrel can you give me the raw output of Empire's get_loggedon module for the host the agent is running on? this seems to be an error parsing that.
Cheers
from deathstar.
sanitized, but the format is the same. It looks like the local accounts that are logged in are showing up so there is not a LOGON_Server. So the method of splitting the output based on spaces wont work.
Job started: 4WFBPN
wkui1_username wkui1_logon_dom wkui1_oth_domai wkui1_logon_ser ComputerName
ain ns ver
-------------- --------------- --------------- --------------- ------------
Administrator FAKEDOMAIN localhost
Administrator COMPUTERNAME localhost
Administrator . localhost
User1 FAKEDOMAIN DC1 localhost
User1 FAKEDOMAIN DC1 localhost
COMPITERNAME$ FAKEDOMAIN localhost
Get-NetLoggedon completed!
from deathstar.
Using this
username = entry.split()[0]
domain = entry.split()[1]
instead of this
username, domain, logon_server,_= entry.split()
should work since that function doesnt use the logon_server anyway.
After the change I don't see any errors so I think this should work for me. attached PR #5
from deathstar.
Related Issues (20)
- Any suggestions on a first contribution
- get_gpo_computer question HOT 1
- DeathStar listener over VPN? HOT 1
- IndexError: list index out of range HOT 1
- Allow to specify existing listener
- Polling for agents HOT 3
- Powershell through CME HOT 1
- Listener error on port other than 443
- Issue with powershell?
- Add Command to Installation on README HOT 1
- Agent Poller Error HOT 1
- only worked on python3.8+?
- How soon will it work with Kodi 19?
- Connection to Empire API Errors out on Connection. Kali 2020.4, DeathStar (Pipx install)
- Handle exception
- Allow specifying an existing listener HOT 1
- Can't generate launcher
- Cannot Launch DeathStar
- n =+1 // n+= 1
- rename to DeathProject
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deathstar.