IPCalcReturnAddressBinary

An automation script to return address in binary format.

python · Community Common Scripts

Details

IDIPCalcReturnAddressBinary
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.11879924

README

An automation script to return address in binary format

Script Data


Name Description
Script Type python3
Tags  
Cortex XSOAR Version 6.0.0

Inputs


Argument Name Description
ip_address Address to use

Outputs


Path Description Type
IPCalc.IP.Binary.binary Subnet binary String
IPCalc.IP.Binary.address IP address String

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

address binary
192.158.2.2 11000000100111100000001000000010
args:
- description: Address to use.
  name: ip_address
  required: true
comment: An automation script to return address in binary format.
commonfields:
  id: IPCalcReturnAddressBinary
  version: -1
name: IPCalcReturnAddressBinary
outputs:
- contextPath: IPCalc.IP.Binary.binary
  description: Subnet binary.
  type: String
- contextPath: IPCalc.IP.Binary.address
  description: IP address.
  type: String
script: '-'
subtype: python3
timeout: '0'
type: python
dockerimage: demisto/python3:3.12.13.11879924
tests:
- No tests
fromversion: 6.0.0