CentOS 5 :: How To Unzip Binary File
Sep 8, 2011
edit unzip binary file to fix a security issue with cpanel?i tried hex editior but i canot understand the file codes!iam a basic php scripter and pwn but i canot understand this its just numbers and strange characters!......................45..................5......@#........ like this
View 1 Replies
ADVERTISEMENT
Jun 4, 2011
I am facing problem on executing commands like df -h,ls-l,grep etc in /bin.
it is showing below errors:--
----------------------------------------------------------------------------------
login as: root
root@220.226.102.217's password:
Last login: Sat Jun 4 11:14:20 2011 from 220.227.54.149
-bash: /bin/egrep: cannot execute binary file
[code]....
View 2 Replies
View Related
May 5, 2011
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies
View Related
Jul 11, 2010
Problem is what unzip command, finish before all unzip is done.
Code:
#!/bin/dash
cd /home/ftpuser/www_base/
[code]....
View 3 Replies
View Related
Aug 27, 2009
difference between using "jar xvf" and "unzip" to unzip the zip-file?
View 4 Replies
View Related
Apr 13, 2010
Using PHP 5.2.10 on CentOS 5.4. I need to run a PHP call that will extract all the files from a .zip file. Is there a function to do this or something in PHP I need to enable or install?
View 1 Replies
View Related
Sep 15, 2010
I have this file with a z7 extension. The question is simple, how do we unzip this ?
View 2 Replies
View Related
May 6, 2010
trying to unzip only 1 directory in my .zip file, the reason is that i don't have enough space to unzip all the contents of .zip file. and i am trying to do it with unzip command.
View 4 Replies
View Related
Feb 25, 2010
I have a problem where I have certain foo.tgz files that are to big to gunzip in a directory, the box that it is on has limited space in /var/tmp for all intents and purposes. I did the standard gunzip -l to see how big the file was.
How can I look in the .tgz to see what files are there and pull out only the ones that I need. tar -t foo.tgz doesn't seem to work or am I doing something wrong?
Once I do find the file how do I only extract the one file from the .tgz, remember I can't uncompress the entire foo.tgz
View 14 Replies
View Related
Nov 29, 2010
Below is my code to create *.bz2 file.
<?php
//Moving file to temporary directory for compression
move_uploaded_file($_FILES["file"]["tmp_name"],"c:/" . $_FILES["file"]["name"]);
$url="c:/".$_FILES["file"]["name"];
//File compression
[Code]....
Anyone know, how to unzip the file ? I've tried the above code to unzip it but it creates only 1kb of file for any files.
View 3 Replies
View Related
May 6, 2011
So I have a script that simply unzips a file with a line:
unzip /path/to/file.zip
which unzips and puts the unzipped directory in the same directory as my script. The issue is, I want the unzipped directory to be in the same directory as the original zipped file.
I googled and found the -d flag which would let me specify what directory to put it in but the script asks the user to define the directory so I don't see how I could use that (because the user specifies the path all the way to the zipped file, not just the directory where the zipped file is)
View 2 Replies
View Related
Feb 8, 2011
I have an epub book that is mostly text. I realize that with some effort I can unzip the epub file and view the content in lynx. Is there a better way to read a text-centric epub at the console?
View 2 Replies
View Related
Jun 14, 2010
I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems
Code:
# DRCP Section. To scp newly created archives to a remote system
if [ "$DRCP" = "yes" ]
[code]...
View 3 Replies
View Related
May 23, 2011
i am trying to convert a binary file in to ASCII using shell script. this file contains multiple types of data like string, number, bcd, etc.
View 5 Replies
View Related
Sep 1, 2011
I've had Ubuntu 11.04 installed on my desktop since it's release. Up until an hour ago, it was working fine. I clicked on an update from the update manager, now booting into a graphical mode is completely broken, (the start-up load hangs at 'Check Battery State ... [0k]'). I restarted my computer, and booted into safe mode, and launched the terminal. This all works fine. I then typed :
Code: sudo gdm start into the command prompt, hoping that I would be able to start things manually. Instead, it spat out this: Code:
gdm-binary[230]: WARNING: Unable to load file '/etc/gdm/custom.conf'. No such file or directory.
gdm-binary[230]: WARNING: Unable to find users : no seat-id found.
gdm-binary[230]: WARNING: Gdm Display: display lasted 0.070467 seconds
The last line was printed about 8 times, with slightly different times, before it gave up and failed. Some information which might help, I have Gnome 2, Unity and KDE (not sure which version), installed. My graphics card is the GTX 275, and I have driver the Nvidia driver 275.21. So yeah, I think the update has gone and moved custom.conf somewhere, but I have no idea on how to fix it. I have a graphics programming assignment due on Friday and I would be eternally grateful if I could get this fixed well before then.
View 2 Replies
View Related
Sep 7, 2010
how to verify if the file is binary or text without to open the file
View 2 Replies
View Related
Feb 18, 2010
In a project I'm working on with a few other people, I got the task of writing an assembler. The last thing I do is convert the commands into a binary representation, and jam it into a file. Now one of my teammates said he'd like to be able to "reference" the code within another program. He said he'd be able to do this if the file I output is a Linux object file. I'm thinking it'd also work as an executable. Anyway, he said he'd like to be able to grab the file and reference the binary by address. I'm still fuzzy on this, and if you're confused with what I said here, please tell me so I can ask him for better details.Anyway, I'm aware that gcc can compile files to ".o", but that's only for C/C++, and my file is just binary. I'm also aware of "ld", but I haven't seen any use of it to help me. I'm happy to hear suggestions as to what I can do. If anything, I think I'll implement a few functions to grab the bits and hand them to him in an array or something.
View 8 Replies
View Related
Nov 30, 2010
How to coded version info and other information likes author and company name into the ELF binary?
I prefer the put the version info during build step.
View 5 Replies
View Related
May 26, 2010
Has anyone ever managed to get SCO binaries to run under Centos 5? I have an application which runs on SCO and SCO is becoming difficult to support so I want to copy the binaries over onto Linux and run them.
View 2 Replies
View Related
Dec 22, 2010
I am trying out an open source software According to its installation instruction, "Linux users with an x86 compatible platform can use the frozen package for a quick installation (Just unpack the tar file in directory an start the faces binary). "So I just did it and unpacked it. However, when I click on the application file, which is named "faces", nothing happens. I'm new to Ubuntu so I'm not sure if there is anything that I should do before I can click and run an application like this?
View 4 Replies
View Related
Aug 3, 2009
When I do a yum or an initial load of vsftpd, I get binary that works. I got the source file "vsftpd-2.0.5-12.el5_3.1.src.rpm" from [URL] to make a change to add chown_upload_mode to version 2.0.5
With no changes to the source, the program works but does not respond to the service command properly. See [URL]
How do I get the source of vsftpd that matches the binary distribution?
View 3 Replies
View Related
Apr 29, 2010
[b] i got downloaded qt-sdk-linux-x86_64-opensource-2010.02.bin binary file then how to install that one[]
View 5 Replies
View Related
Sep 20, 2010
I'm new to Fedora, and haven't used any flavor of Linux in years. I'm attempting to run a few benchmarks that were given to me by my instructor, but every one I try to run gives an error "Cannot execute binary file". For instance,.inp.inThis command gives an error:bash: ./Mcf: cannot execute binary fileIt is not a permission problem, I have confirmed the file has execute permissions (one of the things I still remembered after all these years). I suspect all the benchmarks I have been given were compiled on Ubuntu. Would this be causing the problem? I do not have access to the source code, so I cannot recompile. If that is the problem, is there a way around it that doesn't involve throwing away a weekend and starting fresh on Ubuntu?
View 1 Replies
View Related
Sep 24, 2010
I found a Linux .x86 binary file that I've been looking for, but not sure what to do with it. Does this (*.x86) binary file format seem like something that could simply be run by command, or something that would need to be compiled first? There is not much information that I could find regarding the particularly file.
View 11 Replies
View Related
Nov 13, 2010
I've been trying to launch a binary file, but I keep getting this error.
Code:
[csegale@localhost pSX]$ ./pSX
[src/linux/sound.cpp, line 215]: 'snd_pcm_hw_params_set_access(pcm_handle,hwparams,SND_PCM_ACCESS_MMAP_INTERLEAVED)' returned 'Invalid argument'
[Code]....
View 2 Replies
View Related
Jul 14, 2010
I have a strange issue on one of my machines. The same thing works fine on all the others. When I execute:
Code:
sudo -u myuser -i ls
I get:
Code:
/bin/ls: /bin/ls: cannot execute binary file
On the other hand if I just run
Code:
sudo -u myuser -i
and then run ls, it executes successfully, but I don't want to stay logged in as myuser I just want to run a single command.
View 2 Replies
View Related
Jun 7, 2011
I'm trying to install this app called genBlast. It's a bioinformatics tool that does some cool stuff (I guess the actual use doesn't matter that much). Anyway, it comes as a .tar.gz folder with about a dozen executables in it; no compiling necessary. I extracted it to the desktop so I didn't have to worry about permissions, and then just tried to run it from inside the directory (it's a command line app).
All of the executables work with a ./ except one, and it's the most important one for that matter. When I go to run it, I get the error message Code: bash: ./genblast: cannot execute binary file I've checked permissions with ls -l, run a chmod 'u+x' just to make sure, and everything else I can think of. But it just won't work. Also, I just installed it on another computer and it works fine, so I'm pretty sure it's on my end.
View 2 Replies
View Related
Oct 27, 2010
I want run binary files but shoot my errors that "Cannot Execute Binary file" I try with ./file, bash file etc i'm using fedora12 with KDE Desktop this happends with all binary files
do you know which extension is?
somebody knows why i cant run?
View 5 Replies
View Related
Nov 3, 2010
I tried to restart my httpd service.cannot execute binary file seems like the HTTPD wasnt stopped while it should be stopped. it skipped the 'stop' and just right away jump into 'start' command. my case is i just changed some php.ini configuration, and to have it changed i need to restart after changes.am i correct if i say my '/bin/rm' and '/bin/touch' files are corrupted?
View 3 Replies
View Related
Nov 30, 2010
I have a binary file which display a lot of message when I run that binary. This binary file is statically linked with many files which are unknown to me. Is there any way to know from which file (obj or static lib) does these printf come from?
There is a way to get to know about the source of a symbol, but I am interested about the source of a string.
View 6 Replies
View Related