Howto:NTFS

From Offensive-security.com

Jump to: navigation, search
bt ~ # mount
...
/dev/hda1 on /mnt/hda1 type ntfs (ro,noatime)
...
bt ~ # umount /mnt/hda1
bt ~ # modprobe fuse
bt ~ # ntfsmount /dev/hda1 /mnt/hda1
bt ~ # mount
... 
/dev/hda1 on /mnt/hda1 type fuse (rw,nosuid,nodev,default_permissions,allow_other)
...
bt ~ # echo WRITEME > /mnt/hda1/write_test
bt ~ # ls -l /mnt/hda1/
total 1233857
-rw------- 1 root root      2950 Feb 20 03:28 AUTOEXEC.BAT
-rw------- 1 root root       210 Feb 20 04:26 BOOT.INI
-rw------- 1 root root         0 Feb 20  2003 BOOTLOG.PRV
-rw------- 1 root root         0 Feb 20 03:28 BOOTLOG.TXT
-rw------- 1 root root       512 Feb 20  2003 BOOTSECT.DOS
-rw------- 1 root root     92992 Jun  8  2000 COMMAND.COM
-rw------- 1 root root       122 Aug  8  2002 CONFIG.SYS
drwx------ 1 root root      4096 Feb 20  2003 Documents\ and\ Settings/
drwx------ 1 root root   1171456 Feb 19  2003 I386/
-rw------- 1 root root    118784 Jun  8  2000 IO.SYS
-rw------- 1 root root        78 May 18  2001 MSDOS.SYS
-rw------- 1 root root     47564 Feb 20 04:21 NTDETECT.COM
drwx------ 1 root root      8192 Feb 20  2003 Program\ Files/
drwx------ 1 root root      4096 Mar  2 10:43 Python24/
drwx------ 1 root root         0 Feb 20 03:44 Recycled/
-rw------- 1 root root         8 Mar  7 07:06 write_test
bt ~ #
Personal tools