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
- Host: GitHub
- URL: https://github.com/fall3n4ng3l/procfs_net_parse
- Owner: fall3n4ng3l
- Created: 2025-03-03T09:16:31.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-03T11:47:57.000Z (10 months ago)
- Last Synced: 2025-03-03T12:27:24.243Z (10 months ago)
- Topics: awk, bash, linux, parser, pentest, procfs
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```