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

groupdel Command in Linux: Remove a Group and Audit Files

The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…

14 hours ago

wc Command in Linux: Count Lines, Words, Characters, and Bytes

The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…

14 hours ago

top Command in Linux: Monitor Processes and Resource Usage

The top command in Linux provides a real-time view of running processes and system resource usage. From…

14 hours ago

usermod Command in Linux: Modify User Accounts and Groups

The usermod command in Linux modifies existing user account attributes. You can use it to manage group…

14 hours ago

sort Command in Linux: Sort Text, Numbers, Columns, and More

The sort command in Linux reads lines from files or standard input and writes them to standard…

2 days ago

wall Command in Linux: Broadcast Messages to Logged-In Users

The wall command in Linux sends a message to the terminals of all currently logged-in users. The…

2 days ago