ADS
Creating ADS in c++
CreateFile( "sample.txt:my_stream",GENERIC_WRITE,FILE_SHARE_WRITE,NULL,OPEN_ALWAYS,0,NULL );
if( hStream == INVALID_HANDLE_VALUE )
printf( "Cannot open sample.txt:my_stream\n" );
else
WriteFile (hStream,"This data is hidden in the stream. Can you Read IT ???", 53, &dwRet, NULL);
}
(todo)
Copy link