Python for Hackers FULL Course | Bug Bounty & Ethical Hacking
Python for Ethical Hackers & Penetration Tests building recon tools Python Web Development with Flask Jinja2
Github = github.com/crackallcode/Pytho...
🐦Follow me on Twitter = / phd_security
🛍 shop merch @ merch.phdsec.com
📖 Udemy Course = www.udemy.com/course/complete...
MySQL for Windows = • How To Install MySQL (...
Home Brew for Mac = brew.sh/
MySQL for mac = • Install MySQL on Mac w...
0:00 About the Course
1:38 Print + Variables
15:13 Variables Practice
31:18 Data Types
37:27 If Statements
45:14 Nested If Statement
49:41 For Loops
55:28 FizzBuzz Challenge
59:00 Functions
1:10:23 Hangman Challenge
1:34:11 PyCharm on Linux
1:36:50 Api Fuzzer
1:51:00 More Functions
1:57:00 Functions Challenge
2:01:13 Encryption Practice
2:10:15 Dictionaries
2:21:03 Web Basics HTML
3:04:28 Spider n Probe
3:51:38 Github Scraper
4:46:02 Packet Sniffer
4:53:55 Port Scanner
5:04:11 HTML & CSS
6:30:02 Python Web Development
6:31:53 If _name_ == _main_
6:45:11 Server Functions
6:51:01 Decorator Functions
7:01:46 Creating Python Web App
7:16:45 XSS with a Server
7:33:22 Login SQL injection
8:37:34 Open Redirect
9:09:02 IDORS With Login
9:31:56 Creating a Vulnerability scanner
9:43:35 CTF Practice SQL
10:39:19 CTF Practice SSRF
10:45:35 CTF Practice XSS
Пікірлер: 402
45:00: Instead of having the "score = int(score)" line I just had the line before it include that by having it be "score = int(input('What was your test score? '))". So far the content I'm watching is review as I've gone through a few of these, but I'm looking forward to what's to come as it diverges from the other ones I've done!
@Mannasss
29 күн бұрын
Exactly 👍 me too
You explain Python even better than paid lessons in Udemy! Cheers man!
@Super_Motiviation_G
7 ай бұрын
😂I agree with you
@mikitawagner6694
7 ай бұрын
Udemy is using yt btw.
@toufikforu
3 ай бұрын
Absolutely, you are right.
@gurpchirp
3 ай бұрын
100% AGREE.
My man! Already know this will be 🔥🔥🔥 you put out great tutorials! edit:been chewing on this lately and its great!
On 1:49:00 on line 8 where you recursively call the function I would advise caution doing this because it will introduce new stack frames that can hinder performance and when modified can lead to unintended behavior. I would recommend you let the function finish off by returning an error or using continue and use a while loop on the global scope to handle the recursive looping of the function instead.
@mudittsharmma7366
19 күн бұрын
hey, can you tell me how he is able to get the ip address to fuzz (10.10.11.161), i am not able to understand from where he obtained the ip.
Wow... 10 hours of free content on something that can DRASTICALLY improve yourself as a bug bounty hunter. Bravo sir and thank you so much! I am excited to dive in!
45:48 you can also use score = int(input("What was your test score? "))
Around the 40:00 mark, please note that input("") returns a string, not an integer, so your code will create a logic error. It will work for fnum=1 and snum=2, but if you did fnum=10 and snum=2, it will return that the second number is larger. Please be aware of this. Really great tutorial so far though.
@Michaelno
2 ай бұрын
ty for this
@astroviking3414
Ай бұрын
I read this at 39min in lol, thanks
Thank you! I am not really into Ethical Hacking and stuff but I love Computers and Coding from my childhood when we got our first computer. I would sit on it for at-least 2 hours a day doing coding, playing small games I made and just chilling. I really want to prevent any cyber attacks on my PC so I will learn this and basically develop my skills for my own good.
@jalanstudio2465
26 күн бұрын
@@cassanateli Unlike you because you can't do anything well.
You are a godsend. I recently found a passion for this stuff and if you self driven and want to learn then this is amazing
Next JavaScript and html manipulation for bug bounty ❤
At around 3:34:00 - Curious why we aren't testing for the keyword and using a set() to screen out duplicate links on the target page when collecting hrefs to populate 'urls' within the first 'for tag in a_tag' loop rather then waiting until adding them to 'visited_urls'. (Maybe the join of the relative path and domain should be done up here too? And shouldn't there be some kind of check to avoid joining to an already complete URL?)
The greeting exercise i did a bit different. def greeting(hello): name = str(input("whats your name?") print(hello + name) greeting("hello")
I've been studying Dr Chuck's python course for months and am almost finished. This is a huge motivation to finish so I can learn this course! Thank you!
@shadowsalah1484
7 ай бұрын
hey if i watch this video i will learn python 100% or no ?? or with dr chucks?? who is the better
@bobanmilisavljevic7857
7 ай бұрын
@@shadowsalah1484 hey idk if I forgot to send my reply but I don't see it. I suggest you look at the Python docs on their website where literally all the information about Python (even has a tutorial to follow). I think it's good to learn from multiple teachers to get a few different perspectives on using python. Personally, I find it easier to learn from teachers rather than only from the Python docs and i usually look at the docs when the teacher mentions something interesting
@Klaguur
7 ай бұрын
@@shadowsalah1484I just started a python course by Dr Chuck (may be a different Chuck) from Coursera. Its approx 80hrs tho lol I am also adding this one as well.
@bobanmilisavljevic7857
6 ай бұрын
@@shadowsalah1484did you learn some python yet? I'm finally starting this course today and I'm excited. If you see anything interesting let me know!
@jdrex5039
6 ай бұрын
@@shadowsalah1484yo moma
This is one of the best python course I seen so far. Explanation was kept simple and easy to understand.
@brendaleegarcia5634
2 ай бұрын
exactly!
Nice!!! Im currently working on the short version. Great timing
ive got a question if i dont have hack the box api what do i use to follow the course?
Wow. 10 hours. I had difficulty following along the 5-hour course previously due to my sparse knowledge, but still, I'm very grateful. And now this one appears. Thanks again for uploading this free course!!
thank you thank you so much. The way you explain things even though you would say you are not into details. Just great.
thank you very much for your great teaching at right time. so much love from India
Muito obrigado por Ajudar quem tem dificuldade com programação como eu tinha!
Early crew. :3 I almost finished one of your 10 or so hour courses.
This is unbelievable! Over 10 hour's of free education, so many people just don't know what they're missing out on. Such valuable information from this channel. Thank you again for these courses. ❤
@Peacfull
7 ай бұрын
are you his gf
Can you make a video on Networking, pls. That will be really helpful.
1:07:29 userName = input("What is you name? ") def function(userName): print("Hello " + userName) function(userName)
Hi! I have a question for 1:47:50 , why do you call loop() when status is 404? Why doesnt that function start from beginnig again but continues and behaves as pass? Thank you in advance for reply
Plz split this video in a playlist so that it may run smoothy on some devices. It would be really helpful.
I appreciate your video. I've been working on networking at a young age, but programming has always been my problem. This video is perfect for learning.
Wow , such effort really apperciate and respect , im going to watch it this week Thank you again
You have opened my brain, thank you thank you thank you , excellent presentation and easy to understand. You saved my day!
Thank you for creating this video! Your efforts are appreciated.
I still don’t understand how this masterpiece is free! Bravo to you and your contents are gold.
Relearning Python and this video will definitely help me, especially with Ethical Hacking. Thanks Sir John for making this video!
Im learning python in clg in 10 days but with this video 1 hr of time thanks bro
Awesome Sir 👌 I'm looking forward to Being ethical hacker
Ryan you are the real deal 🤝 💯💯🔥🔥🔥, you are underated and you deserve more blessings than you get like seriously.
48 minutes in and this video deserves a comment very good teacher 👏
Brooo 11 hours of python... On Saturday??? Im all into this , ty ty ty
Your effort and time to do this is appreciated. Thank You.
I have been waiting for this post, thanks so much.
25:00 print("Thanks for using my small program ") petName = input("What is your pet name? ") pet = "cyber" userCityName = input("What is your city name in which city you are born? ") print(f"Your new twitter handle and bio {pet} {petName} from {userCityName}")
hi sir, i want to ask something, this video is the first step become bug bouny or ethical hacker right? Or is there another video that I should watch first before going to this video?
love this course, thank you Mr. Ryan John, i appreciate this vid
I learned a lot of things in this video. Thank you so much
@ryan_phdsec
7 ай бұрын
Glad it was helpful!
Thanks a lot for this content!Great work!
Thank you for posting this. Keep up the great content.
god bless you man thank you for this great course 🥰
Incredible content, as always, buddy! Cheers from Brazil :)
for num in range(1, 100): if num % 3 == 0 and num % 5 == 0: print("FizzBuzz") elif num % 3 == 0: print("Fizz") elif num % 5 == 0: print("Buzz")
It's a nice course but I wished you explained further on the for and whole loops. Apart from that, it was excellent
@jdrex5039
6 ай бұрын
I'd like an explanation for whole loops, too!
@hunnidkray534
6 ай бұрын
What would you like to know.
@oswald_gustin
6 ай бұрын
@@hunnidkray534 I'd like to have a more details on the loops
@oswald_gustin
6 ай бұрын
@@hunnidkray534 I've watched a lot of videos about loops but never gotten the understanding
Thanks for the complete course sir thanks from deep in ❤
How do you test setup a test environment for some of these tools like the Api fuzzer
you are amazing Ryan and subscribed from the intro
This guy is amazing…. I love it ❤❤❤❤ from dubai
is this enough for someone who as no knowlege of programming langauge /programming logic, is cybersecurity student ??
@hassankazmi8508
17 күн бұрын
Did you learn python by only watching this video?
1:32:35 isit okay if i make it like this just because I think we have been using a lot of if condition so its gonna be making me more confused haha limit = 5 integ = 0 game = False while not game and integ let_people_guess = input() for position in range(len(lis_random)): letter = lis_random[position] if letter == let_people_guess: display_word[position] = letter integ +=1 print(f"you have {limit - integ} guesses left") print(display_word) if "_" not in display_word: break elif integ == 5: print("you have 5 guesses bruh, are ya messing around")
@ThatSpacer
3 ай бұрын
It's not too bad, but it needs a bit more work. I'd recommend trying out some more nested if statements exercises in order to understand the computer logic. You're on the right track anyway!
im really confused at the posistion part of the hangman challange for position in range(len(secretWord)): letter = secretWord[position] if letter == guess: displayWord[position] = letter print(displayWord) why do i gotta use position multiple times
@aixworld4919
3 ай бұрын
because you want the "_" in that position to be replaced by the correct letter
for practice 1:30:04 mark. the program ask for letter, and then after input I just keep spamming the letter until all spots are fill and says you win
Scraper doesn't seem to work using selenium to click the raw button with given selector or using xpath (even with WebDriverWait). The code in your password-scraper repo doesn't find the button with error "Message: no such element: Unable to locate element"); other methods result in a "Message: stale element reference: stale element not found" error.
@ryan_phdsec
4 ай бұрын
I will look at this code tomorrow and see if it needs updated. Thanks for letting me know! 😁
Are there exercises accompanying this course ?
I need to do that on Linux? Or i can do that in a windows?
i seem to be getting wrong printed 6 times when i try printing this segment of code tell what i wrote or did wrong somebody import random print('hello how are you') words = ['hacker', "bounty", "random"] secret_word = random.choice(words) guess = input("guess a word ").lower() print(guess) for x in secret_word: if x == guess: print('right') else: print('wrong') it should show same results as Ryan but it doesn't
@ThatSpacer
3 ай бұрын
There are several problems with the code you have provided here. First of all, the 'secret_word' needs to be using some function which splits up the words. Use a second variable which deals with splitting up the word. Hint: you can easily find a list of useful Python functions on w3schools ;). I would recommend working on the logic of the code a bit more. I, too, had a hard time learning and understanding how to use computer logic instead of human logic. Don't forget that a computer needs more instructions but with less words in order to do what you'd like it to. :) I hope this help a bit more! Good luck with your endevours ;)
Never stop sir, I am grateful too you!!!!
1:40:48. When i tried to import requests it didnt give me an option to import that module so would i install that like a regular binary?
@ryan_phdsec
7 ай бұрын
Yes you should install through the command line if you run into any issues.
@holkingd2782
7 ай бұрын
@@ryan_phdsec I tried that and it was already downloaded in another folder. So I assume that I would need to copy that bin into the correct directory? I ask that because I haven't exactly done such a thing for this reason and am not sure what that correct directory would be. I assumed that when I downloaded pycharm, all the necessary dependencies would be coming with it.
Is this video intended for beginners with some experience with python or programming in general or also good for a complete newbie interested in learning programming? I dont currently work in IT and have no IT/Programming knowledge?
@ThatSpacer
3 ай бұрын
You can give this video a try. If not, a few beginner videos on Python should do the trick in order to help you learn better from this video. I personally have prior experience with Python so I didn't have a hard time following the instructions but it isn't the case for everyone. Good luck!
@bicdeez007
3 ай бұрын
@@ThatSpacer thank you
hi i don't have any prior knowledge of programing can i start with this course or should i first learn general purpose python ? i want to get into cyber security
@tmackie9439
4 ай бұрын
he is pretty much starting off with the basics, so this is a good start.
Thanks Ryan. I'm very grateful to be living in these good times when you can find such an incredible source of knowledge for free on youtube. I'll support you back and get some merch from you. Keep up the the good work mate!
I downloaded this but when I start it up it does'nt show the code editor...But it does show the consol at bottom of the screen...How can I get the code editor on the screen??
at 55:14 why is there == 0 at the end of the if statement ?
@Nick-vd7cg
8 ай бұрын
hmm aparently because there's no remainder but still doesnt make sense to me... ill just accept how it is..
@wonkafansonly2005
8 ай бұрын
% is the modulo operation, it returns the remainder num % 3 is saying divide num by 3 and give me the ONLY the remainder if num % 3 == 0 is saying does the remainder equal zero? if the above is true then we know that num is divisible by 3
@maniacalpeppers5742
7 ай бұрын
thank you!!@@wonkafansonly2005
Hi, I was wondering If I could complete this whole Course in my Mac. I am at the API fuzzer section and seeing that kali linux is being used I thought that maybe I would not be able to finish the course. I do know that linux is needed for hacking and stuff but for this course is it a must? Looking forward to your reply. Thank you
@ryan_phdsec
6 ай бұрын
You don't NEED linux but it is helpful because of the repositories that are built in. But to answer your question you can make the fuzzer on you mac.
@kennethseancorpuz5604
5 ай бұрын
how about in windows? is the kali linux a must? @@ryan_phdsec
Awesome work dude ❤
you just opened up an SQL injection script. it should be written in the same method as the register query was done. just because it says SELECT doesn't mean it's not possible so not sure what you meant further along the video.
Awesome Video. Thank you for making this free! I have question though: Why at 39:30 the output is "The first number is bigger", however in the code is specifies to print "The first number is larger!"?
@BreakinUpBuds
6 ай бұрын
watch the few mins before 39:30 he originally used the word bigger then he changed it to larger but you don't see him do the change because of how its edited.
Hi , the link of Fuzzer api dont work. any alternative plz ?
x=input("First Name ") y=input("Last Name ") print("Your Name is "+f"{x} {y}")
dude this one just clicks finally after so many finally shtz sticking love u brother keep up d good work
If I want to learn skills for Ethical Hacking/Bug Bounty Hunting, etc., what is the prerequisite knowledge I need before this course? Is there any roadmap? Recommendations?
@ThatSpacer
3 ай бұрын
You need a bit more knowledge than just coding and Python. You'd need to understand networking (protocols, what they are and do, OSI or TCP/IP model which shows basically how the internet works), the CIA triad and good moral compass. I'm sure I missed some details but if you're not sure where to start, you can always do the free course from Cisco called CCST Cybersecurity which will also earn you a certification for completing the course. Keep in mind that the exam might be paid. Good luck!
does anyone know why this is not working => result = db.engine.execute(query_statement) in windows
Thank you so much for this great video sir🖤🖤
Thank you so much❤❤❤❤❤ You could publish this tutorial for a price, but you made it free KZread video.
The course is great no doubt about it . But it appears that github changed the page source and there is no longer class called js-permalink-replacable-link. I tried everything I know but couldnt make it print the raw page....
9:42:41 i typed the code exactly as you did but it has an error. Everytime it says results is a nonetype object and it won't allow me to .items() it.
@ryan_phdsec
6 ай бұрын
Copy the code from this link and if it doesn't work paste your error into the comment and i'll look at it. github.com/crackallcode/Python-Course-Projects/blob/main/network_scanner.py
I will give it a try. Thanks.
Please reply as i am watching the course right now please ❤
cảm ơn bạn đó là những gì tôi cần
is it good for beginners. I am a beginner but looking to go into pen testing
@ryan_phdsec
7 ай бұрын
Yes I start from the beginning
Thank you so much , sir for giving free this heavy content
Thank you so much for this!!
Men how to use web driver on linux I cant see the actual chromewebdriver file
Sir please do CTF challenges and solve it with Python scripting, please it's a humble request i really wanna learn python but to do bug bounty on it + CTF and all other stuff. Can you do that sir. btw first time on your channel and i already loved it. Thanks.
Finally what I've been waiting for, thanks budy
teacher make course js beginner to advance
im trying to follow to along by running the same commands in Processing 4 - Python Mode. However, almost nothing translates into the console as it does in the video. The whole first name, last name shit. i got nothing. also, i get nothing when using { } wtf?
1:29:39 In hangman game I'm not getting correct output
I hope you will give us a video that teaches us how to code out a full complete functional undetectable trojan horse.😁😁😁
Right on time ⌚
Best Hacking youtube channel. Love your content keep up! 🔥🔥
Thank you for this course, Love it!
Correction, at For the HangMan challenge you never talked before about importing random, only "time" !
Greetings from Iraq 🇮🇶really incredible
probably good work but impossible to read the codes. better to use minimum 24 font size