I legally defaced this website.

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • #pentesting #ctf #hacking #cybersecurity
    00:00 - intro
    00:33 - Disclaimer
    00:43 - Mapping the website
    02:15 - Directory listing
    04:03 - Hidden portal
    05:42 - Bruteforce
    06:04 - More enumeration
    06:53 - FTP access
    07:12 - SSH hacking
    08:22 - Another website
    09:16 - Interesting file
    10:59 - Read arbitrary files
    14:11 - More enumeration
    14:52 - Backup file with htpassword hash
    15:17 - Cracked the hash
    16:19 - File upload
    22:50 - Remote Code Execution
    24:17 - Privilege escalation
    25:25 - Website defaced
    DISCLAIMER: The techniques shown here should strictly be used on targets you HAVE permission to test. NEVER hack something you don't have permission to.
    In this video, I demonstrate how to hack a CTF target, get root, and deface it in just a few minutes. Web developers will learn a lot on how to secure their websites! Ethical hackers will learn hacking techniques to help their clients become more secure.
    Credit: Challenge ch4inrulz: 1.0.1 from @mohammadaskar2
    🔥Use Coupon THEHACKERISH and Get 5% discount on CRTP and other courses on www.alteredsecurity.com/ when you pay with Stripe.
    🚀 🔥 Become a pentester
    academy.thehackerish.com/p/fr...
    📙 Learn the technical skills:
    thehackerish.com/best-hacking...
    📙 Become a successful bug bounty hunter: thehackerish.com/a-bug-bounty...
    🆓 Download your FREE Web hacking LAB and starting hacking NOW: thehackerish.com/owasp-top-10...
    🌐 Read more on the blog: thehackerish.com
    🇩 Discord: / discord
    💪🏻 Support this work: thehackerish.com/how-to-support
    - Facebook Page: / thehackerish
    - Follow us on Twitter: / thehackerish
    - Listen on Anchor: anchor.fm/thehackerish
    - Listen on Spotify: open.spotify.com/show/4Ht8jEb...
    - Listen on Google Podcasts: podcasts.google.com/?feed=aHR...

Комментарии • 401

  • @Simone-uu8ne
    @Simone-uu8ne 8 месяцев назад +1334

    As someone who works in the reliability engineering team of a medium-sized corp, this is literally one of my worst nightmares. People don't realise how easy it is to create vulnerabilities in bigger projects.

    • @illsmackudown
      @illsmackudown 7 месяцев назад +50

      "nightmares"
      why do dreamers get jobs but i dont

    • @ForgottenChronicler
      @ForgottenChronicler 7 месяцев назад +40

      I'll always remember the story of a group of kids who hacked into Epic Games and stole a TON of data from them because someone at the lower level reused passwords

    • @Katt--
      @Katt-- 6 месяцев назад +11

      ​@@illsmackudownwhat?

    • @JerryRune__
      @JerryRune__ 5 месяцев назад +1

      @@Katt--u have nightmares when you sleep and dream so he was saying why do dreamers get jobs

    • @kiwipomegranate
      @kiwipomegranate 5 месяцев назад +8

      @@illsmackudowneveryone dreams?? Anyone can have nightmares? Even if you don’t remember your dreams they are very important for your short and long term memory storage

  • @CaliberCreativity
    @CaliberCreativity 8 месяцев назад +805

    As a Junior offensive cybersec student this was so informational. I loved the methodical method you explained and really liked to watch the whole process.
    I always struggle to find good methodical aproches from where to start and how to deal with roadblocks when trying to sort things out.
    Hope to see more of this on your channel

    • @thehackerish
      @thehackerish  8 месяцев назад +69

      Glad it was helpful! There are similar challenges I already solved in the Penetration Testing playlist. Make sure to watch them as well, so many hacking techniques available

    • @bikdigdaddy
      @bikdigdaddy 8 месяцев назад +3

      @@thehackerishthank you so much. i subbed and hoping for awesome content :)

    • @BillAnt
      @BillAnt 2 месяца назад

      Too many basic oversights here, like leaving an html.bak open including a hash with a simple password like "frank!!!" smh this guy deserves to be hacked. lol

  • @Zuzyk
    @Zuzyk 8 месяцев назад +382

    Another solution instead of the file api could be to name the file ”0.php%00%.jpeg”. The check might be looking for the filename to end with .jpeg but in some versions of php when php writes the file to disk it looks for the first null character in the filename to know when it’s “done”. That way “0.php%00%.jpeg” becomes “0.php”

    • @1p2k-223
      @1p2k-223 6 месяцев назад +22

      I literally have a page called 0.php as my admin page, but I protect it with both a url parameter and an access code (And modified my directory listing to exclude sensitive files)

    • @NoahtheEpicGuy
      @NoahtheEpicGuy 6 месяцев назад

      @@1p2k-223 Simple. Zuzyk hacked you. Good luck... to both of you.

    • @nothingnothing1799
      @nothingnothing1799 5 месяцев назад

      ​@@1p2k-223good to know, might have to take a look at your website

  • @Gmarkooo
    @Gmarkooo 8 месяцев назад +448

    Ur Channel is underrated. Please dont stop posting, I know your channel will blow up one day.

    • @thehackerish
      @thehackerish  8 месяцев назад +50

      Thanks for the warm comment. Don't hesitate to share it with your fellow buddies

    • @Gmarkooo
      @Gmarkooo 8 месяцев назад +5

      @@thehackerish Will do

    • @Exotic69420
      @Exotic69420 8 месяцев назад

      ​@@thehackerishgot recommend to me so you're getting recommended

    • @GunsandGuitars69
      @GunsandGuitars69 8 месяцев назад +4

      That's his main goal.

    • @4louisMC
      @4louisMC 8 месяцев назад +1

      @@thehackerishIm not a dev, but this was very interesting! Gread vid!

  • @qwoolrat
    @qwoolrat 7 месяцев назад +75

    to think all of this can be mostly protected by ratelimiting the user and not letting them send thousands of requests in a few minutes

  • @tbuk8350
    @tbuk8350 8 месяцев назад +258

    If you would want to secure that, an API shouldn't take a file as an input, you should store any user-uploaded files with an ID that you store in a database and have the API reference that ID to find the file. That's already the whole "access any file on the system" issue fixed.
    Then, you should make sure that the API is the only thing that can access those user-uploaded files, and you should make sure the code behind your API treats the data as a string and doesn't execute it.
    It is also generally good practice to have every admin page locked with a secure, hashed password, and if you want to go above and beyond the server should only take requests from your private key, any incorrectly encrypted requests should be ignored as they didn't come from your key.

    • @Octopus2480
      @Octopus2480 7 месяцев назад +19

      You forgot that you should always keep your system up-to-date, no matter if you only host a website on it or it's your main computer.

    • @tanza3d
      @tanza3d 7 месяцев назад +7

      alternatively you can use an S3/R2 storage for files instead which worst case allows attackers to view all the files on the storage

  • @Cornell_
    @Cornell_ 9 месяцев назад +124

    As someone who's currently developping a pretty big web app these videos always scare the shit outta me man ! I am pretty confident that I'm able to produce "safe" code but, the fear's always present. Love the content tho

    • @thehackerish
      @thehackerish  9 месяцев назад +46

      It always helps inviting ethical hackers to be sure. If your company can make it happen, request a pentest

    • @txic.4818
      @txic.4818 9 месяцев назад

      invite bug bounties ^^

  • @KangJangkrik
    @KangJangkrik 8 месяцев назад +23

    "Be a developer first, before being a hacker" - my mentor

    • @DJTimeLock
      @DJTimeLock 8 месяцев назад +11

      The best hackers are the best developers too. It takes understanding what you write to identify possible security issues.

    • @ffafafaf
      @ffafafaf 4 месяца назад +3

      also think like a hacker when programming sensitive stuff

  • @TechAmbition
    @TechAmbition 7 месяцев назад +15

    Man this was straight Information, No Stupid Intro, No Freaking, Direct Knowledge❤

  • @larry1851
    @larry1851 8 месяцев назад +87

    The File API should have been configured to only give access to specific folders.
    For the upload API you could search for code symbols etc.
    Also a cooldown for login attempts would slow down such bruteforce attacks.
    But this was a very good and informational video.
    Also a follow up video where you would go into detail on how to prevent such exploitation would be great.

  • @kipchickensout
    @kipchickensout 7 месяцев назад

    It's so nice to watch, especially when I know most of the stuff you used or did, but would've never thought about using it :)

  • @yima7
    @yima7 8 месяцев назад +39

    i started studying cyber sec a couple months ago and your channel is a gem, really keeps me motivated as a see the things i'm learning being applied and it helps a lot with piecing together an image. Thanks a lot for sharing this :)

    • @thehackerish
      @thehackerish  8 месяцев назад +1

      Great to hear! Thanks for your lovely comment. Best of luck in your career

    • @Just_CocoGaming
      @Just_CocoGaming 8 месяцев назад

      Where you doing this at homie ive been wanting to get into it

    • @thehackerish
      @thehackerish  8 месяцев назад +4

      There are many online labs I explained in previous videos. Look for root-me, tryhackme, hackthebox, hacker101 and ctfchallenge.com

  • @scary34
    @scary34 9 месяцев назад +27

    Your channel is so underrated , LOVE IT

    • @thehackerish
      @thehackerish  9 месяцев назад +1

      Thank you so much!! Share and spread love ❤

  • @azimulhasan4391
    @azimulhasan4391 8 месяцев назад +20

    amazing content , gives a lot of insights on exactly whats going on in the websites

  • @Rudxain
    @Rudxain 7 месяцев назад +20

    I learned a lot from this video! However, at 17:08 I knew what you were gonna try. Appending "garbage" data to a JPEG or PNG is "the oldest trick in the book". In rare cases, we can trick the server into stripping the header, allowing us to upload arbitrary files without extra data

  • @willhearn9191
    @willhearn9191 9 месяцев назад +32

    You had access to an anonymous FTP server. I believe you could have uploaded a PHP backdoor and used the LFI to include the script.

    • @thehackerish
      @thehackerish  9 месяцев назад +13

      Sure! Provided you have the rights to do it

  • @studyaccount1234
    @studyaccount1234 День назад

    thank you so much your videos are so informative, i recently learned how to self host a website, and i didnt know we needed to disable directory listing...

  • @papatumhare5947
    @papatumhare5947 3 месяца назад +1

    What i understand is this is not simple you have lots of knowledge and better understanding what are you doing with files and how you read error increadible salute sir❤

  • @It_is_adrenalin
    @It_is_adrenalin 8 месяцев назад +2

    well, underrated AF, keep it going man! Apreciating your content

  • @mx338
    @mx338 7 месяцев назад +35

    Especially of you're a developer, you should just use static site generation or write a HTML site from scratch, for a simple site like this.
    Static HTML allows for no attack surface and even a default config web server on an up to date, reasonably secured Linux system, should provide practically no attack surface.

    • @gayusschwulius8490
      @gayusschwulius8490 5 месяцев назад

      Static HTML (with CSS, obviously) should be the default for all websites anyway. Non-exploitable, small file sizes, no spying on users, accessible from all browsers and devices. PHP should be used only where it adds to functionality; JS should be used even more sparingly only where strictly unavoidable for a certain functionality (and it should always be possible to use all non-JS-dependent features of a site even without it installed). In web development, less is more.

  • @mrobvious6112
    @mrobvious6112 8 месяцев назад +34

    Haha, it is like some real world CTF I use to do, and some steps where similar... man, this kind of stuff is what I like to watch so I can memorize it again, and not forget about it.

    • @thehackerish
      @thehackerish  8 месяцев назад +3

      Enjoy! And many other similar ones are already in here for you to learn and remember

  • @vlogsprasenjit
    @vlogsprasenjit 9 месяцев назад +1

    Thank you for this video! Loved it

    • @thehackerish
      @thehackerish  9 месяцев назад +1

      Glad you enjoyed it! Share it in your network

  • @cyberdevil657
    @cyberdevil657 Месяц назад

    Very underrated channel!! You got my sub

  • @Tudify
    @Tudify 5 месяцев назад

    Some of that webpage was in HTML3, as the tag was used: and that sites files were REALLY insecure

  • @mohmino4532
    @mohmino4532 8 месяцев назад

    it was amazing sir keep going ❤

  • @MarshyMcOfficial
    @MarshyMcOfficial 20 дней назад +1

    tip: if you're using a web hosting service, make a backup on there and a physical one. same for a server that you personally host

  • @Swampert_Tube
    @Swampert_Tube 7 месяцев назад +1

    Great video! I just graduated college with degree in cyber security recently and just found your channel. You gained a sub

  • @Sonanokaaa
    @Sonanokaaa 6 месяцев назад +2

    I know nothing about hacking but these videis are very interesting to me, you guys are very intelligent, my brain gets very confused watching it but It's still very fun to watch it 😂

  • @hakijin
    @hakijin 10 дней назад +1

    As someone who is not doing anything this video was really helpful on finding annoying comments.

  • @Prashanth-fg5dc
    @Prashanth-fg5dc 8 месяцев назад

    This is so nice that i immediately Subbed to you :)

  • @Username8281
    @Username8281 9 месяцев назад

    Amazing video. Good stuff!

  • @sebastianramadan7863
    @sebastianramadan7863 8 месяцев назад +21

    Each additional service increases the surface area, particularly if it leaks version info. There may also be version info in the HTML code. I think there's also a step where franks password may have worked on ftp, so maybe you got the directory structure without bruteforce...

  • @septcoco
    @septcoco 8 месяцев назад +7

    Instructions unclear, I somehow hacked NASA's website and got life sentence.

    • @theorangeoof926
      @theorangeoof926 5 месяцев назад +1

      *pastes flat earth conspiracy stuff for extra deviousness on april fools*

  • @wrathofainz
    @wrathofainz 7 месяцев назад +5

    I remember my first hack. I used blind sql injection and got the login details of admin and used it to replace images on the site with memes.
    Good times.

  • @dannytutor6383
    @dannytutor6383 8 месяцев назад +20

    I believe since you already discovered an LFI vulnerability you can upload a file that can allow you to run system commands or upload your deface page and rename it to index.html
    Without exploiting the OS.🤔

    • @thehackerish
      @thehackerish  8 месяцев назад +12

      Uploading a file requires some kind of logs pollution I guess. But that's an interesting idea. I will use it in my upcoming video on another use case. Stay tuned

  • @QWERTYQwertz852
    @QWERTYQwertz852 7 месяцев назад

    Really good Video and nice channel!

  • @no_1p
    @no_1p 8 месяцев назад

    Dude , you're amazing !!

  • @RawCuriosity
    @RawCuriosity 7 месяцев назад +3

    This was incredibly useful for studying for the Pentest+

  • @justarandomcat7
    @justarandomcat7 8 месяцев назад +5

    Beautiful walkthrough , just a question , why the server has executed phpinfo while the file extension was still jpeg and the content type was also image/jpeg ?

    • @thehackerish
      @thehackerish  8 месяцев назад +5

      Great question, it's because I loaded the jpeg using the lfi, where the content type is text/html and the php code is evaluated

    • @justarandomcat7
      @justarandomcat7 8 месяцев назад +1

      @@thehackerish That is amazing I didn't know about that , thank you so much for your reply and keep making awesome content 🥰

  • @rodricbr
    @rodricbr 7 месяцев назад +2

    frank should reconsider learning the basics of web development

  • @KoleckOLP
    @KoleckOLP 6 месяцев назад +2

    how did you get into the shell of the server, you glossed over that, I assume you used the ssh, but where did you get the credentials for the ssh?

  • @XdGoldenTigerYT
    @XdGoldenTigerYT 7 месяцев назад +5

    Yeah, never used Apache. I use nginx, and have my websites in folders that are not in the nginx folder. I also dont use SSH or FTP servers.
    My nginx is running on Windows, so it is easy for me to access the files remotely without needing third party software.
    I used to create websites in PHP, But moved over to JS/TS frameworks like Angular and NextJS.

  • @webjohn
    @webjohn 8 месяцев назад +4

    I feel like that example just screamed "Set-up" on every detail. Putting the basic auth inside an html comment.. creating a "file uploader" and a "file api" with basic html/no css. I would love to see a more mature setup, for example a vServer with basic hardening with Laravel running. This site just looked like it was made as his first website ever.

    • @KennyWlr
      @KennyWlr 8 месяцев назад +5

      Yeah, it's just a regular rootme with cute hints like "I like PATTERNS" and whatnot and standard CTF set-ups.
      A lot of the steps of regular hacking are mostly the same - enumerating, checking for outdated versions, looking for suspicious comments someone left from development, open directory listings, backup files/version control files, any indications of security misconfigurations, etc. Things are just slower and less "convenient" in real pentests.
      It would definitely be fun to see real security audit videos, but they would be boring for a majority of the viewers on youtube since, let's face it, 95% of the paths we pursue in cybersecurity lead to dead-endst, and a lot of times the real-life vulnerability combinations are a lot more difficult to comprehend than simple CTF challenges like this.
      Dunno if there's a good channel that does actual cyber-security audits on youtube, there are definitely a lot of them that cover reported vulnerabilities. Reading disclosed hackerone vulnerabilities is one of the best fun to read sources, imho.

  • @rbt-0007
    @rbt-0007 8 месяцев назад +6

    Your strategies are quite insightful, no cap. I would always scan the ports first, and if it’s a website, I would do file/directory/subdomain enumeration immediately

    • @SnoppleWopple
      @SnoppleWopple 8 месяцев назад +1

      Schlawg said no cap 😭😭😭

    • @lukazashovski
      @lukazashovski 8 месяцев назад +1

      schlawg thinks hes the bill collector@@SnoppleWopple

    • @binglething
      @binglething 2 месяца назад

      Anyone in these replies like skibidi toilet

  • @37j.
    @37j. 6 месяцев назад

    I have never seen anyone defacing a web page in details like this before .❤❤

  • @abdessalam8468
    @abdessalam8468 9 месяцев назад

    We missed you bro

  • @parkerzanta
    @parkerzanta 7 месяцев назад

    I really liked this video!

  • @TypicalNerds
    @TypicalNerds 7 месяцев назад +4

    If chromebooks weren't so largely restrictive, I would have absolutely taken this opportunity when I was in high-school as the chromebooks they provided were unstable, and unusable after they locked them down excessively.
    Unfortunately the only way around the issues was to bring in a personal laptop instead.

    • @stoneman210
      @stoneman210 24 дня назад

      I just shimbooted mine lol

  • @Tchatarero36
    @Tchatarero36 9 месяцев назад

    Great Content ...

  • @maxhogan6504
    @maxhogan6504 21 день назад

    I just made a portfolio with this template and the thumbnail had be scared a second

  • @JustAPersonWhoComments
    @JustAPersonWhoComments 7 месяцев назад +6

    Plot twist: The developer watched this video and defaced their own website to test the hacker's skills

  • @EnifOfficial
    @EnifOfficial 8 месяцев назад

    aight. this gotta go to watch later because i need to watch full verison of this when i got itme

  • @dynamohack
    @dynamohack 8 месяцев назад

    thanks to you now i can prevent attackers

  • @xizt5973
    @xizt5973 8 месяцев назад +10

    This reminds me of webservers security in 2006 🤣

  • @NicoPlyley
    @NicoPlyley 8 месяцев назад +3

    Great video! But I'm wondering why not use the file return to return the upload.php file that the uploader was posting to and get the path that way?

    • @thehackerish
      @thehackerish  8 месяцев назад +2

      That's a great idea indeed!

  • @itsyoyrboiawaawa7305
    @itsyoyrboiawaawa7305 2 месяца назад

    This is a wonderful way to learn how to be a pentester I just wanna know how you install the Ctf/Chainz I'm getting confused, if you could explain what and how to do these stuff more specifically I would really appreciate it.🙏🙌

  • @letruxux
    @letruxux 8 месяцев назад +1

    I have little to no knowledge about this but I enjoyed this video! keep up

  • @meltymooncakes
    @meltymooncakes 7 месяцев назад +2

    so what you're telling me is i should always have an ftp server with just an image of a troll face in it

  • @abdelbakiberkati
    @abdelbakiberkati Месяц назад +2

    - i got remote code execution on the server !
    - i should use it to learn more about the server !
    Said no hacker ever

  • @COALROCK8642
    @COALROCK8642 8 месяцев назад +2

    In first 5 mins is more like tinkering with stuff to realise this 'victim' did not forget to change passwords and search in documentation to, practice back-door access.
    I'm not in cyber much. But things are closed loop now and all you need to do is just disable back door access or someone is trying to penetrate you.

    • @thehackerish
      @thehackerish  8 месяцев назад

      If by closed loop you mean logging and monitoring, I would say not many have implemented them. And some of those who did don't have detection rules in place, and some of those who have detections are just buried in false positives and don't act timely

    • @COALROCK8642
      @COALROCK8642 8 месяцев назад

      I have my theory. There are 4 classes of defense and offense; Class D Defense and offense, more for end-non-educated users. Just have practises like passwords and disabling strange access. Class C, You know some coding or a brute force of 24hours is enough to crack. Or do hash-pass. Class B, Where I expect top professionals, Knowing internal compenents and only a internal memeber of code can save or attack. Class A, Impossible to hack and Top class defense. Penetrating a Class A setup only means onething, either your are internal memeber or you are the first suspects for breach in security@@thehackerish
      This classification is not on basis of deployment but on basis of process, actions, steps to perform. Know such classes will downsize your first suspects and candidates for testing with trust, or betrayal-detection to earliest.

  • @desmondevelops
    @desmondevelops 5 месяцев назад +1

    idk what youre doin but its entertaining

  • @ytg6663
    @ytg6663 8 месяцев назад +5

    Sir please start an manual exploit development series Based on Real world exploits Like EternalBlue, SMBGhost, Discovering bugs in new SAMBA//Apache versions

  • @user-fm7uq4fb3f
    @user-fm7uq4fb3f 8 месяцев назад +16

    You could've saved yourself a bit of brute forcing to find the upload dir by using the LFI to read the upload script. In general, I use any LFI I have to grab as much Backend code as I can to get a better understanding for what's happening behind the scenes, can highly recommend it

    • @thehackerish
      @thehackerish  8 месяцев назад +6

      Definitely

    • @xt355
      @xt355 8 месяцев назад

      can you explain how you would've done that? thanks a lot

    • @user-fm7uq4fb3f
      @user-fm7uq4fb3f 8 месяцев назад +6

      @@xt355 the LFI that was used to read /etc/passwd and the contents of some other files can also read and output the php files. You would just have to point it at those files and it spits the code with all the important info out

    • @marsovac
      @marsovac 4 месяца назад

      You realize that he was not hacking a real website, but he made this one as a scenario for a youtube video? Frank with email as nobody and some stock text as data gives hints, also a pasword hash inside a a .bak file? What's the purpose of a hash of "frank!!!" when you cannot use it in any way when hashed. That part made no sense.
      Anyway if he did what you ask he would skip half of the video.

  • @varmony6984
    @varmony6984 8 месяцев назад

    That was just insane !

  • @pajeetsingh
    @pajeetsingh 3 месяца назад

    Where is that development protection coming from? Apache? Php? Custom auth?

  • @cfwproductions
    @cfwproductions 8 месяцев назад +3

    As someone who does not have cybersecurity knowledge, what would the best forms of protecting your website be? Such as from brute force and by other means.

    • @thehackerish
      @thehackerish  8 месяцев назад +6

      I would say apply recommendations of the owasp top 10. The golden rule would be to never trust user input

    • @cfwproductions
      @cfwproductions 8 месяцев назад +1

      @@thehackerish thank you! I am looking into it and will implement it!

  • @flooooooooooooooooo
    @flooooooooooooooooo 7 месяцев назад

    That was so awesome i am going to try some of these recipes on my RESTful API

  • @kosmisch1137
    @kosmisch1137 3 месяца назад +2

    Nice video! What tools are you using?

    • @KaizenGpo
      @KaizenGpo 2 месяца назад

      practically everything on linux if you watch you can see

  • @deveren
    @deveren 8 месяцев назад +1

    Cool stuff dude

  • @vagabund6778
    @vagabund6778 Месяц назад +1

    Most of these vulnerabilities are disabled by default in apache, like directory traversal and directory listing.
    Anyways good job

  • @HikaruAkitsuki
    @HikaruAkitsuki 7 месяцев назад +1

    So instead we publish website with standard naming convention on file system and routes in production, it is more secure to name files and folder with random ASCIIs maybe 256 long or more so that we can counter the exploits of the hacker tools?

    • @thehackerish
      @thehackerish  7 месяцев назад +2

      Yeah, that would add some complexity for the hacker

  • @feedyjk7573
    @feedyjk7573 8 месяцев назад

    loved how you used malay for the click here button

  • @wchorski
    @wchorski 7 месяцев назад

    Would you say hosting sites inside containers is a security feature? Any tips or videos on hackers penetrating Container layers?

    • @thehackerish
      @thehackerish  7 месяцев назад +1

      I depends on how you configure your containers, there are attack vectors as well there. I will see if I can make a video about it

  • @garret1317
    @garret1317 5 месяцев назад

    wait, how did you get a shell at 24:09 so you could run the exploit?

  • @weirdo9958
    @weirdo9958 5 месяцев назад

    Nice video, but for some reason I can't set up and use wfuzz in my pc(windows), what do I have to do?

  • @MizManFryingP
    @MizManFryingP 19 дней назад +1

    Question - why would a server not block you after being spammed with requests for all of these brute force attacks?

  • @jacksonlevine9236
    @jacksonlevine9236 6 месяцев назад

    What server framework was this website created with? PureShit? None of my websites would display that "Index for /img" thing

  • @Wild_LifeWith_Animals
    @Wild_LifeWith_Animals 2 месяца назад

    And Wallah i learn something new ❤️

  • @m4rt_
    @m4rt_ 24 дня назад +1

    My website has no vulnerabilities, it's just HTML and a little CSS.
    Though there may be some on the server side (the stuff hosting the HTML and CSS files), but I'm just using something similar to GitHub pages, so I don't really have to worry about that stuff.

  • @davidpaley2865
    @davidpaley2865 8 месяцев назад

    how do u hack the website if it’s made with all modern tools like react, webpack and hosted as a docker container on aws with correct configuration, which aws provides by default, i.e correct vpcs, security groups and so on?

    • @thehackerish
      @thehackerish  8 месяцев назад

      From a nework perspective, you'd still need to open the web port. And if we suppose the backend is still in PHP with the same code base, just separated from the react front, I would still read files. From there, the exploitation might differ. I might try container escape, but that depends on the config. Or, I can try gaining access to aws tokens, not sure if they are accessible in the metadata like EC2s. I might also list the env vars which might disclose internal info, maybe secrets? Then pivoting and it becomes a test of the cloud infra.

  • @sarimbinwaseem
    @sarimbinwaseem 8 месяцев назад +4

    24:15 What just happened here? How you gained access to the terminal of the server to run exploit?

    • @thehackerish
      @thehackerish  8 месяцев назад +2

      You have a keen eye, I was waiting for someone to ask that. It's actually a reverse shell that I ran to get the remote prompt, then I downloaded the exploit from internet. +1 for your comment.

    • @sarimbinwaseem
      @sarimbinwaseem 8 месяцев назад

      @@thehackerish Thanks for appreciating.. Really happy that you replied.. So do I have to watch video again for reverse shell or it's in another video of yours?

  • @GeneralPurposeVehicl
    @GeneralPurposeVehicl 6 месяцев назад

    In a few days I am anout to reactivate my server. The timing of finding this was perfect.

  • @JohnDoeSec
    @JohnDoeSec 6 месяцев назад +2

    Sheeesh, look at this guy go🥰

  • @TheCatstronaut
    @TheCatstronaut 7 месяцев назад +1

    as someone who lives in colorado, i can confirm that..
    DO NOT TRUST THE WEATHER PREDICTIONS!
    colorado is cool until they say its winter tomorrow but then its actually summer

  • @SaidAlwi1
    @SaidAlwi1 6 месяцев назад

    This is good for a cybersec. I will do like that on future..

  • @kossboss
    @kossboss 8 месяцев назад

    That Ubuntu 10 exploit. How do you look for it? Also what php code did you add into 1.jpeg

    • @thehackerish
      @thehackerish  8 месяцев назад

      exploit-db.com
      I used a famous reverse shell, which you can find in my previous similar videos

  • @shrek1435
    @shrek1435 3 месяца назад

    so much to learn

  • @googoogaagaayt
    @googoogaagaayt 6 дней назад

    i love how all of hacking depends on weak passwords

  • @zeekjones1
    @zeekjones1 7 месяцев назад +4

    The best way to keep things secure is to have your password list and your user lists both offline, and split into separate file locations.
    If you only ever are going to need them very occasionally, the extra steps of having to reference both halves wouldn't be too bad.
    An extra step is having a list of fake data, that looks real, but is actually a cypher for the real data.

  • @Marshall...
    @Marshall... 8 месяцев назад +22

    00:14 🚀 The video aims to demonstrate how hackers find vulnerabilities in websites and exploit them.
    00:40 🕸 Hackers generally start by using the website normally, exploring every link, page, and feature.
    02:31 ⚠ Directory listing should be disabled to prevent unauthorized access to files.
    03:42 🛠 The video covers brute-force attacks to find hidden folders and features.
    06:27 🔍 Port scanning is another method used to find potential weak points in the server.
    11:06 📂 The video demonstrates a Local File Inclusion (LFI) vulnerability.
    14:48 🤦‍♂ Developers should not leave backup files or comments that reveal sensitive information.
    17:20 📤 File upload features should be properly coded to prevent abuse.
    22:06 🎯 Exploiting vulnerabilities can lead to remote code execution on the server.
    24:06 🛡 Keeping server and software up-to-date is crucial for security.
    25:38 😱 The video concludes by showing how easy it is to deface a website if vulnerabilities are not addressed.

  • @fatayy
    @fatayy 8 месяцев назад

    great vid really interesting, I was trying to guess ur accent is it Lithuanian?

    • @thehackerish
      @thehackerish  8 месяцев назад

      No, but you don't have to guess. Some of my videos reveal it exactly 💯 😉

  • @arcade7651
    @arcade7651 8 месяцев назад

    I ask this about every time but it is interesting to me what is your nmapf alias full command?

    • @thehackerish
      @thehackerish  8 месяцев назад +1

      Sure, thanks for asking
      nmap -p- --open -sV -oA scan target

  • @mofassil_noor_alif
    @mofassil_noor_alif 7 месяцев назад

    Wow !!! What is this video !! What have i found ! I have to thank the shitty algorithm of RUclips this time ❤️ Keep going bro ❤️ you'll shine like the brightest star ❤️

    • @thehackerish
      @thehackerish  7 месяцев назад

      Thanks for the warm feedback 😀

  • @tdc9951
    @tdc9951 8 месяцев назад

    What tool did you use to send the api requests?

  • @nintendero65
    @nintendero65 8 месяцев назад +2

    Im scared and im turning off my webserver asap!!

  • @phoneywheeze9959
    @phoneywheeze9959 6 месяцев назад

    can you do something similar for a website built with javascript framework (for example sveltekit)?
    i think a lot of the problems here come from php and apache server.
    Of course, there would be several exploits in the javascript version as well, but I want to see the extent of those vulnerabilities.

    • @thehackerish
      @thehackerish  6 месяцев назад

      Yeah sure, I will look for something along those lines

  • @shukurulloxkomiljonov5423
    @shukurulloxkomiljonov5423 8 месяцев назад

    I watched your video. But i don't understand. How did you get access to server. You compiled something. It looks line base64 of something. But what was is that?
    I which software you used for repeating or bruteforce requests.
    I am not negative just interesting.

    • @thehackerish
      @thehackerish  8 месяцев назад

      You're right, it was a bit rushed. I downloaded an exploit from the internet. And for the tool, it's called burpsuite

    • @shukurulloxkomiljonov5423
      @shukurulloxkomiljonov5423 8 месяцев назад

      ​@@thehackerish Ok. What actually did this exploit. I thing so this exploit allows to be root user without password. If it's true can we use this for any linux distro or other ubuntu version.
      Sorry for bad english. Thanks for software.

  • @sayedammanakhtar1225
    @sayedammanakhtar1225 8 месяцев назад

    Please Make more Video Like this

  • @likrecelineation
    @likrecelineation 2 месяца назад

    when i try to use wfuzz it says "fatal error: you must specify a payload" i typed it letter for letter

  • @arandomguy9474
    @arandomguy9474 8 месяцев назад

    really loved it, thanks for such amazing content

    • @thehackerish
      @thehackerish  8 месяцев назад

      My pleasure, Glad you enjoyed it!