# Defang IP Addresses

Takes a IPv4 or IPv6 address and 'Defangs' it, meaning the IP becomes invalid, removing the risk of accidentally utilising it as an IP address. Defang IP Addresses lives in the **Networking** category of the `fx` menu.

## Parameter

| Parameter | Type   | Required | Default | Description                                            |
| --------- | ------ | -------- | ------- | ------------------------------------------------------ |
| Input     | string | yes      | —       | Value to transform. Previous step output or a literal. |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                       |
| -------- | ------------------------------------------------- |
| `string` | Result of the Defang IP Addresses transformation. |

## Example

<details>
<summary>Run Defang IP Addresses</summary>

Takes a IPv4 or IPv6 address and 'Defangs' it, meaning the IP becomes invalid, removing the risk of accidentally utilising it as an IP address. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Confirm **Output value** shows the transformed result.

</details>
