Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-21-2009, 03:56 PM
|
#1
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Rep:
|
Hello i need some help
Hello am a student, i have a projet on unix forensic and anti-forensic tools. In the forensic tools i have found a method that is based on changing the inode of a file, but am not being able to change the inode, does anyone know how to change the inode or where can we find a C/C++ program to do that?
And another question plz where can we find the source code of the ext2 file system?
Thanks for ur answers.
|
|
|
12-21-2009, 04:11 PM
|
#2
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
|
Quote:
Originally Posted by maurice19
...
And another question plz where can we find the source code of the ext2 file system?
...
|
Hello maurice19 and welcome to LQ,
google for "e2fsprogs".
Markus
|
|
|
12-23-2009, 02:29 AM
|
#3
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Original Poster
Rep:
|
markush i checked the e2fsprogs but i didn't find a special code, do u have any specific site where i can find it?
another question can we use debugfs to change the inode if yes what is the command to do that?
Thanks.
|
|
|
12-23-2009, 02:30 AM
|
#4
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Quote:
Originally Posted by maurice19
And another question plz where can we find the source code of the ext2 file system?
|
In the source for the Linux kernel? You can get it from www.kernel.org.
|
|
|
12-23-2009, 02:36 AM
|
#5
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Original Poster
Rep:
|
nylex can we modify the source code of the Linux kernel?
|
|
|
12-23-2009, 02:39 AM
|
#6
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Yes, you're allowed to do that under the terms of the GNU General Public License, which is the license that the kernel is released with.
|
|
|
12-23-2009, 02:41 AM
|
#7
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Original Poster
Rep:
|
you ever changed the inode of a file nylex?
|
|
|
12-23-2009, 02:42 AM
|
#8
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
No.
|
|
|
12-23-2009, 02:44 AM
|
#9
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Original Poster
Rep:
|
ok thank you hope i will be able to do it using the code of the ext2
|
|
|
12-23-2009, 03:04 AM
|
#10
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Original Poster
Rep:
|
Is this the code of the ext2 http://www.kernel.org/diff/diffview.....1-2.bz2;z=all with the patches or it is a patch only? excuse me because i really dont know what is the code or how it is made of.
Thanks
|
|
|
12-23-2009, 03:06 AM
|
#11
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Get the full source. Once you extract it, you'll find the code for ext2 in fs/ext2.
|
|
|
12-23-2009, 03:07 AM
|
#12
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Sleuthkit contains tools to change the inode of a file. But if you change the inode manually, the file is lost. The only way you can ever find it is to manually go to that inode and follow it.
|
|
|
12-23-2009, 03:11 AM
|
#13
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Original Poster
Rep:
|
Sleuthkit contains tools to change the inode of a file. But if you change the inode manually, the file is lost. The only way you can ever find it is to manually go to that inode and follow it.
1st Sleukhit is a forensic tool right? it is used to check if there is changes in the inode? How can we use it to change the inode what is the command if u have ever use it?
2nd where can we find the inode to go it then what u mean by follow it? thx
|
|
|
12-23-2009, 01:25 PM
|
#14
|
LQ Newbie
Registered: Dec 2009
Posts: 11
Original Poster
Rep:
|
does anyone know how to use sleuthkit to change the inode? i have done many research but could not find the way
|
|
|
All times are GMT -5. The time now is 12:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|