What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

Ssh Monitor

The Ssh monitor connects to a remote host over SSH. The monitor supports password, keyboard, and private key authentication methods. The monitor runs a given command on the remote system. A regular expression can be applied to the result of the command to determine if a Fault has occurred.

The Monitor holds a persistent connection open to the system over the course of the fuzzing run.

Parameters

  • Host — Host to ssh too

  • Username — Username for ssh

  • Command — Command to check for fault

  • Password — Password for ssh account (optional, default is "")

  • KeyPath — Path to ssh key (optional, default is "")

  • CheckValue — Regex to match command response (optional, default is "")

  • FaultOnMatch — Trigger a fault if the regex matches (optional, defaults to true)

Examples

Example
<Agent name="LocalAgent">
        <Monitor class="Ssh">
                <Param name="Host" value="my.target.com" />
                <Param name="Username" value="tester" />
                <Param name="Password" value="Password!" />
                <Param name="Command" value="ls /var/cores/*.core" />
                <Param name="CheckValue" value="target.*?.core" />
                <Param name="FaultOnMatch" value="true" />
        </Monitor>
</Agent>