Exercise 5: Solutions & Shoutouts | JavaScript Tutorial in Hindi #72
Aug 15, 2023
Exercise 5: Solutions & Shoutouts | JavaScript Tutorial in Hindi #72
Link to the Repl - https://replit.com/@codewithharry/72E … Join Replit - https://join.replit.com/CodeWithHarry Download Notes - https://drive.google.com/drive/folder … Ultimate JS Course Playlist: • JavaScript Tutorials for Beginners in… ►Checkout my English channel here: / @programmingwithharry ►Instagram: www.instagram.com/codewithharry python, C, C++, Java, JavaScript and Other Cheetsheets [++]: Playlist: • Coding CheatSheets 🧾 by CodeWithHarry ►Learn in One Video[++]: Python[15 Hr]: • Python Tutorial For Beginners In Hind… Python Advance[3.5 Hr]: • Python Programming Course in Hindi (A… Python[1 Hr]: • Learn Python In Hindi In One Video - … Python[2 Hr]: • Python Tutorial In Hindi 🔥 Python[15 Min]: • 15 Minute Python Tutorial For Beginne… JavaScript[1 Hr]: • JavaScript Tutorial C[1.3 Hr]- • C Programming Tutorial For Beginners:… php[1 Hr]: • Learn Php In One Video In Hindi - हिं… php[2.3 Hr]: • Php Tutorial for Beginners in Hindi w… php[Project]- • Login And Registration Form Using Php… HTML[30 Min]: • HTML 5 Tutorial For Beginners In Hind… CSS[8.5 Hr]: • CSS Tutorial In Hindi (With Notes) 🔥 CSS[1.4 Hr]: • CSS 3 Tutorial For Beginners: Learn C… Wordpress[3.2 Hr]: • How To Make a WordPress Website | Wor… Angular[2 Hr]: • Angular Tutorial in Hindi Java[2.3 Hr]: • Java tutorial in hindi 🔥 Web Scraping[1 Hr]: • Web Scraping Tutorial using Python an… MongoDB[2 Hr]: • MongoDb Tutorial For Beginners in Hin… Numpy[1 Hr]: • Numpy Tutorial in Hindi Android Dev[12 Hr]- • Android Development Tutorial For Begi… Linux[1 Hr]: • Linux Tutorial For Beginners in Hindi JQuery[1.1 Hr]: • jQuery Tutorial For Beginners In Hind… Git and GitHub[1.1 Hr]: • Git \u0026 GitHub Tutorial For Beginners I… ►Complete course [playlist]: React: • React Js Tutorials in Hindi Python- • Python Tutorials For Absolute Beginne… OOP Python- • Object Oriented Programming Tutorials… Java: • Java Tutorials For Beginners In Hindi JavaScript- • JavaScript Tutorials In Hindi PHP- • PHP Tutorials in Hindi C- • C Language Tutorials In Hindi C++- • C++ Tutorials In Hindi Git \u0026 GitHub- • Git and GitHub Tutorials In Hindi Android Dev- • Android Development Tutorials in Hindi Python GUI- • Python GUI: Tkinter Tutorial In Hindi… Web Development- • Web Development Tutorials For Beginne… Python Django: • Python Django Tutorials In Hindi Projects Using HTML, CSS \u0026 Javascript- • Projects Using HTML, CSS \u0026 JavaScript… Data Structure and Algo: • Data Structures and Algorithms Course… Follow Me On Social Media ►Website (created using Django Rest \u0026 Angular): https://www.codewithharry.com ►Facebook: https://www.facebook.com/CodeWithHarry ►Instagram: https://www.instagram.com/codewithharry/ Twitter: https://twitter.com/CodeWithHarry Comment “#HarryBhai” if you read this 😉😉
Content
0.083 -> In this video we will first see the solution of exercise 5
2.971 -> and then I will shout out some people
4.835 -> who solved exercise 5
7.077 -> Let's go to the computer screen
8.488 -> And let's get started
16.129 -> So now the time has come for us
17.686 -> to see the solution of exercise 5
19.81 -> what was exercise 5?
21.069 -> Hacker man
21.758 -> we guys had to make hacker man, okay
23.441 -> So, what will we do
24.865 -> make hacker man using async await
27.34 -> what will I do here
28.164 -> first of all, I will write the script
29.354 -> I will write, let a =
31.393 -> And I will write all the text that is there
33.468 -> as if "Initializing Hack took", ok
37.482 -> suppose there is "Initializing Hack tool",
38.963 -> and after that, "Connecting to Facebook",
43.28 -> and after that suppose i write
45.629 -> "Connecting to server 1",
50.331 -> and then just to show that
53.135 -> "Connection failed, Retrying. . .",
59.193 -> And then this
63.174 -> and I'm working a little hard in this so that it can be fun
65.03 -> it's fun if anyone plays this repl
67.068 -> "Connected Successfully. . .",
76.688 -> Ok
77.398 -> Retrieving Username
79.75 -> here i write Username,
81.885 -> Suppose I want to retrieve the username named iamharry
89.634 -> "Trying Brute Force",
95.582 -> Ok
96.359 -> then will write
97.538 -> "200K passwords tried. . .",
104.324 -> and then after that
108.268 -> "Match not found", ok
110.945 -> And
112.216 -> after that i will copy it
114.714 -> then i will write
117.632 -> "Another 200K password tried. . .",
119.032 -> "Match found"
120.26 -> Then i will write here finally, Match found
122.647 -> that i got the match, ok
124.773 -> and after that
126.033 -> "Accessing Account"
130.596 -> and then i will write
133.866 -> "Hack Successful", ok
135.24 -> Now what i have to do
135.924 -> have to write a function one by one
138.402 -> and i will write, const showHack= ( )=>[
148.588 -> and here i will write
150.471 -> I will give a list to this, ok
152.37 -> Sorry, array, ok
153.706 -> and i will write, array
155.576 -> or else i will write
156.994 -> messages
159.148 -> Ok
159.85 -> And what will i do simply here
161.671 -> I'll show all those messages one by one, okay
164.596 -> so, I'll just make this a async function
167.571 -> and i will write, const showeHack = async
171.581 -> and what will this simply do?
173.835 -> At first it will wait for a while and then
177.844 -> i will write here sleep( 2 )
182.449 -> and now this sleep will implement in function
184.48 -> and after that console.log(message), ok
188.421 -> Will show this message, ok
190.383 -> so, we will implement what is sleep
193.327 -> by using async await
195.562 -> and here what I will do simply
197.674 -> i will write seconds
199.644 -> and here i will write
200.846 -> return new Promise( (resolve, reject)=)
209.883 -> Ok
210.754 -> And
212.065 -> after doing that i will write here setTimeout, ok
216.836 -> and setTimeout
218.022 -> and after that here
220.878 -> i will simply resolve it with value true
226.029 -> and i will do this work after seconds * 1000
230.832 -> because they are milliseconds
231.876 -> the argument of setTimeout is milliseconds, ok
234.597 -> I will do that
235.938 -> and here i will await it
238.266 -> await sleep
239.423 -> and i will make it here async function
243.22 -> and after doing that
244.916 -> what will i simply do here
246.846 -> I will make another function
248.023 -> otherwise, I will tell you about a iife
251.477 -> if you write async iife then
253.976 -> we also learn what is iife
256.665 -> the full form of iife is
258.216 -> Immediately invoked function expression, ok
261.232 -> what it is
262.084 -> it looks something like this
263.2 -> look you can make iife something like this
265.972 -> And
266.861 -> And instead of typing so many syntaxes
270.067 -> I took it like this
271.467 -> what is this? will be invoked immediately
273.035 -> This is a function that will be invoked immediately, ok
276.756 -> actually, I have to do it like this
278.847 -> because I want to invoke it too.
280.482 -> and here i will put my code
282.355 -> so, what i will do here
283.215 -> i will put a for loop first
285.089 -> and i will write here let i = 0
289.137 -> i will put my same traditional for loop
291.669 -> (i
294.896 -> And I name it message above
296.488 -> or (a.length), let's get a little short
299.408 -> by the way, you should always use meaningful variables.
302.949 -> and (i++), ok
304.362 -> And after that what you have to do simply
306.418 -> have to write showHack
310.494 -> and after that (a[ i ]), ok
313.729 -> So what will it do
314.286 -> it will show all the messages one by one
315.922 -> and I also have to await here
318.351 -> and now if I run it
321.389 -> So, what do I actually do
323.406 -> I'll reload it like this
325.139 -> and then see if I don't have any issues with my console
328.32 -> If any error comes then we will solve it, it's ok
330.357 -> Look after 2 seconds the initializing Hack tool
332.852 -> Connecting to Facebook
333.997 -> look
334.598 -> one by one all the messages
335.916 -> which are there are coming, okay
338.015 -> look at this
339.699 -> are you guys watching
341.182 -> You are looking, it seems
342.256 -> but I have not had that much fun yet
343.543 -> so, I know what I will do
344.673 -> now you see what I am going to do
346.421 -> And you will say
347.253 -> that why are you spending so much time in this thing
348.814 -> but it is fun, okay
351.793 -> it is fun brother, it is fun
353.999 -> the background of the body will be green, ok
359.066 -> And let's do one thing
361.289 -> write Hacker
363.895 -> amd wrte Hacker console
366.329 -> what does a hacker's console look like
367.593 -> meaning what happens in people's mind
369.151 -> what will the hacker's console look like?
369.975 -> Background should be black and text green
374.476 -> color green or black
379.15 -> and what should I do here
381.263 -> This is what I will do in place of hello world simply
385.042 -> I will do this and see
386.162 -> that whether this CSS has also been applied here or not.
389.056 -> this CSS has been applied
393.075 -> So now I'll write anything here, I'll write in green color, okay
395.299 -> so, if i do here documt.write
397.007 -> by the way, i do not want to use document.write
399.066 -> so, I'm going to make a div here.
403.707 -> or i can do body.innerHTML
405.45 -> but i do not want to do that
406.339 -> div Id = "text"
414.858 -> and make an empty div, ok
416.831 -> and make it close also
418.426 -> and i will simply write in the script
420.413 -> text.innerHTML =
423.334 -> and i will write instead of console.log
425.214 -> text.innerHTML = text.innerHTML
431.532 -> so, text. innerHTML + message
434.666 -> We will do something like this
435.376 -> we will not show it on the console for the time being
437.527 -> Let's see, i'm very excited
438.995 -> let's see what remains
441.419 -> let's go
441.919 -> Initializing Hack tool, wow
443.833 -> Oh man, one thing, one thing
446.583 -> text. innerHTML + message + br tag must also be applied
450.4 -> And at the same time
452.15 -> I write hacker fonts
455.099 -> bring a hacking font from Google
457.425 -> Google font please
458.881 -> Google font
461.892 -> Google font, where did Google fonts go?
468 -> Google fonts
470.334 -> And we will bring hacking font from google fonts
474.156 -> what is happening to my net
475.271 -> why is it running so slow, what's the matter
477.619 -> where did hacker go?
481.19 -> Can't find any form
482.457 -> Hack
485.672 -> Hacker font
488.538 -> Which fonts are there
489.428 -> by the way, we can use word fonts
491.124 -> check whether chank is available here or not
494.602 -> if it is available then it will be used
496.754 -> Isn't it?
498.206 -> by the way, I select in it like this
501.584 -> hacker's font
502.674 -> take this Lato, okay
505.017 -> In this, in a minute, a little reset
508.329 -> I do this, whatever I use
512.424 -> I this, use this font
515.034 -> have these people changed their
518.035 -> So, this is Lato
519.619 -> Which is it, Lato is it? it is Roboto
522.671 -> so, if I click on download family on it
525.42 -> then it has given me whole zip
528.087 -> One minute, I add this one, this one
529.766 -> should be a little dark
530.725 -> I add this one, bold 700
533.652 -> and i will add bold 700
535.595 -> then i will import it in something like this
538.329 -> actually, in my CSS file
540.211 -> i am doing it in CSS file only then i will copy it directly
544.452 -> And I'll import here, okay
547.993 -> and after doing this
549.789 -> I want Lato, don't want Roboto
552.921 -> Only Lato, ok
554.634 -> just do that
555.915 -> don't need much circus now
557.525 -> later you keep making it bigger and smaller
559.692 -> I don't have any problem
562.094 -> you do the font-size 25 pixels
563.967 -> so that it looks like hacking is going on
567.142 -> hacking is going on
568.176 -> it should look like hacking is going on
571.176 -> Let's
572.403 -> Come on
576.225 -> Initializing the Hack tool, Connecting to Facebook
579.347 -> I will do this a little better
581.163 -> and sorry if you feel that I am taking a lot of time in this
584.864 -> but I am getting a lot of interest in this
586.698 -> I'm getting a lot of interest, ok
588.157 -> I'm going to make multiple cursors
590.252 -> and paste it all over here like this
602.174 -> Ok
603.513 -> And save it by backspace
606.033 -> and do one more thing
608.489 -> let's name it HackerMan
613.251 -> yes, it looks good now
614.2 -> looks good now
616.196 -> And if you put a photo of Anonymous here in the background
619.204 -> then it will be on a different level.
622.345 -> Photo of Anonymous giving a little bit opacity
625.249 -> It would look amazing
626.778 -> It will be different, ok means
630.219 -> looks good enough, Trying Brute Force
633.472 -> It's great
636.657 -> Great, great..great..great
638.995 -> Match not found
640.227 -> Another 200K passwords tried
642.132 -> Match not found
643.462 -> Here if the photo of an anonymous comes
645.657 -> in white color in light opacity
647.517 -> then it will be fun
648.247 -> then my solution was this, okay
650.547 -> Now you have to try it
654.929 -> you must have tried
655.904 -> what to do try?
656.786 -> then I had given last week maybe
658.982 -> why am I saying to try now
660.881 -> you must have tried
663.424 -> 53 minutes ago, someone has tried
665.328 -> let's see whose
666.608 -> Oh my god
667.645 -> this is like, what to say
670.894 -> Great..Great
673.694 -> Specify target
675.36 -> harry
678.75 -> Oh god, it has been made so accurately
681.154 -> who has made it, it has been made by taking a lot of time.
683.868 -> It's fun, I know I was ashamed after seeing this
688.654 -> seeing my repl after seeing this
692.589 -> I am saying what I have made
694.046 -> I have made a one, one has made it
695.493 -> that is right
696 -> By the way, I do not want to take so much time
698.074 -> I'll do styling, but these are the efforts I see
700.286 -> well, it's Gif, or what, what's going on over here
704.614 -> Oh wow, they have made pretty cool
707.539 -> Oh, literally these numbers are changing
709.233 -> It's nice
711.213 -> Amazing
712.706 -> means brother has picked up the code from somewhere
715.249 -> even then I salute
716.226 -> why
717 -> Even if you are copy-pasting from the right place
719.461 -> finally, the product is in front of me
720.637 -> if I want it and it is in front of me, then I love it
723.645 -> End product is in front of me, ok
726.269 -> It's nice, Hijacking user. . .
727.553 -> logs generated
728.179 -> getting device info. . .
728.85 -> resetting passwords. . .
729.556 -> it's great
730.717 -> Phone access, let's see this also
734.992 -> It's amazing
735.749 -> password
736.48 -> number
737.172 -> number also have taken
738.767 -> Ok
739.565 -> Instagram hacked
740.555 -> resetting passwords
741.622 -> logs generated
743.66 -> It's looking nice
745.25 -> So, he got a big shoutout
747.055 -> to tanish64bit
749.765 -> Now I want to come down a bit
751.054 -> and give a shout out to those who have solved it first
753.189 -> because the one who solved it first
756.336 -> also has to give a shout out
761.091 -> it arrived 4 days ago, this is our first one
764.276 -> look whoever made it first must have made it sooner
770.609 -> look at this, it's also great
772.543 -> Oh wow, this is good
773.976 -> Initializing hack program
776.398 -> this number is changing
777.142 -> It's nice
777.694 -> Enter username and hit enter
780.869 -> Oh wow
781.728 -> Oh Wow
784.289 -> It should be finding
785.197 -> But no problem
788.351 -> Good
788.908 -> Having fun to see this
789.973 -> it's fun watching this
790.815 -> I know the video is too long, but what to do
793.895 -> brother hacked Harry
795.514 -> What's the name
796.309 -> SayanBiswas brother, big shout out, ok
800.244 -> And after that
801.387 -> this is also great, this is also great
802.958 -> we missed it really, we will stop and replay it again
807.303 -> HACKERMAN TRISHAN
808.964 -> Trishan brother
811.043 -> I'm scared
812.095 -> don't talk like that
813.051 -> don't hack me
814.793 -> Retrieving Username. . .
816.436 -> that's right man, it looks pretty clean too
818.319 -> means it's like a crisp image
819.524 -> Within the replit it looks quite right, ok
823.053 -> And if someone gets a repl
824.415 -> then he will feel that what is it, means it is right
827.169 -> But this repl deserves attention
830.466 -> Everybody looks at this repl
832.024 -> this hacker-man.tanish64bit.repl.co
836.828 -> And I don't see a repl of lots of people, I am very sorry
839.342 -> You try
840.035 -> you post as soon as possible so that I can see
842.188 -> Oh, oh
843.921 -> Oh
846.764 -> Ohh
848.776 -> It is looking too great
851.853 -> means I happened like this
853.228 -> Target found
855.005 -> Confirm the attack
855.78 -> Yes, brother
856.938 -> once we commit
858.824 -> Scanning Instagram server
860.391 -> Okay, brother
861.525 -> Brother did hacked Instagram Id too fast
864.68 -> Attack
865.18 -> Instagram people must be saying how our servers got so fast
868.169 -> [Laughing]
869.355 -> But joke sapat
870.318 -> great, and it's made quite right in Untitled Notepad.
874.301 -> It's nice. nice
875.482 -> So, there is a lot of creative repl
877.33 -> we should often more exercises
879.362 -> so that your creative repl can come to the fore.
881.744 -> If you haven't accessed JavaScript's playlist
884.324 -> then be sure to access it
885.853 -> that's all for now in this video
887.191 -> Thankyou so much guys for watching this video
889.229 -> And i will see you next time.
Source: https://www.youtube.com/watch?v=jmaniHHrg-0