Rabid is a CLI tool and library allowing to simply decode all kind of BigIP cookies.
Features
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)
General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…
How to Send POST Requests Using curl in Linux If you work with APIs, servers,…
If you are a Linux user, you have probably seen commands like chmod 777 while…
Vim and Vi are among the most powerful text editors in the Linux world. They…
Working with compressed files is a common task for any Linux user. Whether you are…
In the digital era, an email address can reveal much more than just a contact…