Last active
December 26, 2015 14:29
-
-
Save inaz2/7165748 to your computer and use it in GitHub Desktop.
ADS圧縮形式についてのメモ(NTFSのAlternate Data Streamsにデータを隠す)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> dir | |
2013/10/26 14:46 <DIR> . | |
2013/10/26 14:46 <DIR> .. | |
2013/10/26 14:37 1,048,576 foobar.txt | |
1 個のファイル 1,048,576 バイト | |
2 個のディレクトリ 603,434,876,928 バイトの空き領域 | |
> type NUL > compressed.ads | |
> type foobar.txt > compressed.ads:foobar.txt | |
> del foobar.txt | |
> dir | |
2013/10/26 14:47 <DIR> . | |
2013/10/26 14:47 <DIR> .. | |
2013/10/26 14:47 0 compressed.ads | |
1 個のファイル 0 バイト | |
2 個のディレクトリ 603,434,876,928 バイトの空き領域 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> dir /R | |
2013/10/26 14:47 <DIR> . | |
2013/10/26 14:47 <DIR> .. | |
2013/10/26 14:47 0 compressed.ads | |
1,048,576 compressed.ads:foobar.txt:$DATA | |
1 個のファイル 0 バイト | |
2 個のディレクトリ 603,434,876,928 バイトの空き領域 | |
> mklink foobar.txt.ads compressed.ads:foobar.txt | |
foobar.txt.ads <<===>> compressed.ads:foobar.txt のシンボリック リンクが作成され | |
ました | |
> type foobar.txt.ads > foobar.txt | |
> del foobar.txt.ads compressed.ads | |
> dir | |
2013/10/26 14:49 <DIR> . | |
2013/10/26 14:49 <DIR> .. | |
2013/10/26 14:48 1,048,576 foobar.txt | |
1 個のファイル 1,048,576 バイト | |
2 個のディレクトリ 603,434,876,928 バイトの空き領域 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment