-2
1
How to change file permissions to execute a binary executable ELF file in Kali Linux? I have been trying chmod +x <filename>
and then running it with ./filename
but all I get is Error: No file found
. Any other ideas? I even tried chmod 777 <filename>
. I am wondering if there is anything I am missing?
Edit:
Output of file <filename>:
root@swat:~/Downloads# file talisman
talisman: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=2b131df906087adf163f8cba1967b3d2766e639d, not stripped
Output of ldd <filename>:
root@swat:~/Downloads# ldd ./talisman
not a dynamic executable
Output of ls /lib:
root@swat:~# ls /lib
console-setup init startpar
cpp klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so systemd
crda ld-linux.so.2 terminfo
cryptsetup live udev
firmware lsb x86_64-linux-gnu
hdparm modprobe.d
ifupdown modules
1That error message means that it's not a permissions issue, but perhaps a missing dependency, e.g. a shared library. Edit your post, and add the output from shell commands
file <filename>
,ldd <filename>
, andls /lib
. – sawdust – 2017-11-07T06:59:03.170This is likely a dup of https://superuser.com/a/375290/112397
– Employed Russian – 2017-11-08T04:06:16.553@sawdust, edited the question with the output as requested. sorry took me time to get back. – warfreak92 – 2017-11-19T16:20:31.347