HTB - Freelancer
by trevor69000 - Saturday June 1, 2024 at 06:49 PM
#11
any hint to root?
Reply
#12
Oh wait I got it....
Reply
#13
(06-01-2024, 10:45 PM)DataNinja Wrote: any hint to root?

bro how did u use idor in qr code
Ban reason:
Asking for rep is not allowed (Permanent)
Reply
#14
(06-01-2024, 10:49 PM)osamy7593 Wrote:
(06-01-2024, 10:45 PM)DataNinja Wrote: any hint to root?

bro how did u use idor in qr code

That is simple, you need to find the ID of an employee with admin privileges for example '2' and convert it to base64. After that, obtain the QR code and get the content similar to this: http://freelancer.htb/accounts/login/otp/Njk2OQo=/670765xxx/. Then, only change the value 'Njk2OQo' to the base64 ID(2), and you will get this: http://freelancer.htb/accounts/login/otp/Mgo=/670765xxx/. You will be an admin.
Reply
#15
I kep getting OTP expired
Reply
#16
I got admin account but idk how to get user anyone can help
Ban reason: selling in HTB (Permanent)
Reply
#17
(06-01-2024, 11:05 PM)DataNinja Wrote:
(06-01-2024, 10:49 PM)osamy7593 Wrote:
(06-01-2024, 10:45 PM)DataNinja Wrote: any hint to root?

bro how did u use idor in qr code

That is simple, you need to find the ID of an employee with admin privileges for example '2' and convert it to base64. After that, obtain the QR code and get the content similar to this: http://freelancer.htb/accounts/login/otp/Njk2OQo=/670765xxx/. Then, only change the value 'Njk2OQo' to the base64 ID(2), and you will get this: http://freelancer.htb/accounts/login/otp/Mgo=/670765xxx/. You will be an admin.

How do you find the id I keep getting otp errors when entered?
Reply
#18
(06-01-2024, 11:27 PM)maggi Wrote:
(06-01-2024, 11:05 PM)DataNinja Wrote:
(06-01-2024, 10:49 PM)osamy7593 Wrote:
(06-01-2024, 10:45 PM)DataNinja Wrote: any hint to root?

bro how did u use idor in qr code

That is simple, you need to find the ID of an employee with admin privileges for example '2' and convert it to base64. After that, obtain the QR code and get the content similar to this: http://freelancer.htb/accounts/login/otp/Njk2OQo=/670765xxx/. Then, only change the value 'Njk2OQo' to the base64 ID(2), and you will get this: http://freelancer.htb/accounts/login/otp/Mgo=/670765xxx/. You will be an admin.

How do you find the id I keep getting otp errors when entered?

Just visit Jobs dashboard, click on that and click on the profile pic, you can see in the URL the user id.
Ban reason: selling in HTB (Permanent)
Reply
#19
i'm the admin now what after ? where is sql terminal to get a rev shell?
Ban reason:
Asking for rep is not allowed (Permanent)
Reply
#20
(06-01-2024, 11:31 PM)osamy7593 Wrote: i'm the admin now what after ? where is sql terminal to get a rev shell?

http://freelancer.htb/admin/
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 360 88,710 03-28-2026, 09:28 AM
Last Post: catsweet
  [FREE] HTB-ProLabs APTLABS Just Flags kewlsunny 23 2,348 03-28-2026, 03:30 AM
Last Post: lulaladrow
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 87 7,490 03-27-2026, 07:22 PM
Last Post: stn
  HTB Eloquia User and Root Flags - Insane Box 69646B 13 350 03-27-2026, 06:14 PM
Last Post: vlxw
  HTB - ALL Challenges you Stuck in osamy7593 2 646 03-27-2026, 04:24 PM
Last Post: catsweet



 Users browsing this thread: 2 Guest(s)