/hpe-webconfig-dl

Shellfoo for getting config out of HPE "smart managed" 1920 series switches.

Primary LanguageShell

HPE webconfig downloader

This is the first attempt at downloading config from HPE "smart managed" ethernet switches. Confirmed working with 1920 series.

Prerequsites

Usage

Give the hostname/ip address as first argument, followed by username and password. The config is output to stdout. 3 attempts are made to log in and solve the captcha, if this does not succeed, exits with return value of 1.

sh hpconf.sh <HOST> <USER> <PASSWORD>

Example

sh hpconf.sh 192.168.1.1 admin password