Sunday, August 5, 2018

updating openfuck exploit if you are geting ssl error

Kioptrix level 1- Error while compiling openfuck exploit solved

Hello guys. I got error while compiling exploit openfuck, even i updated that exploit according to this blog http://paulsec.github.io/blog/2014/04/14/updating-openfuck-exploit/. But still got ssl error like this screenshot.

I googled a bit to solve this error.follow the steps carefully.

Step 1- Update your exploit first according to this blog
http://paulsec.github.io/blog/2014/04/14/updating-openfuck-exploit/.

Step 2- Now add these lines at line no 24

#define SSL2_MT_ERROR 0
#define SSL2_MT_CLIENT_FINISHED 3
#define SSL2_MT_SERVER_HELLO 4
#define SSL2_MT_SERVER_VERIFY 5
#define SSL2_MT_SERVER_FINISHED 6
#define SSL2_MAX_CONNECTION_ID_LENGTH 16

Step 3- Replace if (pkey ->type != EVP_PKEY_RSA) from line 1078 with

if (EVP_PKEY_get1_RSA(pkey) == NULL).

Step 4-  Goto line no 1084 and replace pkey->pkey.rsa with  EVP_PKEY_get1_RSA(pkey)

Hope this can help you out if you got stuck with this exploit. Cheers !

No comments:

Post a Comment