root# gcc -o ex 08202004.brutessh2.c
/var/tmp//ccvN8o8t.o: In function `shell':
/var/tmp//ccvN8o8t.o(.text+0x1d): undefined reference to `buffer_new'
/var/tmp//ccvN8o8t.o(.text+0x38): undefined reference to `open_session_channel'
/var/tmp//ccvN8o8t.o(.text+0x60): undefined reference to `channel_request_pty'
/var/tmp//ccvN8o8t.o(.text+0x74): undefined reference to `channel_request_shell'
/var/tmp//ccvN8o8t.o(.text+0xbb): undefined reference to `channel_poll'
/var/tmp//ccvN8o8t.o(.text+0xdc): undefined reference to `channel_read'
/var/tmp//ccvN8o8t.o: In function `checkauth':
/var/tmp//ccvN8o8t.o(.text+0x1ee): undefined reference to `ssh_getopt'
/var/tmp//ccvN8o8t.o(.text+0x208): undefined reference to `options_set_username'
/var/tmp//ccvN8o8t.o(.text+0x21c): undefined reference to `options_set_host'
/var/tmp//ccvN8o8t.o(.text+0x22d): undefined reference to `ssh_connect'
/var/tmp//ccvN8o8t.o(.text+0x257): undefined reference to `ssh_userauth_password
'
/var/tmp//ccvN8o8t.o(.text+0x26c): undefined reference to `ssh_disconnect'
Непойму почему не компилируется помогите...
h++p://www.k-otik.com/exploits/08202004.brutessh2.c.php