Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Random function name starts with a number is not supported on powershell 2 #169

Closed
tyraniter opened this issue Apr 13, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@tyraniter
Copy link

Empire Version

  • Empire 3.1

OS Information (Linux flavor, Python version)

  • OS: ubuntu1904
  • Python: 2/3

Describe the bug
Powershell version 2 does not support function name starts with number, so the random function name aliasing to Invoke-Empire & Mimikatz might cause an error when running on powershell 2.

To Reproduce
N/A

Expected behavior
Fix the first identifier of function name aliasing to Invoke-Empire & Mimikatz to letter during setup.

Screenshots
image

Additional context
N/A

@tyraniter tyraniter added the bug Something isn't working label Apr 13, 2020
@Cx01N Cx01N linked a pull request Apr 14, 2020 that will close this issue
@Cx01N Cx01N removed a link to a pull request Apr 14, 2020
Hubbl3 added a commit that referenced this issue Apr 15, 2020
@Hubbl3
Copy link

Hubbl3 commented Apr 15, 2020

@tyraniter submitted a pull request fixing the issue

Cx01N pushed a commit that referenced this issue Apr 22, 2020
* fix non-ascii filename downloading error.when download files with non-ascii filename,the 'length' part in the packet is the length of string but not bytes,so throw an index-out-of-bounts error

* fix TLS cipher suite random choice not compatible with powershell 2 on windows 7

* Fix for PS2 function name issue #169

Co-authored-by: tyraniter <tyraniter@gmail.com>
@Cx01N Cx01N closed this as completed Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants