Bro is legit hacking a wordpress website. i rarely see someone actually hacking and not giving a 3 minute example with a vulnerable made website in 10 mins :D Good stuff
@Puls3ificationАй бұрын
its tryhackme website... sorry to disappoint you
@wndr06 ай бұрын
Guys I’m 89% sure he can center a div
@koniply5 ай бұрын
glazing, I'd say about 60% give or take
@I_hu85ghjo4 ай бұрын
@@koniply 3, wont get lower
@145karpiu4 ай бұрын
I'm 100% sure nobody can center a div without Googling it...
@DeepThinker1933 ай бұрын
My Div
@nooblolxd39193 ай бұрын
@@DeepThinker193not the right way
@monkaSisLife7 ай бұрын
Once you got into the db you couldve literally just changed the account to an admin, or just change the admins password. no need for hashcat at that point
@TechRaj1567 ай бұрын
True. But I was also trying to escalate privileges on the machine and not just get admin on the blog. But I agree the hashcat part was unnecessary.
@L0zzer7 ай бұрын
@@TechRaj156 Perfect
@benargee7 ай бұрын
@@TechRaj156depends on the objective. Many times people use the same email and password on other sites so if you crack the leaked hashes, the same credentials could be attempting on the other sites.
@vaibhavsingh81227 ай бұрын
@@TechRaj156 ltrace however is not installed by default on all distros
@emresanden7 ай бұрын
Was just about to comment the same thing 😛😂
@1brokkolibaum7 ай бұрын
I havent thought I will watch the full video.. But suddenly you finished your task 🫥😂👌 Great explanation in general, enough to keep up following the process logically. Surely I personally would have asked more about certain tools and useage, but for this case 10/10.
@yousefal-hadhrami78537 ай бұрын
Pro tip, Keep the old password hash so that you change it back when you are done
@peterkim96967 ай бұрын
😎💀
@Codebyakshay7 ай бұрын
thanks black collar stuff
@null-undefined-none5 ай бұрын
well I think that depends on motive. If you want to cover your tracks, sure that makes sense. But if you did this as bounty hunting then better leave it changed so you can claim the bounty :)
@zakariaabali47503 ай бұрын
Is there a way to uncover a hash password?
@juangallego94332 ай бұрын
great collar and knife man
@shi-nee79667 ай бұрын
lol this was very fun to watch! Always loved your fresh content!
@gibrains6 ай бұрын
Lesson learned: Just use static html ! =))
@ネメシス-h1z6 ай бұрын
static is the best anyways for blogs and basic websites.
@PIRATA_TV6 ай бұрын
If you don't know, when your website has SSL certificate (non self sign) and your host has the worst firewall sql injections are blocked and you can't do nothing.🙃
@CoreyThompson736 ай бұрын
Actually 70%+ of Wordpress sites could move to something like Hugo and have the same webpage functionality.
@malzkaffee35816 ай бұрын
other the tool "simply static"
@bootsycoll6 ай бұрын
What a lot of “devs” tend to overlook is the main selling point of Wordpress is it’s a cms and easily updated/managed by non-technical clients, one of the reasons why it’s still so popular,…sure, static sites are faster and more secure but how does a non-techie update them? They’re definitely not going to be uploading markdown files to a server for example, another option would be to go headless but then you have to configure a headless cms to manage it…more development time…or u could just install Wordpress and it’s pretty much good to go out of the box
@abhinavkrishna31647 ай бұрын
"billy" joel and karen "wheeler" - hmm "strange things" happening
@RandomFishtankClips7 ай бұрын
As someone who has limited knowledge on web hosting I've used Wordpress a lot in the past. The idea that it's this simple to get a list of all usernames and hack into the website is quite interesting. I really appreciate you uploading this. Subbed.
@Tararais_god6 ай бұрын
always keep your stuff up to date
@dkse7en5 ай бұрын
Luckily, it's not always this "easy" and more often than not, you or webhosts will protect most of this information and prohibit unauthorized access to the subdirectories containing this information. On the other hand, there's a LOT of unprotected sites, servers and services out there kinda just up for grabs for more simple attacks like this. Video is great and shows how "easy" it is if you don't do bare minimal security and protection and hopefully it will open the eyes of some. Especially in this time where more and more severe vulnerabilities are discovered.
@mossdem4 ай бұрын
One thing to also note, you can check previous CVE's using some google dorking to refine your results. CVEDetails is a pretty good place to look also.
@hafizgugu2 ай бұрын
@@dkse7en you explained it exactly how it is
@bob-p7x6j6 ай бұрын
I may sound like a simpleton and compared to you I am but since you say you are trying to help people protect themselves, as a Wordpress user, what would be your most valuable tips to give, this video is too advanced for most people, but if you could give a list of say, the 10 or 20 most valuable techniques to protect yourself from most common attacks, or something like that...If you have time and feel like it... Subscribed, very informative, thanks!
@ghostofakina87476 ай бұрын
Sure here's 3 big ones: - Keep your WordPress, themes and plugins up to date - Don't use the default username and have a strong password - Don't use pirates/nulled or crappy plugins
@stefanjohansson23736 ай бұрын
There’s a lot of free security plugins like WP Security that blocks some of the different attack steps. A strong password and everything updated is most important, but if you also change everything that’s default like the login link and so on you don’t look like the low hanging fruit I guess. 😂
@anolbe6 ай бұрын
This is one of the reasons i always make my own hash and salting algorithms; and also a reason that i prefer making the software i'm using myself, despite how much work is needed.
@noobgam63314 ай бұрын
This will never happen with any real website.
@Developer_BR2 ай бұрын
why not?
@phyoewaipaing66705 ай бұрын
Appreciated. Hacking WP is possible as long as it goes with the default installation. The typical setup is to restrict those sensitive URLs to dedicated IP like using your own VPN. Also need to update all plugins and themes on a regular basis and use security plugins like fail-to-ban, and you’re all set. For the password tips, it’s better to set 48+ characters with complexity and reCAPTCHA is supported for the login as an additional protection. Love to see next video with updated WP version as well🎉
@ballfoot24604 ай бұрын
I am using 2 factor authentification, do you think it's ok too ?
@phyoewaipaing66704 ай бұрын
@@ballfoot2460 yeah and make sure all plugins and themes are updated and remove unused ones.
@gamishreyansh99407 ай бұрын
dear at 20:06 you have database access you can just create new admin user in database
@1brokkolibaum7 ай бұрын
But the goal could also have been to stay hidden for further investigation, so a new user would rise way more suspicion. 🤷♂😁
@vaibhavsingh81227 ай бұрын
Moreover the password recovered from wordpress site can also be used in emails or at other places, including the sudo user in the bash
@digitzero36137 ай бұрын
He got access to "wordpressuser" database account. It most probably doesn't have administrator access so can't really change admin password and can't create a new account either.
@vaibhavsingh81227 ай бұрын
@@digitzero3613 no, he can change the WordPress admin account password, no restriction can be put in a MySQL user to prevent changing the data of a specific row of a table, MySQL user can only be restricted from updating the entire database. Beside the user mentioned in wp-config is the one that creates all the table in the place, that's the only db user WordPress know and that's the only user WordPress will use to update the password when the admin user chooses to change the password from WordPress's dashboard
@SwarajSahu4 ай бұрын
@@1brokkolibaum No, if they have plugin like wordfence, any shell upload will trigger an email. so anyway this hack is possible with noob setup wordpress.
@annahri6 ай бұрын
I don't think there's something like that in the wild. That `checker` thing is so unlikely. But great video nevertheless.
@imnbsp6 ай бұрын
I lost faith in you completely at 18:00 You don't need to guess the password if you already have database access. You can just set the admin password to whatever you want, or even better, you can just create a php file like a.php that gets the first admin user and creates a logged in session for you, without even having to update the admin password at all. It's super easy just by using the WordPress methods on the docs.
@AamirHMalik4 ай бұрын
How easy and satisfying it looks but when you deep dive in it's heeelllll a lot more than thatttt! It's like pain in the az!
@louislouislouislouisssss6 ай бұрын
BTW, the password value in Wordpress DB is just an MD5 hash. You can create the hash right in terminal.
@Zircuitz5 ай бұрын
There's no fucking way... MD5? Srsly? Do they want the passwords cracked?
@Adam2fg4 ай бұрын
@@ZircuitzYep. They're begging to be cracked😂😂
@yassine-sa7 ай бұрын
There is just no way you could find a suid binary that gives you a shell if you set an env variable to 1, it feels like those movies where someone hides the keys of his house in a really obvious spot. But still the video is greatt for educational purposes, it was fun watching it and knowing about the tools that let you do this kindof stuff
@seephor6 ай бұрын
Obviously. This is a setup hack challenge so you know there's some vector you need to find.
@rdi73716 ай бұрын
This was very interesting, and your explanation was also very instructive. I understood the steps you took to overcome each difficulty you encountered. Thank you, because now I know what to study before becoming a cybersecurity analyst.
@TheNamesJT6 ай бұрын
This is why you need a plugin like wordfence and perma ban ips that request more then 5 failed login attempts
@AREWASOUND5 ай бұрын
I watched the full video just to know how to protect my wordpress site, Thanks
@dearestdi4 ай бұрын
how is it? i am trying to protect too
@imarvindpanwar4 ай бұрын
@@dearestdi just use security plugins to block backdoor entry
@StevenNorth5 ай бұрын
Great video! Thanks for the detailed explanation.
@ahmadganteng74355 ай бұрын
Even getting access to read DB is a big vulnerability. I hope my hosting provider has something to prevent this app. This is horrifying..
@TechnicalHeavenSM6 ай бұрын
Simply amazing... got to know many things about the insights of how some things work!
@stefanjohansson23736 ай бұрын
Newbie question: How much of this is possible in general on the latest WP version and with WP security or any other similar security plugin? Security plugins can block user enumeration, IP number after wrong username/password. They also change default settings like the login URL. Of course no backup of important files are stored on the server. Also add the fact that a lot of hosting companies block sites in shared hosting if they don’t keep their sites updated. Combining a security plugin with everything updated and using a long and strong password (not with English words in it!) maybe is the best way to avoid being the low hanging fruit for all script kiddies? 🤔
@brodierobson44904 ай бұрын
the reality is, you will need to find / create an exploit yourself.
@fkwebdev5 ай бұрын
Moral of the story is that: don't use software based websites, just use coded websites because we developer code very hard to apply bunch of security layers....
@DELvEK6 ай бұрын
Not a real hacking in real time btw ! @Tech Raj. This was pre-setup for the video
@mostafaharb817 ай бұрын
Well if you got access the the second user, then when you got access to the wp_user table, you could have updated the first user encrypted password with the second user encrypted password and then access the admin user with the second user password...
@TechRaj1567 ай бұрын
That would be a smart move! But I was also trying to root the whole machine and not just get admin rights on the blog.
@mostafaharb817 ай бұрын
@TechRaj156 yeah I do understand for sure, but wordpress password encryption is based on the codes available in the config.php file which you accessed at the begining, so the password you generated at the website would not work in newer versions unless you create password on same keys in config or the easier path is to switch passwords or switch role to admin for the user account.. but still, you have done qn awesome work 👌
@digitzero36137 ай бұрын
He got access to "wordpressuser" database account. It most probably doesn't have administrator access so can't really change admin password and can't create a new account either.
@hatnis7 ай бұрын
what stopped you from just changing the hash once u had database access?
@qwerty-p5m1f6 ай бұрын
Lack of experience.
@philipehusani6 ай бұрын
@@qwerty-p5m1f 😂😂😂😂
@isaachiroman7 ай бұрын
If you already have access to the server, you should install the WP CLI, then create a new admin user or change the password of any user (of course I don't want to leave any traces so I'll make a new user, then get what I need and delete all traces).
@vaibhavsingh81227 ай бұрын
He can also update the wp-login.php file to log the password in plain text file and after logging either an email can be sent using wp_mail or an api endpoint of his own server can be called with the logged credentials, so whenever someone logs in again with the same user he gets a notification.
@d3layd7 ай бұрын
Once you got access to the db, why didn't you just change the password? All you need to do is clear the hash, type in the new password and hash it and boom you've got access to any user. I do this all the time whenever I loose a password for a site.
@digitzero36137 ай бұрын
He got access to "wordpressuser" database account. It most probably doesn't have administrator access so can't really change admin password and can't create a new account either.
@SwarajSahu4 ай бұрын
@@digitzero3613 No , in wordpress, db_config user has all permissions. so yes he can change the pass.
@kmwebverse25 ай бұрын
You just need a free security plugin like Solid Security and hacker will not even be able to see your usernames
@digitzero36137 ай бұрын
Everything else was realistic except the Linux privilege escalation part. Like what's the probability of finding something like this checker binary file which sets the uid to 0.
@Developer_BR2 ай бұрын
I guess 98% of youtube tutorial about how to make money using this or that tool (like kali hacking) have a catch. If you discover and post in comment, it probably will be deleted by owner (in order to sell his course).
@vedaanshvijaywargiya35962 ай бұрын
@@Developer_BR bro... its a tryhackme challenge ofc its gonna have SOME unrealistic part to it 💀
@cfli-v8d2 ай бұрын
It's so easy for you to raise power. I can't use any orders when I'm raising power😂😂
@epic35482 күн бұрын
You know the funny thing with rainbow password checker is when i put the hash for the password, password, it didn't recognise it
@MizManFryingP6 ай бұрын
Wouldn't most of these attack surfaces be shut down with simple too many requests protection?
@Oryssounet6 ай бұрын
Yes it would, bruteforcing an account is unlikely on most Wordpress websites, as the passwords for new accounts are automatically generated and it discourages users from creating unsafe passwords
@osherezra1316 ай бұрын
Great lesson bro thank you. nice process keep it up with this kind of videos
@zeddybear13796 ай бұрын
It still shocks me that wordpress has features to protect you against brute force and telling you if you have the correct username but incorrect password, but you have to manually configure and turn them on, and most of the people who use wordpress use it because its simple to use to make a website and you dont need any coding knowledge so they dont know about these extremely important features... it should be default
@andrinenz4636 ай бұрын
Do you have to be a root user to change values in a db? Just curious because then the other steps are not necessary
@ioccodeioccode61386 ай бұрын
You're right. He could have get WordPress administration access by changing the password hash the first time he got access to the database.
@Rajeshevhu7 ай бұрын
Try in latest version of WordPress.
@qwaszx27 ай бұрын
The latest version of WP breaks all themes so nobody updates. :P
@Rajeshevhu7 ай бұрын
@@qwaszx2 i updated latest version of my wordpress 6.4 or something. My site is working fine
@webrevolution.7 ай бұрын
@@qwaszx2 No decent website worth hacking for bug bounties uses wordpress anyways. CMSs like wordpress are generally only used for personal blogs of no name individuals or companies.
@nick-leffler7 ай бұрын
@@qwaszx2Lol that's why you use a good theme.
@tomxygen59637 ай бұрын
@@qwaszx2what are you even talking about? there’s absolutely no issue with themes in the latest version of wordpress
@alexlove20126 ай бұрын
If you have admin access to database, you can just change the hashed password no?
@dileepnktv3 ай бұрын
Nice video. Thanks for sharing your knowledge.
@hoholebaguette72987 ай бұрын
why didnt you use sudo -l when you were trying to root?
@justk-h5h5 ай бұрын
What is the name of the software you write the code for? I haven't been able to find it
@gamingmetxadrian37107 ай бұрын
You earned a new sub, I'm a reverse engineer and have little knowledge to pentesting. You make it really interesting and clear!
@UsmaniaSoft3 ай бұрын
whose text editor is use for this any one guide please
@yjawhar6 ай бұрын
Nice video. But, since you already gained access to the database, it's as good as being an admin on the website since you can modify everything but it's gonna be more difficult!
@ib411224 күн бұрын
can you make video for testing vulnerabilities for Reaact based website and websites hosted on Vercel etc.. as not much is there about the vulnerabilities of these tech stack?
@faizanshakil27755 ай бұрын
I am wondering what would have you done if the the kwheel's password was not crackable ?
@EnthusiastWorld-k1u5 ай бұрын
i have a question, i see full video, how can i save my word-press website , could you possible suggest any free plugin ?
@michalkorneluk21866 ай бұрын
"ignore those warnings, i'm going to fix them later" them metasploit warnings are never getting fixed are they? XD
@vast_agency3 ай бұрын
This is great. How can I get a step by step tutorial and tools used. I'll like to try this on some of my WordPress accounts
@Robin-ce6jd6 ай бұрын
Very good and detailed tutorial, thank you very much! However, I don't see the reason why you absolutely have to be root on the server. As soon as you have access to the database, you can change the password or even create a new user :)
@memorysmelody45896 ай бұрын
wpscan gives various vulnerabilities available in different plugins of the websites but can't find poc of them. Please guide
@jxkz74 ай бұрын
Did you find any resources for these issues. I am also facing the same problem
@Sobbayi6 ай бұрын
Another option is to add a function into functions.php file to create a new user in the DB with admin privileges leaving the original admin untouched
@Kaotix_music6 ай бұрын
this seems much easier to do. How do you access my websites functions.php thou thought logging into my server?
@thilakreddy19046 ай бұрын
Are u using a window manager or is it a kali theme
@hridaybhatia56436 ай бұрын
It looks like Kali
@gideonwickord10743 ай бұрын
this was impressive but how did u know which algorithm you need to use? I mean its way easy to check this whith a small google search but what is if not. I miss the part where it was checked in the video :)
@youneszar54314 ай бұрын
when I run the attack on my site it says that it receive unown response code 405
@honestfrieza6 ай бұрын
Getting This Error { "code": "rest_user_cannot_view", "message": "Sorry, you are not allowed to list users.", "data": { "status": 401 } } is there any othere way to list users ?
@ShriSumitJi7 ай бұрын
do you provide private classes
@inamurrehman27835 ай бұрын
restrict/disabled the all API's endpoint
@HikaruAkitsuki2 ай бұрын
That's is why a CMS should not be the Frontend of it self.
@ZazenWebDesignAlbany24 күн бұрын
Why would you put this on the internet?
@spiritcaress6 ай бұрын
Hi, please where can I get fuzz word lists?
@captain97564 ай бұрын
Wow this is so easy let's hack all WordPress websites
@novianindy8877 ай бұрын
does wp-login only accept 7 times password guessing tries? I tried it and I can get unlimited tries.
@STFUandFY6 ай бұрын
Depends on plugins, WAF
@tpevers10487 ай бұрын
You do not quit youtube
@Heisenberg6967 ай бұрын
This kind of videos we need keep making this kind of videos
@Elia333376 ай бұрын
I'm new at hacking, but couldn't you use sudo to get root?
@Dyanosis3 ай бұрын
But you never showed what the original password was for bjoel. So you didn't complete the hack.
@anshhmehta7 ай бұрын
Can you guide what's the procedure to manually enumerate to find the user id? coz this method did not work
@ibrahimdevx7 ай бұрын
google it 👏
@ansleegomes39463 ай бұрын
I only know the url of my website. Now I want to get the password. Can you please assist?
@amajangbah92656 ай бұрын
Tips: Always use webflow
@signdrumnbass3 ай бұрын
How you knew that you need exactly wp-json/wp/v2/users endpoint to enumerate all the possible users? Like where do i find that information? 4:43
@christopherjonesramos36557 ай бұрын
Can it work if the wp site is tunneled to Cloudflare?
@firedeveloper7 ай бұрын
Short answer yes. Long answer depends on your configuration, there are many ways that can be blocked by cloudflare rules. For example you may block a url to be accessible from your static IP only. And keep in mind that cloudflare is not a firewall.
@SECYBERSAFE6 ай бұрын
@@firedeveloper cloudflare is a waf.. So it is a firewall... Web application firewall
@unclesam0073 ай бұрын
try doing this with a security plugin installed and active
@PulGoyGoy3 ай бұрын
Thank you for video. I will follow your videos
@MRJMXHD7 ай бұрын
Good job, but any wordpress dev worth their salt would have blocked user and directory enumeration.
@rameensuresh6 ай бұрын
Please show us how to null a plugin. Example tablesome plugin
@thepickicool974 ай бұрын
wow, I will never use wordpress again lol
@yuvrajarora88406 ай бұрын
What’s that JSON viewer?
@mysinN895 ай бұрын
Please tell me the checker binary has been put there by yourself ;-) lol
@pantera204Ай бұрын
For Windows?
@portusdelphini3 ай бұрын
Imagine password is out of dictionary. What's next? Failed attempt?
@arisawali50737 ай бұрын
what if there is no xmlrpc?
@firedeveloper7 ай бұрын
Bad luck. You need to find an other vector.
@sevenrichiewhite6 ай бұрын
This video actually shows how easy it is to get hacked when using a Wordpress website. And Wordpress is getting hacked and exploited every day in many different forms. Which is good and also bad. So you're save from all that by just not using Wordpress or any other CMS of that kind. Static websites and Flat File CMS without admin interface or actual user are my choice anyways. Now i can show my clients actually why.
@BabyHeart-m5c2 ай бұрын
Tutorial how to set up terminal that you're using
@lpkapil22 күн бұрын
Its kali linux, open source. You can use in vm lab.
@AnonymOus-dp3jj2 ай бұрын
the /checker/ file is somthing he put there before hand. with out it he would not be able to run this video.
@FinallyFreedomYT6 ай бұрын
How can i secure wordpress the best to avoid this?
@editorbundle6 ай бұрын
Bro do u have any complete hacking course😒
@s0kulite7 ай бұрын
no devs are gonna leave those sort of bins for your the sake of your privilege escalation, but sure, nice video before that.
@n1m3906 ай бұрын
I'm a WordPress developer, seeing all this makes me 😢
@samuelhalder84726 ай бұрын
Lol
@Yarkanlaki6 ай бұрын
its common password attack they would never crack random passwords
@DeathNote000217 ай бұрын
Great Video 👌🏻
@diegoslinger1254Ай бұрын
What is this checker binary? Looks like magic that there is file where you change a variable to 1 and lift your rights to root. And you spotted the right file from the 1st attempt..))