greptilian logo

IRC log for #friendlyjava, 2015-06-08

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
05:30 nath3lf joined ##friendlyjava
13:40 cofo joined ##friendlyjava
13:40 mr_lou joined ##friendlyjava
19:41 cofo Hi
19:41 cofo I need help
19:41 cofo i have jar file..
19:57 aditsu what's the problem?
19:58 cofo How can I edit jar file and also compile it?
19:58 cofo Because i tried to edit the class and it didn't load
19:58 aditsu a jar file is not something you edit or compile
19:58 cofo why
19:58 aditsu you edit and compile the source code
19:58 cofo i decompile it..
19:59 aditsu if you decompile it, it means you get the source code, you can edit and compile that
20:01 cofo how i compile it?
20:01 aditsu just like you compile any java code
20:02 aditsu what, you know how to decompile but not how to compile?!
20:02 cofo yes
20:03 cofo decompile i use jd-gui
20:04 cofo i don't know :(
20:04 cofo please
20:04 cofo i don't have eclipse if i need
20:04 cofo aditsu:
20:04 aditsu that's very weird.. anyway, you can generally compile stuff with javac, you should read a java tutorial
20:05 cofo i tried
20:05 aditsu and I don't know what you're trying to do, but it sounds quite fishy
20:05 cofo fishy?
20:05 cofo I'm trying to crack jar program
20:05 aditsu well, that might be illegal
20:06 cofo it's CTF
20:06 aditsu what's CTF?
20:06 cofo not ctf
20:06 cofo forget it
20:06 cofo if you don't know don't help
22:20 cofo public static void main(String[] paramArrayOfString) is this main function?
22:29 pdurbin mmm, fishy
22:30 pdurbin cofo: yep. main
22:30 cofo i need help
22:30 cofo is it possible to change code and then compile it?
22:33 pdurbin sure, go for it
22:33 cofo i downloade bytecode viewer but it's just view
22:33 cofo damn this java
22:34 cofo it's so sad when you want something but you fail
22:35 cofo i found this:http://stackoverflow.com/questions/14069082/how-to-change-already-compiled-class-file-without-decompile
22:36 cofo do you know anything about it?
22:36 pdurbin I always do the normal thing... write a .java file and compile it into a .class file... never the opposite
22:38 cofo did you decompile?
22:45 cofo so what i do if i have class file inside jar
22:45 cofo and i changed bytecode
22:45 pdurbin I have never decompiled. Sounds fancy.
22:47 cofo yes
23:26 cofo are you there/
23:51 pdurbin cofo: you don't have the .java files? only the .class files?
23:51 cofo i have jar file
23:52 cofo i'm not sure which to edit
23:52 cofo if to take class and rebuild
23:52 cofo damn
23:52 pdurbin start with the .java files if you can
23:53 cofo i have jar file
23:55 pdurbin ok

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode