Re: exu not working

new topic     » goto parent     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_0025_01C2D093.69776F00
	charset="iso-8859-1"

Robert Craig wrote:

> Here are a few things to check.
> 
> 1. Did you upload (FTP) exu in "text" mode?
>     It should be uploaded in binary mode, or a few bytes
>     could be altered (i.e. \r\n changes to \n). 
>     Or do the tar extraction on the Linux machine, 
>     after uploading the compressed .tar file in binary mode.
>     If exu is altered in any way, it will probably return
>     an exit code 127. This is actually the upx decompressor 
>     returning a failure code.

Checked all this again; still doesn't work.
 
> 2. Do you have permission to cd into /tmp and do: 
>          touch junk
>     to create a new file there? Is /tmp out of space?
> 
Yes, was able to create a file in /tmp.

> 3. Other things to try:
>      run:
>        strace -o junk exu
>     "junk" will have the system calls that exu executed.
> 
I don't really understand the output, so I've attatched it.

Thanks for your help,
chris.

------=_NextPart_000_0025_01C2D093.69776F00
Content-Type: text/plain;
	name="junk.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="junk.txt"

execve("/home/chrissy/bin/exu", ["exu"], [/* 21 vars */]) =3D 0
open("/proc/self/exe", O_RDONLY)        =3D 3
lseek(3, 1644, SEEK_SET)                =3D 1644
read(3, "C\376_\21p\36\3\0p\36\3\0", 12) =3D 12
getpid()                                =3D 415
gettimeofday({1044832552, 664475}, NULL) =3D 0
unlink("/tmp/upxHRHHULVAAPZ")           =3D -1 ENOENT (No such file or =
directory)
open("/tmp/upxHRHHULVAAPZ", O_WRONLY|O_CREAT|O_EXCL, 0700) =3D 4
ftruncate(4, 204400)                    =3D 0
old_mmap(NULL, 206448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, =
-1, 0) =3D 0x40000000
read(3, "p\36\3\0002H\1\0", 8)          =3D 8
read(3, "\177?d\371\177ELF\1\0\2\0\3\0\r \255\4\377\333\330\335"..., =
84018) =3D 84018
write(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0 \255\4"..., =
204400) =3D 204400
read(3, "\0\0\0\0UPX!", 8)              =3D 8
munmap(0x40000000, 206448)              =3D 0
close(3)                                =3D 0
close(4)                                =3D 0
open("/tmp/upxHRHHULVAAPZ", O_RDONLY)   =3D 3
fcntl(3, F_GETFD)                       =3D 0
fcntl(3, F_SETFD, FD_CLOEXEC)           =3D 0
unlink("/tmp/upxHRHHULVAAPZ")           =3D 0
execve("/proc/self/fd/3", ["exu"], [/* 21 vars */]) =3D -1 EACCES =
(Permission denied)
execve("/dev/fd/3", ["exu"], [/* 21 vars */]) =3D -1 EACCES (Permission =
denied)
unlink("/tmp/upxHRHHULVAAPZ")           =3D -1 ENOENT (No such file or =
directory)
_exit(127)                              =3D ?

------=_NextPart_000_0025_01C2D093.69776F00--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu