de PCA methode:
de inhoud van Autorun.inf:
code:
1
2
3
| [autorun]
open = start32.exe
icon = start32.exe,0 |
die opent pcastart.htm vanuit de TEMP folder
die een venster opent met als inhoud een popup opener waarin het menu van PCA staat.
op een HTML pagina waar dan uiteindelijk een installeerbaar programma staat (in dit geval StarOffice):
code:
1
| <a href="star.pca">Windows versie installeren</a> |
de inhoud van het star.pca bestand:
code:
1
2
3
4
5
6
| ; Als u dit leest is de PC-Active runner niet goed geïnstalleerd!
; Start de cd-rom opnieuw om dit te corrigeren...
;
[Run]
Programma=software\staroffice\windows\setup.exe
Commandline= |
-----------------------------------------
kan je in jouw geval niet makkelijker uit de voeten met:
code:
1
2
3
4
5
| <form method="post">
<input type="button" value="Excel"
onclick = "hint_wnd = window.open('file://d:/program files/excel/excel.exe', 'popper', 'width=50, height=60, resizable=no, scrollbars=no' );
return true;">
</form> |
overigens, nu veiligheid

toch ter sprake is:
JAVASCRIPT:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
| <!--
function go_to_clsid()
{
i=document.formclsid.menuclsid.selectedIndex;
url=document.formclsid.menuclsid.options[i].value;
window.open(url,"_blank","width=" + (document.body.clientWidth-200) + ", height=" + (document.body.clientHeight-170) + ", toolbar=yes, directories=no, frame=yes, titel=yes, location=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, left=0,top=23");
}
document.write("<form method='POST' name='formclsid'>");
document.write("<SELECT NAME='menuclsid' onChange='go_to_clsid();' size='1' align='right' title='Open External Link'>");
document.write("<option value='' selected>CLSID:</option>");
document.write("<option value='file:///::{871C5380-42A0-1069-A2EA-08002B30309D}'>Internet Explorer</option>");
document.write("<option value='file:///::{208D2C60-3AEA-1069-A2D7-08002B30309D}'>Netwerkomgeving</option>");
document.write("<option value='file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}'>Configuratiescherm</option>");
document.write("<option value='file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{992CFFA0-F557-101A-88EC-00DD010CCC48}'>Externe toegang</option>");
document.write("<option value='file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}'>Deze Computer</option>");
document.write("<option value='file:///::{645FF040-5081-101B-9F08-00AA002F954E}'>Prullenbak</option>");
document.write("<option value=''>--------------</option>");
document.write("<option value='file://d:\win98\explorer.exe'>explorer</option>");
document.write("<option value='file:///::{00020D75-0000-0000-C000-000000000046}'>inbox</option>");
document.write("<option value='file:///::{00021400-0000-0000-C000-000000000046}'>buroblad</option>");
document.write("<option value='file:///::{21EC2020-3AEA-1069-A2DD-08002B30309D}'>controlpanel</option>");
document.write("<option value='file:///::{2227A280-3AEA-1069-A2DE-08002B30309D}'>printers</option>");
document.write("<option value='file:///::{A4D92740-67CD-11CF-96F2-00AA00A11DD9}'>dial-up networking</option>");
document.write("<option value='file:///::{BD84B380-8CA2-1069-AB1D-08000948F534}'>fonts</option>");
document.write("<option value='file:///::{00020D75-0000-0000-C000-000000000046}'>outlook</option>");
document.write("<option value='file:///::{F5175861-2688-11d0-9C5E-00AA00A45957}'>subscriptions</option>");
document.write("<option value='file:///::{FF393560-C2A7-11CF-BFF4-444553540000}'>url history folder</option>");
document.write("<option value='file:///::{85BBD920-42A0-1069-A2E4-08002B30309D}'>briefcase</option>");
document.write("<option value='file:///::{7BD29E00-76C1-11CF-9DD0-00A0C9034933}'>internet cache folder</option>");
document.write("<option value='file:///::{88C6C381-2E85-11D0-94DE-444553540000}'>activex cache folder</option>");
document.write("<option value='file://d:\win98\rundll32.exe d:\win98\system\shell32.dll,SHExitWindowsEx'>shexitwindowsex</option>");
document.write("<option value='file://d:\win98\control.exe d:\win98\system\main.cpl @0'>control main.cpl</option>");
document.write("</select>");
document.write("</form>");
// --> |