markdown
This commit is contained in:
14
README.md
14
README.md
@@ -28,7 +28,8 @@ There are two different supported modes in the daemon. Those are:
|
|||||||
|
|
||||||
While status have detailed information about the daemon and its configuration itself, events covers power failures and alike.
|
While status have detailed information about the daemon and its configuration itself, events covers power failures and alike.
|
||||||
|
|
||||||
```./apcupsd_disclosure.py -h
|
```
|
||||||
|
./apcupsd_disclosure.py -h
|
||||||
usage: apcupsd_disclosure.py 0.1 dash@undisclose.de June 2019
|
usage: apcupsd_disclosure.py 0.1 dash@undisclose.de June 2019
|
||||||
[-h] [-m MODE] -t TARGET [-p PORT]
|
[-h] [-m MODE] -t TARGET [-p PORT]
|
||||||
|
|
||||||
@@ -40,13 +41,18 @@ optional arguments:
|
|||||||
"events", default is "status"
|
"events", default is "status"
|
||||||
-t TARGET, --target TARGET
|
-t TARGET, --target TARGET
|
||||||
define the target
|
define the target
|
||||||
-p PORT, --port PORT define the target port```
|
-p PORT, --port PORT define the target port
|
||||||
|
```
|
||||||
|
|
||||||
Get the status information (you do not need the -m option as status is default):
|
Get the status information (you do not need the -m option as status is default):
|
||||||
```./apcupsd_disclosure.py -t 127.0.0.1 -m status```
|
```
|
||||||
|
./apcupsd_disclosure.py -t 127.0.0.1 -m status
|
||||||
|
```
|
||||||
|
|
||||||
Get the events:
|
Get the events:
|
||||||
```./apcupsd_disclosure.py -t 127.0.0.1 -m events```
|
```
|
||||||
|
./apcupsd_disclosure.py -t 127.0.0.1 -m events
|
||||||
|
```
|
||||||
|
|
||||||
### Shodan
|
### Shodan
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user