InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. Subscribe to our weekly newsletter for the coolest infosec updates: https://weekly.infosecwriteups.com/

Follow publication

Handling Short Expiration Time of Authorization Tokens

Ulisses Alves
InfoSec Write-ups
Published in
9 min readDec 22, 2020

--

Introduction

Request to the endpoint responsible for generating a new access token for the API
Request to the endpoint that uses the access token

The Problem

The First Part of the Solution

Location of “Session Handling Rules” and “Macros” inside Burp Suite
Adding a new Session Handling Rule
Scope definition for a new session rule
First part of the action editor for a session handling rule
Second part of the action editor for a session handling rule

The Second Part of the Solution

Recording macros in Burp Suite
Recording a macro in Burp Suite
Configuring a macro request to handle parameters and cookies
CPH options
Configuring a new CPH tab
Extracting a string from a response and replacing a string of the original request with it

Conclusion

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Published in InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. Subscribe to our weekly newsletter for the coolest infosec updates: https://weekly.infosecwriteups.com/

No responses yet

Write a response