Rabid : Tool To Decode All Kind Of BigIP Cookies

Rabid is a CLI tool and library allowing to simply decode all kind of BigIP cookies.

Features

  • Support all 4 cookie formats
  • CLI tool & library
  • Hackable

Quick install

$ gem install rabid

Default usage: CLI

$ rabid ‘BIGipServer=1677787402.36895.0000’
Pool name:
Cookie type: IPv4 pool members
Raw cookie: BIGipServer=1677787402.36895.0000
Decoded cookie: 10.1.1.100:8080

Default usage: library

require ‘bigipcookie’
#IPv4 pool members, with pool name
bip = BigIPCookie::Decode.new(‘BIGipServer=1677787402.36895.0000’)
#Automatically decode
bip.auto_decode
#Print result
puts “Cookie: #{bip.decoded_cookie}”

Also Read – NekoBot : Auto Exploiter With 500+ Exploit 2000+ Shell

Installation

Production

Install from rubygems.org

$ gem install rabid

Gem: rabid

Install from BlackArch

From the repository:

#pacman -S rabid

From git:

#blackman -i rabid

PKGBUILD: rabid

Install from ArchLinux

Manually:

$ git clone https://aur.archlinux.org/rabid.git
$ cd rabid
$ makepkg -sic

With an AUR helper (Pacman wrappers), eg. pikaur:

$ pikaur -S rabid

AUR: rabid

Development

It’s better to use rbenv to have latests version of ruby and to avoid trashing your system ruby.

Install from rubygems.org

$ gem install –development rabid

Build from git

Just replace x.x.x with the gem version you see after gem build.

$ git clone https://github.com/Orange-Cyberdefense/rabid.git rabid
$ cd rabid
$ gem install bundler
$ bundler install
$ gem build bigipcookie.gemspec
$ gem install rabid-x.x.x.gem

Note: if an automatic install is needed you can get the version with $ gem build bigipcookie.gemspec | grep Version | cut -d’ ‘ -f4.
Run the library in irb without installing the gem

From local file:

$ irb -Ilib -rbigipcookie

From the installed gem:

$ rabid_console

Same for the CLI tool:

$ ruby -Ilib -rbigipcookie bin/rabid

Credit: Alexandre ZANNI (@noraj)

R K

Recent Posts

What Is a Data Protection Platform and Why Your Organization Needs One

A data protection platform is a unified system that helps organizations discover, classify, monitor, and…

4 days ago

How Swiss Privacy Rules Affect AI Companies Under GDPR

AI companies operating in or around Switzerland face a compliance challenge that most legal teams…

5 days ago

Swiss FADP vs EU GDPR: Key Differences for AI and Data Privacy

Two major data privacy laws now govern how organizations handle personal data across Europe; the…

6 days ago

Kali Linux Commands Cheat Sheet: Complete Quick Reference

This cheat sheet covers the essential Kali Linux commands every pentester and ethical hacker uses…

1 month ago

What I Wish I Knew Before Learning Malware Analysis and Reverse Engineering

When I first started learning malware analysis and reverse engineering, I thought the hardest part…

1 month ago

git fetch vs git pull: How They Work and When to Use Each

Both git fetch and git pull talk to a remote repository, but they do very different things to your…

2 months ago