Hackthebox penetration test site CTF practiced the invitation-to-register method

Osmosis test online exercise platform: Hack The Box

Hack The Box

Introduction

Directly to keyword:

  • Online platform
  • Infiltration test
  • Operation Practice

The rest is not much of a story.hackthebox.eu/

Registration

Address:hackthebox.eu/invite

You’re kind enough to say hello to me as soon as you get here, and then you start borrowing money from me.

It’s an invitation.

Open F12, probably look at it and find an inviteapi.min.js.

Of course you have to open it.

Found the last row with a name for the function MakeInviteCode, which should be meant to generate an invitation number. Call this function in Console.

Gets a bunch of Base64 encrypted text.

SW4gb3JkZXIgdG8gZ2VuZXJhdGUgdGhlIGludml0ZSBjb2RlLCBtYWtlIGEgUE9TVCByZXF1ZXN0IHRvIC9hcGkvaW52aXRlL2dlbmVyYXRl

Ease it.

Received:

In order to generate the invite code, make a POST request to /api/invite/generate

It means we send a POST request to /api/invite/generate. Open the hackbar and say hi?

A successful return response was received:

{"success":1,"data":{"code":"RkJaWEgtTEZOSEEtS05HT1UtVlNJUE8tUVdNVkM=","format":"encoded"},"0":200}

Decoding:

Get a line like an invitation code.

FBZXH-LFNHA-KNGOU-VSIPO-QWMVC

_Other Organiserhackthebox.eu/register

Looks like you’re gonna need a human machine to verify it, figure it out.

Well, come to the home page.

The appetizer is almost ready.

未经允许不得转载:萌萌Apprentissage » Hackthebox penetration test site CTF practiced the invitation-to-register method

Like (0) 打赏

Comments 0

Protected with IP Blacklist CloudIP Blacklist Cloud
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

//下一个脚本特效
//下一个脚本