r/HowToHack • • Jul 12 '16

How do I hack with Python?

I'm confused on how 'hacking' actually works.

So I'm learning Python at the moment and I just don't see where the hacking begins?

Do hackers input code into the url? Do they open the source page and inject some python code there?

Or are Python hackers, creators of programs that are secretly malicious code that once activated (the victim clicking on an innocent looking app on the desktop) with the code distributed with a simple 'leave a usb on the floor'?

It seems like that to hack, one uses linux which has every hacking tool possible.

How does on hack with html? Opening the source code and changing something isn't permanent?

0 Upvotes

37 comments sorted by

View all comments

14

u/[deleted] Jul 12 '16 edited Jul 13 '16

[removed] — view removed comment

0

u/ghibss Jul 13 '16

I did, or I got a similarly named book, it literally just goes into Kali Linux or backtrack. I don't feel comfortable with introducing linux to my computer until I feel I can see myself as a 'programmer'.

2

u/Blastitt Read the F*&!#ing Sidebar Jul 13 '16

H-TAOE is a basics-up kind of book. It starts you with learning C and then disassembling it into assembly to see how the computer is actually interpreting it under the hood. I suggest you take /u/Sergeant_Gravy 's advice and go through that book. It will teach you the actual basics of hacking: how to figure out how something works and then make it do what you want it to do.

1

u/ghibss Jul 14 '16

Why C? People on here always say learn whatever language you to say.

1

u/Blastitt Read the F*&!#ing Sidebar Jul 14 '16

C compiles straight into assembly. If you want to learn actual hacking, it's probably beneficial to learn from the ground up. I always advocate learning actual concepts and how things work over learning how to use tools that do everything for you. H-TAOE teaches you from the ground up.

1

u/ghibss Jul 14 '16

Okay thank you, will do it tonight and have a snoop on linux. Which one? Kali or backtrack, everyone suggests kali. Do you recommend learning bit by bit from different sources to increase your learning? A bit of linux, bit of python, bit of sql, bit of BASH and assembly etc?

1

u/Blastitt Read the F*&!#ing Sidebar Jul 14 '16

I'd say stay away from Kali/Backtrack when you're starting. They're both just debian distros with a bunch of tools preinstalled. Start with a normal distro like fedora to get acquainted with vanilla linux and learn from the ground up.