Cronjob for sniffer tool
net_sniffer is shell tool for controlling/operating net sniffer.
Developed in bash code: 100%.
The README is used to introduce the tool and provide instructions on how to install the tool, any machine dependencies it may have and any other information that should be provided before the tool is installed.
Table of Contents
Installation
Navigate to release page download and extract release archive.
To install net_sniffer type the following
tar xvzf net_sniffer-x.y.tar.gz
cd net_sniffer-x.y
cp -R ~/sh_tool/bin/ /root/scripts/net_sniffer/ver.x.y/
cp -R ~/sh_tool/conf/ /root/scripts/net_sniffer/ver.x.y/
cp -R ~/sh_tool/log/ /root/scripts/net_sniffer/ver.x.y/
Self generated setup script and execution
./net_sniffer_setup.sh
[setup] installing App/Tool/Script net_sniffer
Mon 29 Nov 2021 08:26:51 AM CET
[setup] clean up App/Tool/Script structure
[setup] copy App/Tool/Script structure
[setup] remove github editor configuration files
[setup] set App/Tool/Script permission
[setup] create symbolic link of App/Tool/Script
[setup] done
/root/scripts/net_sniffer/ver.2.0/
├── bin/
│ ├── net_dumper.sh
│ ├── net_ipsniffer.sh
│ └── net_params.sh
├── conf/
│ ├── net_sniffer.cfg
│ └── net_sniffer_util.cfg
└── log/
└── net_sniffer.log
3 directories, 6 files
lrwxrwxrwx 1 root root 52 Nov 29 08:26 /root/bin/net_sniffer -> /root/scripts/net_sniffer/ver.2.0/bin/net_sniffer.sh
Or You can use docker to create image/container.
Usage
# Create symlink for shell tool
ln -s /root/scripts/net_sniffer/ver.x.y/bin/net_sniffer.sh /root/bin/net_sniffer
# Setting PATH
export PATH=${PATH}:/root/bin/
# Control/operating net sniffer
net_sniffer
Dependencies
net_sniffer requires next modules and libraries
- None
Shell tool structure
net_sniffer is based on MOP.
Shell tool structure
sh_tool/
├── bin/
│ ├── net_dumper.sh
│ ├── net_ipsniffer.sh
│ └── net_params.sh
├── conf/
│ └── net_sniffer.cfg
└── log/
└── net_sniffer.log
Docs
More documentation and info at
Copyright and licence
Copyright (C) 2016 - 2024 by vroncevic.github.io/net_sniffer
net_sniffer is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.
Lets help and support FSF.