Module: Msf::Exploit::Remote::HTTP::FlaskUnsign

Defined in:
lib/msf/core/exploit/remote/http/flask_unsign.rb

Defined Under Namespace

Modules: Session Classes: URLSafeSigner, URLSafeTimedSigner

Class Method Summary collapse

Class Method Details

.base64_encode(value) ⇒ Object

This module is a ruby implementation of github.com/Paradoxis/Flask-Unsign which can be used to decode, and re-sign cookies



14
15
16
# File 'lib/msf/core/exploit/remote/http/flask_unsign.rb', line 14

def self.base64_encode(value)
  Base64.urlsafe_encode64(value).gsub(/=+$/, '')
end