News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Praise for murgalua
Author Message
Juergen
Member
***


Posts: 81
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #1
RE: Praise for murgalua

asafp Wrote:
When executing with env command, the error message is a little different. It refers to the directory.

env ~ ./murgaLua

env: /mnt/b02add6f/www: Permission denied


That is what you should expect: "env ~ ./murgaLua" expands to "env /mnt/b02add6f/www ./murgaLua". So you are telling env to exec your home directory with the additional parameter "./murgaLua" which is clearly not supposed to work. You should have typed "env ~/murgaLua" but this may not work if /mnt/b02add6f" is mounted with the noexec option. You can check this with "env /bin/mount" or "cat /proc/$$/mounts". If this is the case then it will be not "that easy" to circumvent, and might be a little bit to intrusive (to start with more aggressive methods). In this case it would be a better idea to switch to another provider which has a more liberal setup.

If your home directory is mounted with the noexec option there is one thing that could (temporarily) work (it is fixed with kernels >=2.6.24 and should also be fixed with security backports for older kernels): You should get a stock lua binary or unpack murgaLua (upx -d) and then copy it in your homedir. Then you can try to invoke it with "env /lib/ld-linux.so.2 ~/murgaLua" or with awk,.... (but always through /lib/ld-linux.so.2). But as I said, it is most likely that it won't work, if the kernel is up to date.

Juergen

03-14-2008 01:17 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Praise for murgalua - asafp - 03-07-2008, 01:05 PM
RE: Praise for murgalua - mikshaw - 03-07-2008, 01:21 PM
RE: Praise for murgalua - asafp - 03-07-2008, 02:33 PM
RE: Praise for murgalua - mikshaw - 03-08-2008, 12:10 AM
RE: Praise for murgalua - Juergen - 03-08-2008, 04:37 AM
RE: Praise for murgalua - asafp - 03-11-2008, 10:38 AM
RE: Praise for murgalua - Juergen - 03-11-2008, 09:08 PM
RE: Praise for murgalua - asafp - 03-13-2008, 10:28 AM
RE: Praise for murgalua - asafp - 03-13-2008, 10:40 AM
RE: Praise for murgalua - asafp - 03-13-2008, 10:46 AM
RE: Praise for murgalua - Juergen - 03-14-2008 01:17 AM
RE: Praise for murgalua - asafp - 03-14-2008, 03:01 AM
RE: Praise for murgalua - Juergen - 03-14-2008, 03:52 AM
RE: Praise for murgalua - asafp - 03-14-2008, 05:44 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: