Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Aug 23, 2023, 08:41 AM

Title: File with no extension challenge task excersize
Post by: mahesh on Aug 23, 2023, 08:41 AM
I'm new and I got this file called "generate_quote" in a virtual box running Ubuntu 19.10. It has no extension. I have to make it work so it "gives me a quote" (a sentence).

I tried:

./generate-quote -h --> logs "Could not generate quote..."
sudo bash ./generate-quote --> Cannot execute binary file
file generate-quote --> ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically-linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/LINUX 3.2.0
cat generate-quote --> it's a long gibberish text but I could make out 'private subdirectory is unsafe', '%s extraction of %s (custom Perl interpreter) failed errn=%i)

There's a swapfile in another directory that's mounted as soon as I start the virtual box, I suspected that's related but unmounted it and my file still doesn't work.
Any ideas?
Thanks