How can I see the code of softwares?

Gizametalman

Banned!
OP
Banned
Joined
Dec 18, 2015
Messages
974
Trophies
0
Age
30
Location
D.F. - Zona Cero.
XP
730
Country
Mexico
Greetings!
Im studying programming, and I was wondering if I could see the source code of a software (any) just for learning purposes.
Like, seeing how one line of code is written and maybe see which lines of code makes what and so on.
First... is illegal right? But I'm guessing that free software shouldn't be a problem for that purpose.
So far I'm learning with Unity, but I don't think that the way to code in Unity works outside of Unity (for instance Visual Basic for C#)
Well, is there any way? thanks in advance.
 

Joe88

[λ]
Global Moderator
Joined
Jan 6, 2008
Messages
12,736
Trophies
2
Age
36
XP
7,427
Country
United States
Unless its open source and has source code available like on github or something, otherwise you would have to reverse engineer the program with basic machine code.
As far as legality is concerned, depends where you live, but as long as you are doing it yourself and not sharing results or sourcecode with anyone then I doubt anyobe would find out.
 
Last edited by Joe88,
  • Like
Reactions: Gizametalman

ScarletDreamz

[Debug Mode]
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
This is quite possible, but it depends on what lenguage its used and if the software its packed or encrypted.

There are several tools in order to rever engineer the app.

At the lowest level, you can use IDA PRO + HEX EDITOR.

Then, if you want to go deeper or onto the secondary layer of code, you can always use many softwares, as JetBrains.
 

Gizametalman

Banned!
OP
Banned
Joined
Dec 18, 2015
Messages
974
Trophies
0
Age
30
Location
D.F. - Zona Cero.
XP
730
Country
Mexico
I'm used to use Hex Editors mainly for glitching pictures, didn't know that it could be used to decrypt software.
Which one do you recommend me? like... one "General Purpose"
 

Autz

Well-Known Member
Member
Joined
Feb 18, 2016
Messages
575
Trophies
0
Age
27
XP
368
Country
Venezuela
As already explained, you can't see the source code unless is intented to see that (like Open Source programs). Mostly when you write code and want to test it, the code is translated to machine code or any other programming language (compiled), making the app to test the code. (Code -> Compilation -> App)

To see it, as already explained, you should reverse engineer the app to get the source code (App -> Compilation -> Code; Meh, i don't know why i bother to explain this), but it heavily depends on what language was written or what compilers were used, as already explained.

On summary: Don't waste your time on this comment and read previous ones.
 
  • Like
Reactions: Gizametalman

Gizametalman

Banned!
OP
Banned
Joined
Dec 18, 2015
Messages
974
Trophies
0
Age
30
Location
D.F. - Zona Cero.
XP
730
Country
Mexico
Thank you for commenting Autz, and yes you wasted your time because I knew that :P

But thanks anyway, I'm sure that many amateurs like myself finds interesting how Reverse Enginering works.
 
  • Like
Reactions: Autz

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Used it as a web cam for a day for fun, sooo shitty it was hilarious
  • Psionic Roshambo @ Psionic Roshambo:
    I had two Ken one regular black one and a silver special edition one lol
  • K3Nv2 @ K3Nv2:
    Speaking of old stuff those green og Logitech Xbox controllers still being listed around $100
  • The Real Jdbye @ The Real Jdbye:
    eyetoy was fun yeah
  • The Real Jdbye @ The Real Jdbye:
    super basic, but the minigames were well designed
  • The Real Jdbye @ The Real Jdbye:
    i'm sure there's at least 1 emulator out there that works with it
  • Psionic Roshambo @ Psionic Roshambo:
    I had the PS3 one too and The Eye of Judgement game lol was ass
  • The Real Jdbye @ The Real Jdbye:
    i had eye toy play on ps2
  • K3Nv2 @ K3Nv2:
    Microsoft ruined it with kinect
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, PCSX2 works with any web cam and emulates the EyeToy with it
  • K3Nv2 @ K3Nv2:
    I remember mic support for the n64 being janky
  • K3Nv2 @ K3Nv2:
    Emulation wise
  • Psionic Roshambo @ Psionic Roshambo:
    I had a kinnect.... It blew rotting goat balls
  • Psionic Roshambo @ Psionic Roshambo:
    Ken amazingly DraStic microphone support works better than real hardware lol
  • Psionic Roshambo @ Psionic Roshambo:
    On a phone of course
  • Psionic Roshambo @ Psionic Roshambo:
    Also touch is better.... Well at least better than the launch DS, the lite one improved that a ton
  • K3Nv2 @ K3Nv2:
    Touch
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I really need to dig out my USB Wii sensor bar and experiment with Wii emulation and synching Wii remotes with BT lol
  • Psionic Roshambo @ Psionic Roshambo:
    Sort of redundant since I have a Wii lol
  • Psionic Roshambo @ Psionic Roshambo:
    With HDMI lol
  • K3Nv2 @ K3Nv2:
    I also have a Wii
  • K3Nv2 @ K3Nv2:
    Tomorrow be may 4th
  • Psionic Roshambo @ Psionic Roshambo:
    Getting Wiid from Street Pharmacist Mario?
  • K3Nv2 @ K3Nv2:
    1tb SD card for whatever reason
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    USB adapter and use as a Wii hard drive? Lol
    Psionic Roshambo @ Psionic Roshambo: USB adapter and use as a Wii hard drive? Lol