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)
The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…