Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
de:tools [2017/01/11 15:31]
Robert Finze
de:tools [2017/06/13 16:28]
Andre Hafner [Anonymize IPs]
Line 56: Line 56:
  
 {{ :​en:​tcpliveplot-screenshot.jpg?​700 | TCPlivePLOT:​ Easy live plotting of the data beeing logged. }} {{ :​en:​tcpliveplot-screenshot.jpg?​700 | TCPlivePLOT:​ Easy live plotting of the data beeing logged. }}
 +
 +===== Anonymize IPs =====
 +
 +Download: {{ ::​anonymize-ips.pl |}}
 +<​code>​
 +  USAGE: ./​anonymize-ips.pl -i <​file>​ [-o <​file>​] [--hash|--subnet] ​            
 +
 +  This script can be used to replace IP addresses in any input textfile by      ​
 +  static string values or hashes of the addresses. In the current version the   
 +  script expects the IP addresses the be placed between double qotes ("​). ​      
 +
 +  Options: ​         ​
 +
 +    -i       ​defines the input file including the IP addresses you want to      ​
 +             ​anonymize. ​                
 +
 +    -o       ​defines an optional output filename, where the anonymized output ​  
 +             will be written to. By default the output will be written to       
 +             ​anonymized.txt. ​           ​
 +
 +    --hash ​  IP addresses will be hashed with sha512_base instead of being      ​
 +             ​replaced by a static string value. ​                                
 +
 +    --subnet the last byte of an address (v4) or the interface identifier (v6)  ​
 +             will be replaced with XX.  ​
 +</​code>​
 +
  
de/tools.txt · Last modified: 2019/10/15 09:51 by Thomas Lukaseder