A simple script to check for how long the Java process is running on the remote server and what it's port
based on sshpass - the tool which helps of being authorized using emulation of keyboard password input
Files
run-remotely.sh
- Script to apply in the first and the second taskinventory
- the file with the list of servers to check (fill in using \n for each entry)sshpass
- a binary to pass the keyboard input
`run-remotely.sh <sid_file> <root user pwd> <mode option> use option 1`
Re-creates and push a raw input about Kernel and launch parameters into "Message of the day" file; (capable with deb & rpm based distros)
`run-remotely.sh <sid_file> <root user pwd> <mode option> use option 2`
A parsing script to fetch the user’s friend’s name those “id” equals “2” and has ‘laborum’ tag for the given JSON file
Files
parser.py
- Main script- requirements:
- python 2.5
- JSON lib
- requirements:
data.json
- File contains JSON payload
python parser.py
link to the full task description - secret gist