githubEdit

Code review

Skill Level: Intermediate to Advanced Prerequisites: Programming knowledge, security concepts

Methodology

Phase 1: Reconnaissance

Phase 2: High-Value Targets

Phase 3: Vulnerability Patterns

SAST Tools

Multi-Language Scanners

Secret Detection

General

JavaScript

NodeJS

Electron

Python

.NET

PHP

C/C++

Kotlin

Java

Task
Command

Execute Jar

java -jar [jar]

Unzip Jar

unzip -d [output directory] [jar]

Create Jar

jar -cmf META-INF/MANIFEST.MF [output jar] *

Base64 SHA256

sha256sum [file] | cut -d' ' -f1 | xxd -r -p | base64

Remove Signing

rm META-INF/.SF META-INF/.RSA META-INF/*.DSA

Delete from Jar

zip -d [jar] [file to remove]

Decompile class

procyon -o . [path to class]

Decompile Jar

procyon -jar [jar] -o [output directory]

Compile class

javac [path to .java file]

Last updated

Was this helpful?