Add junk bytes to and of file

Discuss Applications
Post Reply
User avatar
Basher52
guru
guru
Posts: 919
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Add junk bytes to and of file

Post by Basher52 » Tue Sep 21, 2010 3:17 pm

Is there a way to add a small piece of junk after a file that later can easily be removed?
I use google as my backup server and before I email myself I split it up, but I want to 'cat' some kind of "junk" after each file so they cant easily just cat them together again and the the "true" file in there.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Tue Sep 21, 2010 5:07 pm

Can you be a little more specific? Maybe provide an example? Not exactly sure what you mean by "junk".

User avatar
Basher52
guru
guru
Posts: 919
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Fri Sep 24, 2010 3:27 pm

well...
I split up the big backup files into smaller and send them to the backup server, but I want to add some kind of junk and by that I mean whatever, just so if anyone but me tries to 'cat' the files together again, it won't get a working RAR file.
The junk can be anything at all just so the 'cat' of these files won't create a working RAR file making it harder to decrypt it.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Sep 24, 2010 4:33 pm

dd should work just fine for that.

User avatar
Basher52
guru
guru
Posts: 919
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 » Sat Sep 25, 2010 5:11 am

yeah you're right. thx for reminding me :)

Post Reply