Merge pull request #491 from jer-gentoo/vnc-hydra_report-buf2

hydra-vnc: Use buf2 instead of buf in hydra_report
This commit is contained in:
van Hauser 2020-01-27 14:44:27 +01:00 committed by GitHub
commit 0a1bdf2527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ int32_t start_vnc(int32_t s, char *ip, int32_t port, unsigned char options, char
//supported security type
switch (buf2[3]) {
case 0x0:
hydra_report(stderr, "[ERROR] VNC server told us to quit %c\n", buf[3]);
hydra_report(stderr, "[ERROR] VNC server told us to quit %c\n", buf2[3]);
hydra_child_exit(0);
break;
case 0x1: