Chocapikk / CVE-2024-36401

GeoServer Remote Code Execution
73 stars 12 forks source link

pip3 install --ignore-installed pwncat-cs --upgrade #3

Open noob-bird-Yu opened 1 month ago

noob-bird-Yu commented 1 month ago

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute setup.py since setuptools is not available in the build environment. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

What should i do.

Chocapikk commented 1 month ago

Hello, try pip install setuptools and lmk!

noob-bird-Yu commented 1 month ago

Requirement already satisfied: setuptools in c:\sofewares\anaconda\lib\site-packages (75.1.0) It not work.

Chocapikk commented 1 month ago

pip3 install --upgrade setuptools wheel

Maybe try to upgrade it and install wheel too ?

noob-bird-Yu commented 1 month ago

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute setup.py since setuptools is not available in the build environment. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Same error...

Chocapikk commented 1 month ago

From what I see you are using anaconda, can you maybe try using

conda update conda
conda update --all
conda install setuptools

?

noob-bird-Yu commented 1 month ago

RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment. It seems still not use.

Chocapikk commented 1 month ago

conda update --force conda

You can try to force it. Otherwise honestly I have no solution, maybe change environment to execute the exploit.