Differences

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

Link to this comparison view

Both sides previous revision Previous revision
de:tools [2017/06/13 11:21]
Andre Hafner
de:tools [2017/06/13 16:28] (current)
Andre Hafner [Anonymize IPs]
Line 61: Line 61:
 Download: {{ ::​anonymize-ips.pl |}} Download: {{ ::​anonymize-ips.pl |}}
 <​code>​ <​code>​
-  USAGE: ./​anonymize-ips.pl -i <​file>​ [-o <​file>​] [--hash] ​+  USAGE: ./​anonymize-ips.pl -i <​file>​ [-o <​file>​] [--hash|--subnet            ​
  
-  This script can be used to replace IP addresses in any input textfile by +  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 +  static string values or hashes of the addresses. In the current version the   ​ 
-  script expects the IP addresses the be placed between double qotes (").+  script expects the IP addresses the be placed between double qotes ("​). ​      ​
  
-  Options:+  Options: ​         
  
-    -i      defines the input file including the IP addresses you want to +    -i       ​defines the input file including the IP addresses you want to       
-            anonymize.+             ​anonymize. ​                ​
  
-    -o      defines an optional output filename, where the anonymized output +    -o       ​defines an optional output filename, where the anonymized output ​  ​ 
-            will be written to. By default the output will be written to +             ​will be written to. By default the output will be written to       ​ 
-            anonymized.txt.+             ​anonymized.txt. ​           
  
-    --hash ​ IP addresses will be hashed with sha512_base instead of being +    --hash ​  ​IP addresses will be hashed with sha512_base instead of being       
-            replaced by a static string value.+             ​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>​ </​code>​
  
  
de/tools.txt · Last modified: 2017/06/13 16:28 by Andre Hafner