Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Script is broken for jdk 1.14 #11

Open
r3dt3am opened this issue Jun 11, 2021 · 2 comments
Open

Script is broken for jdk 1.14 #11

r3dt3am opened this issue Jun 11, 2021 · 2 comments

Comments

@r3dt3am
Copy link

r3dt3am commented Jun 11, 2021

When trying to load angrypuppy to cobalt strike 4.3 there is an error class jdk.internal.loader.classloaders$appclassloader cannot be cast to class java.net

To replicate the issue

  1. setup cobalt strike 4.3
  2. openjdk 1.14
  3. run angrypuppy install.sh
  4. checked correct path is placed at the import statement
  5. load angrypuppy.cna
  6. Error "class jdk.internal.loader.classloaders$appclassloader cannot be cast to class java.net"

How can this be fixed ?

@wbbigdave
Copy link

I found the solution to this, basically, the import is not supported on later than Java 8, the problem is Cobalt 4.3 needs higher that Java 9 or openJDK 11.

The ONLY workaround I found was to download Orcale Java 8 JRE from the official Oracle website. You need to sign up but this is the only package which works.

Edit your CS start.sh to include the downloaded java binary.

@rabx
Copy link

rabx commented Jun 19, 2021

I found the solution to this, basically, the import is not supported on later than Java 8, the problem is Cobalt 4.3 needs higher that Java 9 or openJDK 11.

The ONLY workaround I found was to download Orcale Java 8 JRE from the official Oracle website. You need to sign up but this is the only package which works.

Edit your CS start.sh to include the downloaded java binary.

Trying to follow along

  1. Downloaded jre-8u291-linux-i586.tar.gz
  2. Extracted to Desktop
  3. export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games/:/home/kali/Desktop/jre1.8.0_291/bin/java
  4. Started team server and cobalt
  5. Imported Angrypuppy.cna with the same error

I don't see a start.sh file in my cobalt strike folder nor in the AngryPuppy folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants