Categories
errors fix

L3MON Payload Build Failed error Linux

l3MON Payload Build Failed error Kali Linux

L3MON Payload Build Failed error Kali Linux and other Operating System,

Features of L3MON

  • GPS Logging
  • Microphone Recording
  • View Contacts
  • SMS Logs
  • Send SMS
  • Call Logs
  • View Installed Apps
  • View Stub Permissions
  • Live Clipboard Logging
  • Live Notification Logging
  • View WiFi Networks (logs previously seen)
  • File Explorer & Downloader
  • Command Queuing
  • Built In APK Builder

we see the error payload creating time Build failed java error

ERROR | Build Failed – Sign Command FailedCommand failed: java -jar “/var/www/payload/app/factory/sign.jar” “/var/www/payload/assets/webpublic/build.apk” Exception in thread “main” java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder at s.Sign.addDigestsToManifest(Sign.java:108) at s.Sign.sign(Sign.java:454) at s.Sign.main(Sign.java:532) Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) … 3 more

Changing default Configuration java 11 to java OpenJDK-8

update-alternatives --config java

Restarting the l3mon server

mp2 restart index.js

After changing java again login and build a payload

we can see our payload is built successfully now download the payload and install our target mobile

L3MON Install Kali Linux link

By Rahul Gehlaut

Cyber Security Researcher, CTF Player. Tech Blog Writer.

View Archive