Skip to main content

IPCalcReturnAddressBinary

This Script is part of the Community Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

An automation script to return address in binary format

Script Data#


NameDescription
Script Typepython3
Tags
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
ip_addressAddress to use

Outputs#


PathDescriptionType
IPCalc.IP.Binary.binarySubnet binaryString
IPCalc.IP.Binary.addressIP addressString

Script Example#

!IPCalcReturnAddressBinary ip_address=192.158.2.2

Context Example#

{
"IPCalc": {
"IP": {
"Binary": {
"address": "192.158.2.2",
"binary": "11000000100111100000001000000010"
}
}
}
}

Human Readable Output#

Subnet Binary#

addressbinary
192.158.2.211000000100111100000001000000010