An open API service indexing awesome lists of open source software.

https://github.com/fall3n4ng3l/procfs_net_parse

procfs net files parser bash script for scanning active sockets
https://github.com/fall3n4ng3l/procfs_net_parse

awk bash linux parser pentest procfs

Last synced: 10 months ago
JSON representation

procfs net files parser bash script for scanning active sockets

Awesome Lists containing this project

README

          

# Network Sockets Info Parser Bash Script

This Bash script parses active TCP and UDP sockets info on Linux by reading `/proc/net/` files. It converts hex-encoded IP addresses and ports into human-readable format and shows connection statuses.

## Requirements
- **Bash**
- **GNU awk**

## Usage
This script is useful for pentesting when standard network tools like `ss`, `netstat`, or `lsof` are unavailable. It provides a quick view of active sockets without external utilities.

To run:
```bash
bash network_parser.sh
```