jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.24k stars 235 forks source link

Different clients are online, but the index is the same #236

Closed winezer0 closed 11 months ago

winezer0 commented 11 months ago

Describe the bug

Different clients are online, but the index is the same

ike in this picture, I have no way to manipulate another host through target 1

To Reproduce

Steps to reproduce the behavior:

Normal on-line logic,

Online client 1 with index 1 Online client 2 with index 1,BUG BUG BUG

Expected behavior

Different client programs go online, should be different index numbers,

Screenshots

image

CC

Linux distro name and version, use cat /etc/*release* to view, paste the result below

# cat /etc/*release*

CentOS Linux release 7.5.1804 (Core)

C2 Transport

Agent

OS

CPU architecture

Additional context

1、How do I delete the target of an index

2、Is the target being selected displayed in green ?

jm33-m0 commented 11 months ago

Thank you for reporting this.

Currently you can switch to different targets using target <index> or target hostname. Press TAB to complete the names.

I will look into the indexing bug soon.

How do I delete the target of an index

Not possible as of now.

Is the target being selected displayed in green ?

Yes.

jm33-m0 commented 11 months ago

https://github.com/jm33-m0/emp3r0r/commit/e6219c5ab86505259076d230ec6b02e864e5a163

This should partially solve this issue and be multi-threading safe. To use it, you need to clone this repo and ./emp3r0r --release to compile yourself.

I will improve the indexing feature in the next release.

winezer0 commented 11 months ago

Okay, thank you so much. You're really good

jm33-m0 commented 11 months ago

image

@winezer0 This indexing issue should be fixed in v1.30.5