Skip to content

An automation tool for system administrators, security engineers, pen testers and related roles.

License

Notifications You must be signed in to change notification settings

ayushmanchhabra/fleet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fleet

An automation tool for system administrators, security engineers, pen testers and related roles. This tool is similar to Ansible in spirit but takes a shell scripting first approach.

Getting Started

This script (fleet.sh) logs into specific IPs defined in a text file (hosts.txt) and executes a user defined task (for example, ./tasks/info/os_name_version.sh). Note that the same credentials are used to log into multiple hosts.

Prerequisites

  1. Source and destination hosts are Linux.
  2. Bash, nmap, ssh and sshpass are installed.

Usage

  1. Git clone this repo: git clone https://github.com/ayushmanchhabra/fleet
  2. Hop into the folder: cd ./fleet
  3. Set your password: export SSHPASS=secret_password
  4. Execute the script: bash ./fleet.sh host_username ./hosts.csv ./tasks/info/os_name_version.sh
  5. Unset your password: unset SSHPASS

Scenarios

  1. Pentester: Check if credentials are valid before doing OS scanning.
  2. Security engineer: Check how many IPs are using a vulnerable version of a specific package or packages.
  3. System administrator: Filter out ICMP timestamp requests and responses on many IPs using iptables.

Limitations

  1. Only supports password based authentication.

License

MIT.

Legal disclaimer: Usage of fleet on hosts without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

About

An automation tool for system administrators, security engineers, pen testers and related roles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages