WebHackery Ep. 3: Instagram Hacks via the MutationObserver API! (JavaScript, DevTools, and More)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2019
  • Become a Game Hacking Master at GuidedHacking: guidedhacking.com/?... ► SUBSCRIBE: goo.gl/tkkXvf
    * Video Description: In this episode of WebHackery, I show you how to defeat Instagram's login roadblock implementations! I'll also show you how to relink all images on the page to a full-resolution version of the thumbnail! Finally, I'll show you how to use the MutationObserver API to make your code persist such that you don't have to manually run it every time something on the page changes.
    Below is a link to my web development and hacking tutorials playlist: • Web Development and Ha...
    Link to this script and more on my GitHub: github.com/dsasmblr/JavaScrip...
    Thanks for watching! =)
    #WebHackery #JavaScript #MutationObserverAPI
  • เกม

ความคิดเห็น • 40

  • @StephenChapman
    @StephenChapman  4 ปีที่แล้ว +9

    To note, if you wanted this code to run automatically without having to paste it into the console each time you visited the site, that's where TamperMonkey is your friend! You can watch a video I made previously about how to use TamperMonkey here: th-cam.com/video/Vxpm_wrCm7M/w-d-xo.html

    • @TheCxnine
      @TheCxnine 4 ปีที่แล้ว

      Watched it. Another super usefull video.

  • @rxmor-rxarmy3162
    @rxmor-rxarmy3162 4 ปีที่แล้ว +14

    Thank you man, I love you, idk if this means much to you but years ago you helped me so much and made me into what I am today, so thank you man for all your hard work and time spent on us,peace.

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว +4

      It means a lot! That's literally the reason I keep doing videos; I want to keep helping people and exposing them to different things while hopefully having it be more approachable than not, lol. Anyway, seeing first-hand accounts from folks like you makes it all worth it for me and keeps me going. =)

  • @diefool2894
    @diefool2894 4 ปีที่แล้ว +2

    Love it... I'll never go to instagram either way, but the information is priceless, Thanks again, Mr Chapman!

  • @lotus1219
    @lotus1219 4 ปีที่แล้ว +1

    I keep jumping from network pentest to game hacking to buffer overflow to javascript. 😂

  • @lunarxs
    @lunarxs 4 ปีที่แล้ว

    First of all, thanks a lot for the video. I love these videos of WebHackery I always learn new cool stuff and I'm really looking forward for more! :D
    Secondly, I was wondering if you had some keywords to google, some tutorials to share or some websites I could use to dig deeper into this topic, learn new tricks, etc. I've already watched all of your videos on the subject but I struggle finding any more related infos outside your channel.

  • @philipm1896
    @philipm1896 4 ปีที่แล้ว +1

    Very nice indeed and explained very well as always.

  • @krokodaun
    @krokodaun 4 ปีที่แล้ว

    That log in footer has style on it, so *document.querySelector('div[style="width: 100%;"]').remove();*
    Modal window can be removed the same way *document.querySelector('div[role="presentation"]').remove();*
    Other thing you can you is create new style element with your custom style *body[style="overflow: hidden;"] {overflow: visible !important;} div[style="width: 100%;"], div[role="presentation"] {display: none !important;}*
    Great tutorial for MutationObserver!

  • @byteninja3745
    @byteninja3745 4 ปีที่แล้ว +2

    Great video pal, very interesting, however a lot of the java script went straight over my head lol, but I understood what the concept was, great job

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว +2

      Thanks for the feedback, pal. Totally understandable that the code might be over your head a bit; there's actually a ton of prerequisite knowledge necessary to really get what I covered, even though I tried to make it more approachable.
      I've been thinking about doing a JavaScript course on my channel in preparation for a JavaScript framework I want to demonstrate for reversing games. Might be a good time to start down that path. :)

    • @byteninja3745
      @byteninja3745 4 ปีที่แล้ว +3

      @@StephenChapman A beginners guide to java script on your channel would be a great idea pal, I would definitely watch it, I seem to learn quicker when I see someone else do it and explain what instructions do compared to reading.

  • @miyalys
    @miyalys 4 ปีที่แล้ว

    Great tips, I'm learning something new! Thanks!
    Anyway I haven't looked into this, but one thing one can do in the inspector is copying the path to an element as a CSS Path or XPath, which are useful in fx. Selenium - maybe JavaScript can utilize those? I mean that could make targeting element much faster (less manual work), but maybe the path it comes up with, isn't always as "robust".
    MutationObservers are new to me, I need to look into how they're different from event listeners. Maybe they're completely different.
    I also wonder why shadow DOMs aren't used for the styled components.
    So much to learn! :-)

  • @bobbyhill5067
    @bobbyhill5067 4 ปีที่แล้ว +1

    Thanks for the video!

  • @maratimus
    @maratimus 3 ปีที่แล้ว

    Thank you for your awesome tips

  • @mr.almezeini647
    @mr.almezeini647 4 ปีที่แล้ว +2

    Hello stephen, i just wanna say that i am greatful for all the infirmation you provide in your videos. I have been trying to learn game hacking and it feels so overwelming to me. I made couple of tutorials on game hacking but its just basic stamina health stuff. Any advice on where to start learning assembly and cheat engine stuff?. Much love man keep up the good stuff

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว +2

      I still have that overwhelming feeling to this day, so just get used to it and keep on learning! =) Eventually, it all adds up and you'll be able to do just about anything you'd like to do, personally. If you want a series, I have a Cheat Engine playlist of my videos that I did in succession. It's about 70 videos that start from beginner and eventually end up in advanced territory. You pick up the assembly as you go along and start seeing the same types of instructions over and over! th-cam.com/video/XJpNn2GyrNc/w-d-xo.html

  • @cavemann_
    @cavemann_ 4 ปีที่แล้ว

    Do you have a video on circumventing username restrictions? I can't anything online nor here.

  • @TheCxnine
    @TheCxnine 4 ปีที่แล้ว

    Can you do a hack for youTube so I can like your videos endlessly many many times every one of them Thank you. Everything perfectly explained MutationObserver is no mistery for me anymore. Please dont stop!

  • @RaveYoda
    @RaveYoda 4 ปีที่แล้ว +2

    This video is so ironic to me...I was QUITE LITERALLY TODAY thinking I needed an API to observe page changes on a page (I.E: a mutation observer). XD Wow....

  • @mustafahalall2949
    @mustafahalall2949 4 ปีที่แล้ว

    If you kindly video tutorial how to find a code to launch with the binoculars for sniper in the game modern combat 5 windows

  • @AceHardy
    @AceHardy 4 ปีที่แล้ว +1

    👑

  • @tonistack5126
    @tonistack5126 4 ปีที่แล้ว

    What would we need to do If we wanted to get the second to last index of something where element -2 does not work for that?

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว +1

      A good fail-safe is to get the length of the array, then subtract from it however many you want from the end. Just remember that arrays are 0-based but the result of the .length property is 1-based, so offset your math accordingly if need be! Example:
      const myArr = [...document.querySelectorAll('a')];
      const myArrLength = myArr.length;
      const myArrItem = myArr[myArrLength-2];

  • @benji376
    @benji376 4 ปีที่แล้ว

    Hi Stephen. I have been watching your videos for a little while now and I find them really interesting. Can you help me with something I’m trying to work out?

  • @remmoze
    @remmoze 4 ปีที่แล้ว +1

    Why did we need to [...lala].pop() if we could use .lastElementChild like you showed seconds later?

    • @remmoze
      @remmoze 4 ปีที่แล้ว +1

      Nevermind, document.querySelectorAll return a NodeList, which doesn't have that getter.

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว

      Great question and answer! I actually meant to mention that in the video. =)

  • @andr4eq168
    @andr4eq168 3 ปีที่แล้ว

    thks boss

  • @SebastianPerezG
    @SebastianPerezG 4 ปีที่แล้ว

    You cannt watch any image anymore , a pop up appear now.

    • @TheCxnine
      @TheCxnine 4 ปีที่แล้ว

      Just checked Everything working fine and sound. I was shocked. Didn't expect it would work after that time

  • @mnageh-bo1mm
    @mnageh-bo1mm 4 ปีที่แล้ว +1

    Hi is it possible to do auto comment using this method ?

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว

      Yep! =)

    • @mnageh-bo1mm
      @mnageh-bo1mm 4 ปีที่แล้ว

      @@StephenChapman we need a video about this for sure ... And to make it harder... We need it to auto comment when a new post happens !

  • @moragandaulisiregar9895
    @moragandaulisiregar9895 4 ปีที่แล้ว

    Can you hack my stolen account? I am ready to pay anything if the results already exist

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว +1

      Nope. But you can try getting access back via official channels! Instagram has a form you can submit to regain access to a stolen account.

    • @moragandaulisiregar9895
      @moragandaulisiregar9895 4 ปีที่แล้ว

      how it works please help me, I'm ready to pay to you

    • @StephenChapman
      @StephenChapman  4 ปีที่แล้ว

      @@moragandaulisiregar9895 help.instagram.com/368191326593075

  • @razaullahkahn3032
    @razaullahkahn3032 4 ปีที่แล้ว

    hello sir. I want to learn how to crack pubg hack (not game) can you make a video for this. only and only pubg hacks. I will be very thank full for this..