Skip to content

Finds network addresses in the standard input, and filters the output based on their belonging to a network block

Notifications You must be signed in to change notification settings

thc2cat/extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extractip

Read from standard input, and extract common patterns such as mac address, url, email, ipv4, ipv6

Default is to ignore private ip networks

Context

When searching for ip source of trouble, i needed an pattern extractor ( checkout also ipinrange ), with short syntax on oneliners.

Usage

$ extractip.exe -h
Usage: extractip.exe [-url|-email|-mac|-ip6|-ip4[p(ublic)] ]

$ extractip.exe -ip4p < data 
192.168.1.1  
193.52.24.1  
134.57.0.129

About

Finds network addresses in the standard input, and filters the output based on their belonging to a network block

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages