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

Error with Payload "Program too big for memory" #4

Closed
Dyotson opened this issue Feb 19, 2018 · 1 comment
Closed

Error with Payload "Program too big for memory" #4

Dyotson opened this issue Feb 19, 2018 · 1 comment

Comments

@Dyotson
Copy link

Dyotson commented Feb 19, 2018

Hi! So I finally made the server work (It was just a thing with mysql configuration, particular case).
The thing is I compiled the payload with PyInstaller, but everytime I try to execute it in a windows PC says on the cmd: "Program too big for memory"

@0blio
Copy link
Owner

0blio commented Feb 20, 2018

In order to make the payload executable on Windows you have to:

  1. Generate the payload. Navigate to the Client/ folder and:
    python caesar.py <output> <your server ip/url>

  2. After that, since PyInstaller is not cross-compiler, you must move the generated payload on a Windows system and compile the payload on it:

    • Install python 2
    • pip install requests
    • pip install pyinstaller
    • pyinstaller -F -w <your_generated_client_name>

NB: For now the payload is written in python for testing purposes, in the future it will be translated in cpp / java in order to make the process of compiling it less intricate.

  1. If all went the right way you should see your target writing targets in the main Caesar shell.

Let me know if you solve.

@xalphahkr xalphahkr mentioned this issue Jul 11, 2018
@0blio 0blio closed this as completed Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants