Fix README typo

The README has `bcap` as the set api username _and_ password. In the examples that follow, the username is set as `bpcap`. I changed this.
This commit is contained in:
Noah 2018-02-09 11:52:54 -05:00 committed by GitHub
commit bbd3dadb8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -221,7 +221,7 @@ api.rest on
Get information about the current session: Get information about the current session:
curl -k --user bpcap:bcap https://bettercap-ip:8083/api/session curl -k --user bcap:bcap https://bettercap-ip:8083/api/session
Execute a command in the current interactive session: Execute a command in the current interactive session:
@ -229,11 +229,11 @@ Execute a command in the current interactive session:
Get last 50 events: Get last 50 events:
curl -k --user bpcap:bcap https://bettercap-ip:8083/api/events?n=50 curl -k --user bcap:bcap https://bettercap-ip:8083/api/events?n=50
Clear events: Clear events:
curl -k --user bpcap:bcap -X DELETE https://bettercap-ip:8083/api/events curl -k --user bcap:bcap -X DELETE https://bettercap-ip:8083/api/events
<center> <center>
<img src="https://pbs.twimg.com/media/DTAreSCX4AAXX6v.jpg:large" width="100%"/> <img src="https://pbs.twimg.com/media/DTAreSCX4AAXX6v.jpg:large" width="100%"/>