Active 7 months ago. Viewed 52 times. Improve this question. If you say you see all the source code you are not referring to Java source code, right because that would be very unusual? If those files have a common header you could simply apply strings on the binary and later split the files if one or more files were extracted into one file. Alternatively try binwalk. Add a comment. Active Oldest Votes.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Improve this answer. Remko Remko 2, 2 2 gold badges 17 17 silver badges 28 28 bronze badges. Good answer, though of course other tools might not use the same approach. The question was a bit vague anyway though, so I think answering that specific implementation is the right way to go.
Henry Heikkinen Henry Heikkinen 4 4 silver badges 10 10 bronze badges. You can decompress a jar file using something like 7-zip, but the question was clarified to extracting a jar from an exe, not an exe from a jar. I understood the question. I don't know more details about how they go about their job, but there's big chance that the jar file sits unmodified inside the generated exe You could take a look at the generated files with a hex viewer and there's a high chance you'll find a jar signature to find out create a small jar file, look at it with a hex viewer, pack it and search for specific content from the original jar in the packed file.
Archenoth Archenoth 1, 13 13 silver badges 17 17 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks. Podcast Making Agile work for data science. Programmers inevitably have to learn from other Java engineering code. Sometimes, you can only get. Calss file, jar package or war package.
At this time, programmers are required to be proficient in decompiling these types of files into Java code and forming a project that can be compiled and run. The decompiler tool introduced in this paper is jd-gui. The decompiled jar package is the jar package of a springboot project.
After downloading the jd-gui, unzip it without installation. Double click to open the EXE file. Click the file you want to view to see the source code. Click the underlined variable symbol to automatically jump to the definition. You can also search for the variable name, but the search will be slow.
0コメント