ngalongc / AutoLocalPrivilegeEscalation

An automated script that download potential exploit for linux kernel from exploitdb, and compile them automatically
485 stars 194 forks source link

Path to copy files don´t exist #2

Open sultanovich opened 7 years ago

sultanovich commented 7 years ago

Hi Chan,

I tried to use your script on my centos 7 (or Debian 8) and it´s doesn't work. The error is this:

[*] The base directory is /usr/share/exploitdb/platforms [*] Copying /usr/share/exploitdb/platforms/linux/local/31347.c to /root/AutoLocalPrivilegeEscalation-master/linux_3.10//linux/local/31347.c cp: cannot stat ‘/usr/share/exploit [auto_priv_exploit.zip](https://github.com/ngalongc/AutoLocalPrivilegeEscalation/files/730922/auto_priv_exploit.zip) db/platforms/\033[01;31m\033[Klinux\033[m\033[K/local/31347.c’: No such file or directory [*] Do you wish to compile all the exploit script written in C?

So when I tried to fix it I changed more than a few lines. The attached file is my

new auto_priv_exploit.sh.

Now this script take the kernel version and the os type from the system or you can put the kernel version you will check.

If you need some information of this change please tell me.

ngalongc commented 7 years ago

Thanks for helping, but where can I get your modified script?

sultanovich commented 7 years ago

I'm sure I'll attach the file when I open the new issue. But now I can´t find it. So, I attach the script again. Please tell me if you need something more.

auto_priv_exploit.zip

giper45 commented 3 years ago

Hi, have sent you a PR that fixes errors. It was related with color searchsploit option