diff --git a/Project perparation/LaTeX file/General_Research_Review.aux b/Project perparation/LaTeX file/General_Research_Review.aux new file mode 100644 index 0000000000000000000000000000000000000000..2f828935d58ad10f9ab6550b5b040efeda7f792f --- /dev/null +++ b/Project perparation/LaTeX file/General_Research_Review.aux @@ -0,0 +1,29 @@ +\relax +\@writefile{toc}{\contentsline {section}{\numberline {I}Introduction}{1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {II}Background}{1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces percentage of different vulnerabilities been found in 2019}}{1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {III}XSS attack and possible consequence}{1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {IV}Type of XSS attack}{1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {IV-A}}persistent XSS attack}{1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {IV-B}}non-persistent XSS attack}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {IV-C}}DOM-based XSS attack}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {V}Different approaches to protect the system from XSS attack }{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {V-A}}Pattern filtering for user input}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {V-B}}client side pattern matching technique}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {V-C}}server side approach}{3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {V-D}}static analysis method}{3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {\mbox {V-E}}static analysis combined with dynamic analysis}{3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {VI}Conclusion}{3}\protected@file@percent } +\bibcite{reference 1}{1} +\bibcite{reference 2}{2} +\bibcite{reference 3}{3} +\bibcite{reference 4}{4} +\bibcite{reference 5}{5} +\bibcite{reference 6}{6} +\bibcite{reference 7}{7} +\bibcite{reference 8}{8} +\bibcite{reference 9}{9} +\bibcite{reference 10}{10} +\bibcite{reference 11}{11} +\bibcite{reference 12}{12} +\@writefile{toc}{\contentsline {section}{References}{4}\protected@file@percent } diff --git a/Project perparation/LaTeX file/General_Research_Review.log b/Project perparation/LaTeX file/General_Research_Review.log new file mode 100644 index 0000000000000000000000000000000000000000..da66330b9481ade9cddc349faef04e561837a530 --- /dev/null +++ b/Project perparation/LaTeX file/General_Research_Review.log @@ -0,0 +1,729 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7400 64-bit) (preloaded format=pdflatex 2020.4.27) 31 JUL 2020 10:58 +entering extended mode +**"D:/Vakama个人/SOTON/Semester 2/MScProject@git.soton.ac.uk/A detection meth +od for cross-site scripting/Project perparation/LaTeX file/General_Research_Rev +iew.tex" + +("D:/Vakama个人/SOTON/Semester 2/MScProject@git.soton.ac.uk/A detection metho +d for cross-site scripting/Project perparation/LaTeX file/General_Research_Revi +ew.tex" +LaTeX2e <2020-02-02> patch level 5 +L3 programming layer <2020-04-06> (IEEEtran.cls +Document Class: IEEEtran 2007/03/05 V1.7a by Michael Shell +-- See the "IEEEtran_HOWTO" manual for usage information. +-- http://www.michaelshell.org/tex/ieeetran/ +\@IEEEtrantmpdimenA=\dimen134 +\@IEEEtrantmpdimenB=\dimen135 +\@IEEEtrantmpcountA=\count167 +\@IEEEtrantmpcountB=\count168 +\@IEEEtrantmptoksA=\toks15 +LaTeX Font Info: Trying to load font information for OT1+ptm on input line 3 +66. +("C:\Program Files\MiKTeX 2.9\tex/latex/psnfss\ot1ptm.fd" +File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. +) +-- Using 8.5in x 11in (letter) paper. +-- Using PDF output. +\@IEEEnormalsizeunitybaselineskip=\dimen136 +-- This is a 10 point document. +\CLASSINFOnormalsizebaselineskip=\dimen137 +\CLASSINFOnormalsizeunitybaselineskip=\dimen138 +\IEEEnormaljot=\dimen139 +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <5> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <5> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <7> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <8> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <9> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <10> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <11> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <11> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <12> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <17> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <17> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <20> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <20> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <24> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <24> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +\IEEEilabelindentA=\dimen140 +\IEEEilabelindentB=\dimen141 +\IEEEilabelindent=\dimen142 +\IEEEelabelindent=\dimen143 +\IEEEdlabelindent=\dimen144 +\IEEElabelindent=\dimen145 +\IEEEiednormlabelsep=\dimen146 +\IEEEiedmathlabelsep=\dimen147 +\IEEEiedtopsep=\skip47 +\c@section=\count169 +\c@subsection=\count170 +\c@subsubsection=\count171 +\c@paragraph=\count172 +\c@IEEEsubequation=\count173 +\abovecaptionskip=\skip48 +\belowcaptionskip=\skip49 +\c@figure=\count174 +\c@table=\count175 +\@IEEEeqnnumcols=\count176 +\@IEEEeqncolcnt=\count177 +\@IEEEtmpitemindent=\dimen148 +\c@IEEEbiography=\count178 +\@IEEEtranrubishbin=\box45 +) ("C:\Program Files\MiKTeX 2.9\tex/latex/pgf-pie\pgf-pie.sty" +Package: pgf-pie 2011/10/02 v0.2 Some LaTeX macros for pie chart by using PGF/T +ikz package. + +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/frontendlayer\tikz.sty" +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/basiclayer\pgf.sty" +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/utilities\pgfrcs.sty" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgfutil-common.tex" +\pgfutil@everybye=\toks16 +\pgfutil@tempdima=\dimen149 +\pgfutil@tempdimb=\dimen150 + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgfutil-common-lists.te +x")) ("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgfutil-latex.def" +\pgfutil@abb=\box46 +("C:\Program Files\MiKTeX 2.9\tex/latex/ms\everyshi.sty" +Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS) +)) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgfrcs.code.tex" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf\pgf.revision.tex") +Package: pgfrcs 2020/01/08 v3.1.5b (3.1.5b) +)) +Package: pgf 2020/01/08 v3.1.5b (3.1.5b) + +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/basiclayer\pgfcore.sty" +("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\graphicx.sty" +Package: graphicx 2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR) + +("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\keyval.sty" +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks17 +) +("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\graphics.sty" +Package: graphics 2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR) + +("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\trig.sty" +Package: trig 2016/01/03 v1.10 sin cos tan (DPC) +) +("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-cfg\graphics.cfg" +File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration +) +Package graphics Info: Driver file: pdftex.def on input line 105. + +("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-def\pdftex.def" +File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex +)) +\Gin@req@height=\dimen151 +\Gin@req@width=\dimen152 +) +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/systemlayer\pgfsys.sty" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/systemlayer\pgfsys.code.tex" +Package: pgfsys 2020/01/08 v3.1.5b (3.1.5b) + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgfkeys.code.tex" +\pgfkeys@pathtoks=\toks18 +\pgfkeys@temptoks=\toks19 + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgfkeysfiltered.code.te +x" +\pgfkeys@tmptoks=\toks20 +)) +\pgf@x=\dimen153 +\pgf@y=\dimen154 +\pgf@xa=\dimen155 +\pgf@ya=\dimen156 +\pgf@xb=\dimen157 +\pgf@yb=\dimen158 +\pgf@xc=\dimen159 +\pgf@yc=\dimen160 +\pgf@xd=\dimen161 +\pgf@yd=\dimen162 +\w@pgf@writea=\write3 +\r@pgf@reada=\read2 +\c@pgf@counta=\count179 +\c@pgf@countb=\count180 +\c@pgf@countc=\count181 +\c@pgf@countd=\count182 +\t@pgf@toka=\toks21 +\t@pgf@tokb=\toks22 +\t@pgf@tokc=\toks23 +\pgf@sys@id@count=\count183 + ("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/systemlayer\pgf.cfg" +File: pgf.cfg 2020/01/08 v3.1.5b (3.1.5b) +) +Driver file for pgf: pgfsys-pdftex.def + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/systemlayer\pgfsys-pdftex.def" +File: pgfsys-pdftex.def 2020/01/08 v3.1.5b (3.1.5b) + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/systemlayer\pgfsys-common-pdf.def +" +File: pgfsys-common-pdf.def 2020/01/08 v3.1.5b (3.1.5b) +))) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/systemlayer\pgfsyssoftpath.code.t +ex" +File: pgfsyssoftpath.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfsyssoftpath@smallbuffer@items=\count184 +\pgfsyssoftpath@bigbuffer@items=\count185 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/systemlayer\pgfsysprotocol.code.t +ex" +File: pgfsysprotocol.code.tex 2020/01/08 v3.1.5b (3.1.5b) +)) ("C:\Program Files\MiKTeX 2.9\tex/latex/xcolor\xcolor.sty" +Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK) + +("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-cfg\color.cfg" +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package xcolor Info: Driver file: pdftex.def on input line 225. +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352. +Package xcolor Info: Model `RGB' extended on input line 1364. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371. +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcore.code.tex" +Package: pgfcore 2020/01/08 v3.1.5b (3.1.5b) + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmath.code.tex" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathcalc.code.tex" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathutil.code.tex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathparser.code.tex" +\pgfmath@dimen=\dimen163 +\pgfmath@count=\count186 +\pgfmath@box=\box47 +\pgfmath@toks=\toks24 +\pgfmath@stack@operand=\toks25 +\pgfmath@stack@operation=\toks26 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.code.tex" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.basic.code. +tex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.trigonometr +ic.code.tex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.random.code +.tex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.comparison. +code.tex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.base.code.t +ex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.round.code. +tex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.misc.code.t +ex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfunctions.integerarit +hmetics.code.tex"))) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmathfloat.code.tex" +\c@pgfmathroundto@lastzeros=\count187 +)) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfint.code.tex") +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorepoints.code.tex +" +File: pgfcorepoints.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@picminx=\dimen164 +\pgf@picmaxx=\dimen165 +\pgf@picminy=\dimen166 +\pgf@picmaxy=\dimen167 +\pgf@pathminx=\dimen168 +\pgf@pathmaxx=\dimen169 +\pgf@pathminy=\dimen170 +\pgf@pathmaxy=\dimen171 +\pgf@xx=\dimen172 +\pgf@xy=\dimen173 +\pgf@yx=\dimen174 +\pgf@yy=\dimen175 +\pgf@zx=\dimen176 +\pgf@zy=\dimen177 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorepathconstruct.c +ode.tex" +File: pgfcorepathconstruct.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@path@lastx=\dimen178 +\pgf@path@lasty=\dimen179 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorepathusage.code. +tex" +File: pgfcorepathusage.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@shorten@end@additional=\dimen180 +\pgf@shorten@start@additional=\dimen181 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorescopes.code.tex +" +File: pgfcorescopes.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfpic=\box48 +\pgf@hbox=\box49 +\pgf@layerbox@main=\box50 +\pgf@picture@serial@count=\count188 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcoregraphicstate.co +de.tex" +File: pgfcoregraphicstate.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgflinewidth=\dimen182 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcoretransformations +.code.tex" +File: pgfcoretransformations.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@pt@x=\dimen183 +\pgf@pt@y=\dimen184 +\pgf@pt@temp=\dimen185 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorequick.code.tex" +File: pgfcorequick.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcoreobjects.code.te +x" +File: pgfcoreobjects.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorepathprocessing. +code.tex" +File: pgfcorepathprocessing.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorearrows.code.tex +" +File: pgfcorearrows.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfarrowsep=\dimen186 +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcoreshade.code.tex" +File: pgfcoreshade.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@max=\dimen187 +\pgf@sys@shading@range@num=\count189 +\pgf@shadingcount=\count190 +) ("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcoreimage.code.te +x" +File: pgfcoreimage.code.tex 2020/01/08 v3.1.5b (3.1.5b) + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcoreexternal.code.t +ex" +File: pgfcoreexternal.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfexternal@startupbox=\box51 +)) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorelayers.code.tex +" +File: pgfcorelayers.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcoretransparency.co +de.tex" +File: pgfcoretransparency.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorepatterns.code.t +ex" +File: pgfcorepatterns.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/basiclayer\pgfcorerdf.code.tex" +File: pgfcorerdf.code.tex 2020/01/08 v3.1.5b (3.1.5b) +))) ("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/modules\pgfmoduleshapes.code. +tex" +File: pgfmoduleshapes.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfnodeparttextbox=\box52 +) ("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/modules\pgfmoduleplot.code.tex" +File: pgfmoduleplot.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/compatibility\pgfcomp-version-0-65. +sty" +Package: pgfcomp-version-0-65 2020/01/08 v3.1.5b (3.1.5b) +\pgf@nodesepstart=\dimen188 +\pgf@nodesepend=\dimen189 +) +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/compatibility\pgfcomp-version-1-18. +sty" +Package: pgfcomp-version-1-18 2020/01/08 v3.1.5b (3.1.5b) +)) ("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/utilities\pgffor.sty" +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/utilities\pgfkeys.sty" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgfkeys.code.tex")) +("C:\Program Files\MiKTeX 2.9\tex/latex/pgf/math\pgfmath.sty" +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmath.code.tex")) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/utilities\pgffor.code.tex" +Package: pgffor 2020/01/08 v3.1.5b (3.1.5b) + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/math\pgfmath.code.tex") +\pgffor@iter=\dimen190 +\pgffor@skip=\dimen191 +\pgffor@stack=\toks27 +\pgffor@toks=\toks28 +)) +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/frontendlayer/tikz\tikz.code.tex" +Package: tikz 2020/01/08 v3.1.5b (3.1.5b) + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/libraries\pgflibraryplothandlers. +code.tex" +File: pgflibraryplothandlers.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@plot@mark@count=\count191 +\pgfplotmarksize=\dimen192 +) +\tikz@lastx=\dimen193 +\tikz@lasty=\dimen194 +\tikz@lastxsaved=\dimen195 +\tikz@lastysaved=\dimen196 +\tikz@lastmovetox=\dimen197 +\tikz@lastmovetoy=\dimen198 +\tikzleveldistance=\dimen199 +\tikzsiblingdistance=\dimen256 +\tikz@figbox=\box53 +\tikz@figbox@bg=\box54 +\tikz@tempbox=\box55 +\tikz@tempbox@bg=\box56 +\tikztreelevel=\count192 +\tikznumberofchildren=\count193 +\tikznumberofcurrentchild=\count194 +\tikz@fig@count=\count195 + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/modules\pgfmodulematrix.code.tex" +File: pgfmodulematrix.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfmatrixcurrentrow=\count196 +\pgfmatrixcurrentcolumn=\count197 +\pgf@matrix@numberofcolumns=\count198 +) +\tikz@expandcount=\count199 + +("C:\Program Files\MiKTeX 2.9\tex/generic/pgf/frontendlayer/tikz/libraries\tikz +librarytopaths.code.tex" +File: tikzlibrarytopaths.code.tex 2020/01/08 v3.1.5b (3.1.5b) +))) +("C:\Program Files\MiKTeX 2.9\tex/latex/base\ifthen.sty" +Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC) +) +("C:\Program Files\MiKTeX 2.9\tex/latex/carlisle\scalefnt.sty") +\pgfpie@angleEnd=\skip50 +\c@pgfpie@explodeLength=\count266 +\c@pgfpie@colorLength=\count267 +\c@pgfpie@sliceLength=\count268 +) +("C:\Program Files\MiKTeX 2.9\tex/latex/url\url.sty" +\Urlmuskip=\muskip16 +Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. +) +("C:\Program Files\MiKTeX 2.9\tex/latex/listings\listings.sty" +\lst@mode=\count269 +\lst@gtempboxa=\box57 +\lst@token=\toks29 +\lst@length=\count270 +\lst@currlwidth=\dimen257 +\lst@column=\count271 +\lst@pos=\count272 +\lst@lostspace=\dimen258 +\lst@width=\dimen259 +\lst@newlines=\count273 +\lst@lineno=\count274 +\lst@maxwidth=\dimen260 + +("C:\Program Files\MiKTeX 2.9\tex/latex/listings\lstmisc.sty" +File: lstmisc.sty 2020/03/24 1.8d (Carsten Heinz) +\c@lstnumber=\count275 +\lst@skipnumbers=\count276 +\lst@framebox=\box58 +) +("C:\Program Files\MiKTeX 2.9\tex/latex/listings\listings.cfg" +File: listings.cfg 2020/03/24 1.8d listings configuration +)) +Package: listings 2020/03/24 1.8d (Carsten Heinz) + +("C:\Program Files\MiKTeX 2.9\tex/latex/l3backend\l3backend-pdfmode.def" +File: l3backend-pdfmode.def 2020-03-12 L3 backend support: PDF mode +\l__kernel_color_stack_int=\count277 +\l__pdf_internal_box=\box59 +) +(General_Research_Review.aux) +\openout1 = `General_Research_Review.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 24. +LaTeX Font Info: ... okay on input line 24. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 24. +LaTeX Font Info: ... okay on input line 24. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 24. +LaTeX Font Info: ... okay on input line 24. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 24. +LaTeX Font Info: ... okay on input line 24. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 24. +LaTeX Font Info: ... okay on input line 24. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 24. +LaTeX Font Info: ... okay on input line 24. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 24. +LaTeX Font Info: ... okay on input line 24. + ABD: EveryShipout initializing macros +("C:\Program Files\MiKTeX 2.9\tex/context/base/mkii\supp-pdf.mkii" +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count278 +\scratchdimen=\dimen261 +\scratchbox=\box60 +\nofMPsegments=\count279 +\nofMParguments=\count280 +\everyMPshowfont=\toks30 +\MPscratchCnt=\count281 +\MPscratchDim=\dimen262 +\MPnumerator=\count282 +\makeMPintoPDFobject=\count283 +\everyMPtoPDFconversion=\toks31 +) ("C:\Program Files\MiKTeX 2.9\tex/latex/epstopdf-pkg\epstopdf-base.sty" +Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf +Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 +85. +) +\c@lstlisting=\count284 +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no w in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no g in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no w in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no w in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no g in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no w in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ! in font nullfont! +Missing character: There is no 6 in font nullfont! +Missing character: There is no 0 in font nullfont! + +[1{C:/Users/toava/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map} + + +] +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <7> on input line 123. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <5> on input line 123. + [2] +[3] +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line 180. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line 180. + +Overfull \hbox (18.81326pt too wide) in paragraph at lines 190--191 +[]$[]$ + [] + +[4 + +] (General_Research_Review.aux) ) +Here is how much of TeX's memory you used: + 13990 strings out of 480896 + 279166 string characters out of 2908245 + 504549 words of memory out of 3000000 + 29658 multiletter control sequences out of 15000+200000 + 565742 words of font info for 80 fonts, out of 3000000 for 9000 + 1144 hyphenation exceptions out of 8191 + 68i,8n,64p,1136b,898s stack positions out of 5000i,500n,10000p,200000b,50000s +{C:/Program Files/MiKTeX 2.9/fonts/enc/dvips/b +ase/8r.enc}<C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.p +fb><C:/Program Files/MiKTeX 2.9/fonts/type1/urw/times/utmb8a.pfb><C:/Program Fi +les/MiKTeX 2.9/fonts/type1/urw/times/utmbi8a.pfb><C:/Program Files/MiKTeX 2.9/f +onts/type1/urw/times/utmr8a.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/urw/ti +mes/utmri8a.pfb> +Output written on General_Research_Review.pdf (4 pages, 87410 bytes). +PDF statistics: + 39 PDF objects out of 1000 (max. 8388607) + 0 named destinations out of 1000 (max. 500000) + 13 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/Project perparation/LaTeX file/General_Research_Review.pdf b/Project perparation/LaTeX file/General_Research_Review.pdf index ef1898f0d96a4ab0b4706ac1e98317ce14d345cc..21491cc7cf59ed439d948d5ab6a5b2c6faa01939 100644 Binary files a/Project perparation/LaTeX file/General_Research_Review.pdf and b/Project perparation/LaTeX file/General_Research_Review.pdf differ diff --git a/Project perparation/LaTeX file/General_Research_Review.synctex.gz b/Project perparation/LaTeX file/General_Research_Review.synctex.gz new file mode 100644 index 0000000000000000000000000000000000000000..94e360867dfd6df3f5adc30e0a60400601afd186 Binary files /dev/null and b/Project perparation/LaTeX file/General_Research_Review.synctex.gz differ diff --git a/Project perparation/LaTeX file/General_Research_Review.tex b/Project perparation/LaTeX file/General_Research_Review.tex index 88e2041ee180a94f089d4aa059497b4f7f222ca8..e09194af68c5180579424317112ca479cc5ba65d 100644 --- a/Project perparation/LaTeX file/General_Research_Review.tex +++ b/Project perparation/LaTeX file/General_Research_Review.tex @@ -38,6 +38,7 @@ \begin{abstract} + Cross-site scripting (XSS) attack is one of the most common used method to attack a digital system. It can hide itself in HTML, JavaScript and many other programming languages, with the ability to do anything from gaining information of the victim, to getting full control to the system been attacked. In oder to deal with this problem, many developer have figure out different way to protect a system from XSS attack. This paper listed several different approach to counter XSS attack and discuss their strengths and weaknesses. diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/action_provision b/code/Vagrant/.vagrant/machines/target/virtualbox/action_provision new file mode 100644 index 0000000000000000000000000000000000000000..441f372d49de3a4ee73e330a81d718e5c9399a8d --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/action_provision @@ -0,0 +1 @@ +1.5:ab478d36-ada0-43a1-9b7e-190c74fec3a6 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/action_set_name b/code/Vagrant/.vagrant/machines/target/virtualbox/action_set_name new file mode 100644 index 0000000000000000000000000000000000000000..8898fb0f84b10a0ec1f4e0c8593c31c392d589ce --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/action_set_name @@ -0,0 +1 @@ +1596370155 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/box_meta b/code/Vagrant/.vagrant/machines/target/virtualbox/box_meta new file mode 100644 index 0000000000000000000000000000000000000000..92e8197641236eb3393ee06ef57a1a4a487f6594 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/box_meta @@ -0,0 +1 @@ +{"name":"ubuntu/trusty64","version":"0","provider":"virtualbox","directory":"boxes/ubuntu-VAGRANTSLASH-trusty64/0/virtualbox"} \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/creator_uid b/code/Vagrant/.vagrant/machines/target/virtualbox/creator_uid new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/creator_uid @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/id b/code/Vagrant/.vagrant/machines/target/virtualbox/id new file mode 100644 index 0000000000000000000000000000000000000000..90b3b8fd6c1b7ea4b11d33b302aef7ca94536086 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/id @@ -0,0 +1 @@ +ab478d36-ada0-43a1-9b7e-190c74fec3a6 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/index_uuid b/code/Vagrant/.vagrant/machines/target/virtualbox/index_uuid new file mode 100644 index 0000000000000000000000000000000000000000..34f59586d26d32ecff61a0939ceed3f93468c4d1 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/index_uuid @@ -0,0 +1 @@ +720d8909c19d485aa9a888feebfd1d28 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/private_key b/code/Vagrant/.vagrant/machines/target/virtualbox/private_key new file mode 100644 index 0000000000000000000000000000000000000000..c8ba6d269a96740520fa6ceab3698145ba5a652e --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/private_key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpgIBAAKCAQEAxdjWq8GbysHhrr1vMgxfqf/iH0iRfLmmxfuAuj6qL2i/m5yn +YmWIei/vSVl0OlAIkPIYBZcfYH4OkD/hEXm77RrhGl9JOcS8mykmEv8c2yUQMCH/ +ylPx+Vg4fem3xlga4KCw6v41AgnOjqfObg6f4SxHzyU/veNqKWVGfGnzrPcg5yyJ +DmBMJeq4vqxakJ0HAVx6IAJvRrP9EKvyhwMHucqE47QiHKMWuWG2+s/oHd1whtcl +SsdvtzUXu6DdcN2OQ74SCBy9lCfdtUNWz4KczHESXCU/Xk8L3PiybGc8N7oObB5s +cmHz3udqLS/thVqqZSFX8Z9tG+2hp/t7DuFe2QIDAQABAoIBAQCXlsr0ksVxlxf6 +MP8P09dAg+SXn5yJeh3EOC2rhfQTmyikbGT7yVvGcw/enYGmZEgL9tJdBituXWd/ +MtKZ9zH8O8oZ0MRkVM9F+0NG7t0HM+CxYHuCZMtUBzpRj0/V0w/U6IploxyuUSFI +wF40iVQKzUi/+IRcU/C1gvl8vhmMffqOIGPa95emWqCJtvj2PlygWtsnP8HqVxc8 +l78XHa+MO/w5TxJzfjQFyKH/z1OIolO4ZE8SxNVa2fCTtWTBGm7bh5uY5u+za9ih +DTnjs2adLVbsUhxsJZolUcAnxBfcleCqDJ8pnVV2ZIq7M/iSrl2AH9P6WoQ+1BGy +wbkKZAq5AoGBAPpRdozrT1zUYaYfqnAIBCLOJntb0Ve7iMXNgZlC9BWxQI6sbFyn +BZs3g+9F400taFw6pjw9uppKHgKwb7wLZ+imYibUoqgJkGt4JZRhCfkNtGneIJyB +ZuZJsB05eWyh2NI2HwEf/Myq3UeWOnFuhNAQF6/YCtJoTS63O70Hw+6HAoGBAMpW +enqi4/nXZuurVl6AMunGF5T6hgWOh0qI/C5iwXMhP0AvFgjilJAnrRqR/rUFkyBL +idCtGlVCbqQpX4/z8pfj/KNisYoAm0eiPpZEMMjGeemL+L5SBadPIa+2Qb0wEgyL +Fwm7Ng+UZ8XTErVo6UlEHXzwFCr7xkuRbRoR2z+fAoGBAJgwERiqNA0nXtsmY3RL +m2Ah4AmeEE/7x7MjN8kbiNTreGmF8Tf/oAv3m7JM1l5k3g885Ta4/QuzRj2yUayN +brZm+kPLgb0SW4jLemWU/gA60daP41nj3tDiOj36ZJWkbPOZTg5cCVHSDEjq0EuI +uxzYu94ARswX990QMDTEVN5fAoGBAIcCFu1XXQiq+oiLpbCel9o2jCui0eRJSuqn +5qTIzk2UxJB+GpTJItnhL3bILYz58EafQJDVv/ldv1eYJ6R04M0KmdsnElGDwBiX +IG3BiE+fZ183Pz02m4EcotyMnuaueYyXDkM3AIZ6vpdYFGapXue9JHPl+X8IyjJI +EeVQPtv/AoGBAMtqXUHxHdt3zlFw4dohvfSEHUAyX4K49Fu79uedNVbBzs/FcL5k +wTgX78dVzSS/xkiC4A6mBouwoYfw3mJubgqnS5PazOmKMbLyiowM+6ExvycGR7mr +Z2v7iccU6nE/9J3du5PG1mjaDtBltadLEzl1NO8mpevToh/YsQXmKkj8 +-----END RSA PRIVATE KEY----- diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/synced_folders b/code/Vagrant/.vagrant/machines/target/virtualbox/synced_folders new file mode 100644 index 0000000000000000000000000000000000000000..4203fd626437ed2319cec3d7e46415367c88f54d --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/synced_folders @@ -0,0 +1 @@ +{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"D:/Vakama个人/SOTON/Semester 2/MScProject@git.soton.ac.uk/A detection method for cross-site scripting/code/Vagrant","disabled":false,"__vagrantfile":true}}} \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/target/virtualbox/vagrant_cwd b/code/Vagrant/.vagrant/machines/target/virtualbox/vagrant_cwd new file mode 100644 index 0000000000000000000000000000000000000000..29282a887fca39599fa05b5359d19f7815a97091 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/target/virtualbox/vagrant_cwd @@ -0,0 +1 @@ +D:/Vakama����/SOTON/Semester 2/MScProject@git.soton.ac.uk/A detection method for cross-site scripting/code/Vagrant \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/action_provision b/code/Vagrant/.vagrant/machines/test/virtualbox/action_provision new file mode 100644 index 0000000000000000000000000000000000000000..dd2c5a9d8c505f1984cb69ff6ce9ecedb2c32cd2 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/action_provision @@ -0,0 +1 @@ +1.5:79c8d7d4-3030-44c3-b1b5-9cdaf83f7672 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/action_set_name b/code/Vagrant/.vagrant/machines/test/virtualbox/action_set_name new file mode 100644 index 0000000000000000000000000000000000000000..74687dc022247a831e8fa1d2fe429ae7415756df --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/action_set_name @@ -0,0 +1 @@ +1596370114 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/box_meta b/code/Vagrant/.vagrant/machines/test/virtualbox/box_meta new file mode 100644 index 0000000000000000000000000000000000000000..17c62b46aea8375a6c2c54cd38f7735bbf60eedf --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/box_meta @@ -0,0 +1 @@ +{"name":"generic/ubuntu2004","version":"3.0.12","provider":"virtualbox","directory":"boxes/generic-VAGRANTSLASH-ubuntu2004/3.0.12/virtualbox"} \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/creator_uid b/code/Vagrant/.vagrant/machines/test/virtualbox/creator_uid new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/creator_uid @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/id b/code/Vagrant/.vagrant/machines/test/virtualbox/id new file mode 100644 index 0000000000000000000000000000000000000000..ed7660e80db95c489ca8cdd967ff85a212d17fd0 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/id @@ -0,0 +1 @@ +79c8d7d4-3030-44c3-b1b5-9cdaf83f7672 \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/index_uuid b/code/Vagrant/.vagrant/machines/test/virtualbox/index_uuid new file mode 100644 index 0000000000000000000000000000000000000000..8e0a2c13055ffb5c507601d175aaae166705c2b4 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/index_uuid @@ -0,0 +1 @@ +9c6d1ec02adb404485ff882d3acfeedb \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/private_key b/code/Vagrant/.vagrant/machines/test/virtualbox/private_key new file mode 100644 index 0000000000000000000000000000000000000000..2c6891ed2d803fcbb1547d02b189e22a48aebfbb --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/private_key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEogIBAAKCAQEAzTj7B6qg8P/pM8tme+HsjUUsbBkUbwAjZYtCOG0sbNwDd2vc +IgCc5eRbWAnPgClqvwHL09ElWD3vKJH1xpTD68W+NUb3cvb0fJZSjehuW4/j/YaT +D3ewbgb2TwljI+3dC6YITD4e50FG365BbMRX9zGcUmJHmSsO06iOWyEtolk71LWl +6VynPmVg5yYSq1cNfPJ2JrG4C+pD537qiBiOAWXyNw/HF3+OF2xbMcMdmVHp+XJL +RqVShT3DI+K3tgJw9TjsRT0S9IyKlunq2Qrp8SHSz092dxbAxeISpBU6laJMPXPJ +cNqgRkS1ybnVNmtW1CrxIUXuM3IEHUgYjNPktwIDAQABAoIBAGoJFPuDGCEtuQq/ +/7Xmp9jecvNvifVIdwGSkKajEh81Fr1vh5AyDN9jvCai+wnXXIZQoUZSfB858QZf +VEREvW5m/757aoOGQhDVgtY70DmTAVQPYpDNYOWYx09TJFx+HIZWRVdPiZwnSD1u +xfMzB9h7U6/lg+UKMGEAaH2BiRimYVVTuczuf3Dwb/rUNqFHPpByAI/UiT389rek +fDQR5aAtFHzflAD7aNXu83OIO6u/hSEeXHJ1gJbiSHzoLK1gZYcSAidcZ3KR8Co/ +EiG9lhXn8n3YvNERJalHAl7zPgJfwOK3dAgxmVSfMZkRwlduwE3iuaeydmv3Y8Fm +G8W9+zECgYEA8wLVFCcJsRlL9+vA1yDQduP2Oc6icuVPpGOGAShpG2PYiQroh38S +o0aXez+y9cGIiJQriBegDU9C+vmcso2qH7/e67ICctQ03LVOvT5vYZEQrHu2Kfjb +/Bt4Tm6Lnj9yWxq20lWlslGQrxk/6D1H/Y3VaYnUm2FG1en9lhwh71UCgYEA2DEU +wXkzV6TpQqxI/f2bQj6P7/FinqDNyNWcvXXlafszl4Qm//ckjapKsixO+I/tLa4C +JnjG+3tcDgqq1GIccxToOokcAEDPaRU/VdFIx/1gkrWsmi6fPIUuok9Zw11i4zD6 +kwsjBAO6jm+8iNp3UCrl9hJWtglUHOl5rPl1i9sCgYAMAanRcxRRgbR1LVq7xk1G +coDp3kG8d4P11Uz7pal7xvUd4EIY37hmBMjbOAx5g/Rg+yEjejdYMQBYMhkB4Wn0 +Y6B5+LOSRNXPyc14ICuUoHw4aWxYqokD7b+F8IRJb00RH0LFJaIoK0uAuzijGtQB +vQ48RqkQfD/ptcPntMAgeQKBgCgoxeBCsWTgf2whMNXtnD+r+3To9BbfbBqYg6s2 +EU2kmirVI6F8uU+PiJycWncV1Usc/c1DtkLU4X7CQIV/TCWchp8JBSiO4Xh1t/Qr +EkgEK0JVeSCS9IV7f/QqpVQDLvFhEcrq0LBYOPlojC8n1e4QafNR6MWb6gIM5Mta +85jtAoGAcdvamNKdJP7+ieWi+jUmi/Odv7dKm2ARNNVm5rXfwsZ2qG84/9mx2Flr +/xVyIbOmJfZ0FxsqGk4B+vY8nJYIp4O+0vu2E79t2kYu4w1Z5f++c9q0Y9ftPSj+ +gTYb1gzO0biHpyG+yBQn9307dHIKDVTboh/KERhcBPySauAhjIs= +-----END RSA PRIVATE KEY----- diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/synced_folders b/code/Vagrant/.vagrant/machines/test/virtualbox/synced_folders new file mode 100644 index 0000000000000000000000000000000000000000..e3275455b59a25be27a66f3d71e6b2f434ddfba5 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/synced_folders @@ -0,0 +1 @@ +{"virtualbox":{"/home/windows/sync":{"guestpath":"/home/windows/sync","hostpath":"D:/Vakama个人/SOTON/Semester 2/MScProject@git.soton.ac.uk/A detection method for cross-site scripting/code/Vagrant/sync","disabled":false,"__vagrantfile":true}}} \ No newline at end of file diff --git a/code/Vagrant/.vagrant/machines/test/virtualbox/vagrant_cwd b/code/Vagrant/.vagrant/machines/test/virtualbox/vagrant_cwd new file mode 100644 index 0000000000000000000000000000000000000000..29282a887fca39599fa05b5359d19f7815a97091 --- /dev/null +++ b/code/Vagrant/.vagrant/machines/test/virtualbox/vagrant_cwd @@ -0,0 +1 @@ +D:/Vakama����/SOTON/Semester 2/MScProject@git.soton.ac.uk/A detection method for cross-site scripting/code/Vagrant \ No newline at end of file diff --git a/code/Vagrant/Vagrantfile b/code/Vagrant/Vagrantfile index 9c889fc32c897d676f1544ecdcd85015f4e6a0aa..6696b183f64f4cd4e8e813864288e372ecdea0da 100644 --- a/code/Vagrant/Vagrantfile +++ b/code/Vagrant/Vagrantfile @@ -12,7 +12,47 @@ Vagrant.configure("2") do |config| # Every Vagrant development environment requires a box. You can search for # boxes at https://vagrantcloud.com/search. - config.vm.box = "generic/ubuntu2004" + + #config.vm.box = "generic/ubuntu2004" + + config.vm.define "test" do |test| + test.vm.box = "generic/ubuntu2004" + test.vm.provision :shell, inline: <<-SHELL + echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null + sudo apt install -y screenfetch + SHELL + test.vm.synced_folder "./sync", "/home/windows/sync" + end + + config.vm.define "target" do |target| + target.vm.box = "ubuntu/trusty64" + # http://127.0.0.1:8080/WebGoat for login to webgoat + # http://127.0.0.1:9090/WebWolf for login to webwolf + target.vm.network :forwarded_port, guest: 8080, host: 8080 + target.vm.network :forwarded_port, guest: 9090, host: 9090 + + target.vm.provider "virtualbox" do |vb| + vb.gui = false + vb.memory = "4096" + vb.cpus = 2 + vb.name = "WebGoat-Training" + vb.customize ["modifyvm", :id, "--nictype1", "virtio"] + end + + target.vm.provision "shell", inline: <<-SHELL + wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.M25/webgoat-server-8.0.0.M25.jar + wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.M25/webwolf-8.0.0.M25.jar + sudo add-apt-repository ppa:openjdk-r/ppa + sudo apt-get update + sudo apt-get install openjdk-11-jre -y + SHELL + + target.vm.provision "shell", run: "always", privileged: false, inline: <<-SHELL + java -jar webgoat-server-8.0.0.M25.jar --server.address=0.0.0.0 & + sleep 40s + java -jar webwolf-8.0.0.M25.jar --server.address=0.0.0.0 & + SHELL + end # Disable automatic box update checking. If you disable this, then # boxes will only be checked for updates when the user runs @@ -44,7 +84,7 @@ Vagrant.configure("2") do |config| # the path on the guest to mount the folder. And the optional third # argument is a set of non-required options. # config.vm.synced_folder "../data", "/vagrant_data" - config.vm.synced_folder "./sync", "/home/windows/sync" + # Provider-specific configuration so you can fine-tune various # backing providers for Vagrant. These expose provider-specific options. @@ -68,8 +108,9 @@ Vagrant.configure("2") do |config| # apt-get update # apt-get install -y apache2 # SHELL - config.vm.provision :shell, inline: <<-SHELL - sudo apt install -y screenfetch - SHELL + + #config.vm.provision :shell, inline: <<-SHELL + # sudo apt install -y screenfetch + #SHELL end