Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-31-2002, 11:26 PM   #1
Registered: Apr 2002
Posts: 53

Rep: Reputation: 15
Brute Force

Hi, Ive got this floppy disk with an important tar file on it. It tells me the correct file type and the correct size of the file. But it only can copy the first 8kb exactly. I really need this file. Any idea on how to force the file to copy?

I tried writing a program but it can only read the first 8192 bytes (8kb) of data. Is there a brute force method to copy the file?

Old 08-01-2002, 01:37 AM   #2
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94

Rep: Reputation: 15
Are you absolutely sure that the disk is good? Just because you can retrieve the filetype/size doesn't mean that the disk, or file, is without errors. If the file can't be read or the disk is partially corrupted there is probably no way to copy the file, forced or otherwise, unless the problem on the disk is fixed (which would most likely make your file unusable). If this is the only copy of this particular file that you can get a hold of, and the disk is valuable, it would be worthwhile to try a different computer/drive to get to it (I have found that some disks unreadable by one drive may be readable by another). Instead of copying the file, have you tried to extract the tar to your hard drive? This would also give you some idea of whether or not the file is corrupted.
Old 08-01-2002, 01:42 AM   #3
LQ Newbie
Registered: May 2002
Posts: 6

Rep: Reputation: 0

If your failure is due to a physical defect in the media (floppy), then you are likely out of luck. However, you might try using dd to copy the file as follows (assuming the floppy is mounted on /fd0): dd if=/fd0/filename of=newfilename bs=1024 count=XXX where XXX is the size in 1K blocks of the file. Note that some floppy errors can be corrected by rotating the disk media in the sleeve (worth a try, can't hurt anything).

Hope this helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Brute Force Detection for iptables SlAiD Linux - Security 3 05-05-2005 05:03 PM
SSH brute force.... compromised? heri0n Linux - Security 15 11-21-2004 06:51 PM
brute force 'mungas bungas ' ovparrilla Linux - Software 2 07-06-2004 03:38 PM
Nessus Brute Force Gerardoj Linux - General 0 12-27-2003 05:07 PM
Brute force DHCP SSBN Linux - Networking 10 10-21-2003 11:34 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration