Skip to content

Powershell script to remove the JNDI Lookup class from JAR files

License

Notifications You must be signed in to change notification settings

jbalcorn/Remove-JNDILookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Remove-JNDILookup

Powershell script to remove the JNDI Lookup class from JAR files

This code comes with NO WARRANTY. It's just an example.

Vendors were telling me to find each JAR file that had JNDILookup.class, back it up, rename it to .ZIP, open it, find the JNDILookup.class, delete that file, close the ZIP, rename it back to JAR.

I figured a Powershell script could do it in one shot.

Note this does NOT dive into WAR Files or ZIPs looking for enclosed JAR files.

About

Powershell script to remove the JNDI Lookup class from JAR files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published