Just trying to get a postgreSQL exploit (32847.txt - Low Cost Function ) from exploitdb to run in msfconsole. After pulling my hair out trying to figure out why it isn't loading, here I am. I'm using Kali Linux, Debian 64 bit in Virtual Box, Windows Host.
So far here's what I've done:
Downloaded appropriate exploit from exploitdb, placed .txt into a folder that I made, .../.msf4/modules/exploits/PostgreSQL
. I run ls
in command line, I can see it there.
Rerun terminal, updated db via -updatedb
Started msfconsole, and it did not load the exploit into msfdb (I can't access it via use exploit ....
. I've tried to update the db and tried to both copy/paste the exploit directly via GUI into the exploits folder as well as through command line.
My error is Failed to load module: exploit/PostgreSQL/32847.txt
Am I placing the exploit in the wrong folder or what is the problem?