Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Wednesday, April 16, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 27
Guests Online: 19
Members Online: 8

Registered Members: 82813
Newest Member: VesuviusSentinel
Latest Articles
View Thread

HellBound Hackers | Computer General | General Computer Problems

Author

Fake file size


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-08 13:17
I was wondering that if there was some way to change or fake the size of a file in windows Xp without changing its content(compressing/zipping/deleting-adding lol),like when you get into the properties of the file/folder you'll see that its about 5Gb where the original file is just a txt. or the opposite,like a huge file that is about 300mbs appearing like 1mb in the properties...without the use of external softwares


Edited by on 05-01-08 13:23
Author

RE: Fake file size

Uber0n
Member



Posts: 1963
Location: Sweden‭‮
Joined: 13.06.06
Rank:
Hacker Level 3
Posted on 05-01-08 13:29
If you use certain software you can change file creation date and last modified date etc, but I don't know how to change the file size without actuallt changing the file... :whoa:


img230.imageshack.us/img230/724/uber0nsig3hj6.gif
http://uber0n.web. . .
Nope http://uber0n.webs.com/
Author

RE: Fake file size

mido
Member

Your avatar

Posts: 613
Location: Cairo, Egypt
Joined: 27.01.07
Rank:
Monster
Posted on 05-01-08 14:00
I actually don't know, but maybe changing file headers, etc...

Or adding many hidden HEX values.


www.hellboundhackers.org/sig/r/16019.png

mido_eg3[at]hotmail.com
Author

RE: Fake file size

Uber0n
Member



Posts: 1963
Location: Sweden‭‮
Joined: 13.06.06
Rank:
Hacker Level 3
Posted on 05-01-08 14:23
mido wrote:
Or adding many hidden HEX values.


But those are included in the filesize... Perhaps you could add an EOF of some kind? Or maybe that just cuts the rest of the file Pfft


img230.imageshack.us/img230/724/uber0nsig3hj6.gif
http://uber0n.web. . .
Nope http://uber0n.webs.com/
Author

RE: Fake file size


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-08 14:36
... and how's that possible ?
Author

RE: Fake file size

jaggedlancer
Member



Posts: 471
Location: London
Joined: 18.09.06
Rank:
Moderate
Warn Level: 5
Posted on 05-01-08 14:38
I actually read up on this a while back and read something to do with making a sparse file i cant remember the rest though and im not even sure if it works but meh Wink


i212.photobucket.com/albums/cc270/Eyefork/jageye.png
73 6d 69 6c 65 79 77 69 7a 61 72 64 40 68 6f 74 6d 61 69 6c 2e 63 6f 2e 75 6b - twitter.com/joshsmile
Author

RE: Fake file size


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-08 14:43
yeah i was reading couple of days ago about parsing,but i didnt get its concept.anybody knows what is parsing and how it might be used ?
Author

RE: Fake file size

What_A_Legend
Member



Posts: 470
Location: On the Net
Joined: 12.04.06
Rank:
Active User
Posted on 05-01-08 15:05
It can be done and it's done by using sprase as stated above, but this will only work with NTFS, not sure how its done but google is the best place to start as ever.


i19.photobucket.com/albums/b153/Golden_Lemur/legendsig.png

www.hellboundhackers.org/sig/r/7039.png
what_a_l3g3nd@hotmail.com www.wayneshears.com
Author

RE: Fake file size


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-08 15:12
Cant the parsing be done without external softwares ? oh and i tried GooGle about parsing ... and i still dont get what is parsing.help please ?
Author

RE: Fake file size

What_A_Legend
Member



Posts: 470
Location: On the Net
Joined: 12.04.06
Rank:
Active User
Posted on 05-01-08 15:15
You can do it with some code, this code how ever is not mine and I have not tested it.

The following piece of code generates a test.txt file of 15,9 TB (NOTE: NTFS only, disclaimer: never tested on non NTFS systems!).

Code
int _tmain(int argc, _TCHAR* argv[])
{
HANDLE h = CreateFile("Test.txt", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, NULL);

DWORD dw;
DeviceIoControl(h, FSCTL_SET_SPARSE, NULL, 0, NULL, 0, &dw, NULL);

LONG lDist = 4095;
SetFilePointer(h, 0, &lDist, FILE_BEGIN);
SetEndOfFile(h);

CloseHandle(h);

return 0;
}




this is curtosy of this thread http://www.codegu. . .24134.html


i19.photobucket.com/albums/b153/Golden_Lemur/legendsig.png

www.hellboundhackers.org/sig/r/7039.png
what_a_l3g3nd@hotmail.com www.wayneshears.com
Author

RE: Fake file size


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-08 15:27
i was just looking at that thread 1 hour ago.i wasn't interested cause im not in C.Any vb codes ?
Author

RE: Fake file size


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-08 16:28
Just a thought,
If the application had space set aside to store data, could you cut that out and tac-on the stored saved/input data as you go? You would have to know where it is stored. And that sounds like it might be a job for an assembly language.

edit: this wouldn't be a virus by any chance would it? You might be able to have it copy its self into RAM when the file is checked, so it doesn't read as hard drive space.




Edited by on 05-01-08 16:34