Original title:
Analýza skriptů pro účely shlukové analýzy
Translated title:
Analysis of Scripts for Use in Clustering
Authors:
Planička, Michal ; Burgetová, Ivana (referee) ; Křivka, Zbyněk (advisor) Document type: Bachelor's theses
Year:
2019
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Tato práce se zabývá analýzou různých typů skriptů a extrakcí vlastností, které mohou být použity ke shlukové analýze prováděné službou Clusty. Vstupem analyzátoru je soubor obsahující zdrojový kód skriptu. Soubor je nejprve dekódován, poté je na základě jeho obsahu určen typ skriptu. Jedná-li se o podporovaný typ skriptu, dojde k analýze zdrojového souboru. Výsledkem analýzy je kolekce vlastností, která je následně převedena do požadovaného formátu (např. JSON). Analyzátor podporuje pět typů skriptů - JavaScript, VBScript, PowerShell, Python a dávkový soubor - přičemž byl navržen tak, aby jej bylo možné rozšířit o nové typy.
This paper deals with the analysis of various script types and the extraction of traits which can be used for the cluster analysis performed by Clusty service. A file containing source code of the script serves as an input of the analyzer. The file is decoded and its content is then used for identifying the script type. If the script type is successfully identified, the analysis of the source code will be performed. The result of the analysis is a collection of traits which is then represented in the desired format (e.g. JSON). There are five supported types of scripts: JavaScript, VBScript, PowerShell, Python and batch file. The analyzer is designed such that support for new script types can be added.
Keywords:
analýza; batch file; cluster analysis; clustering; Javascript; Powershell; Python; scripting languages; VBScript; analýza; dávkový soubor; Javascript; Powershell; Python; shluková analýza; shlukování; skriptovací jazyky; VBScript
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/180214